PUT StateTypes
Updates the given state type.
Request Information
URI Parameters
None.
Body Parameters
State type to update
StateType| Name | Description | Type | Additional information |
|---|---|---|---|
| StateTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| IsOperational | boolean |
None. |
|
| AssetType | AssetType |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StateTypeId": "db670bc7-e667-4fb2-b05d-8a2b21fcfe06",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "31e3b540-7317-4906-b215-e2157372ce51",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a26425bb-00b9-4988-9513-9cd14b73d007",
"CreateDate": "2026-02-02T01:53:47.4374892-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T01:53:47.4374892-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "56bdf2b0-b88a-4623-8a19-caac8e23a0db",
"CreateDate": "2026-02-02T01:53:47.4374892-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T01:53:47.4374892-08:00",
"LastModifiedUser": "sample string 6"
}
Response Information
Resource Description
On success, the updated state type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | StateType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"StateTypeId": "502252d0-cfad-44be-b824-e9a1e29d99cc",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "418899d2-3ccc-4686-a0b8-f7e8de0b2b2c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8d28a9b5-c562-4e06-aef0-c94fbaf5fb8a",
"CreateDate": "2026-02-02T01:53:47.4374892-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T01:53:47.4374892-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "dd9b5931-37bf-451f-8ac8-c5ff2b0e1385",
"CreateDate": "2026-02-02T01:53:47.4374892-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T01:53:47.4374892-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}