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": "db6a9e8e-ec1c-4b93-a37e-7be1ae5b0c91",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9a36acff-02cb-447a-8427-94b25f10081b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "73a57a01-cb00-4dac-bd8d-8cf5f2ef8c62",
"CreateDate": "2026-10-23T05:41:21.4556597-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-23T05:41:21.4556597-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "970d7741-7c49-4d68-a7f4-d8d650abf9cf",
"CreateDate": "2026-10-23T05:41:21.4556597-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-23T05:41:21.4556597-07: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": "4ea77e16-652c-42a7-9f16-15953bb2e6a1",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0fc94358-2e5f-40d1-ac20-b4a67140511f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bb08e7ef-6b4f-4ae1-a4ed-c3f1b35e5660",
"CreateDate": "2026-10-23T05:41:21.4556597-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-23T05:41:21.4556597-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "50b91082-2ad7-4ac0-bf34-aaf1d8852d50",
"CreateDate": "2026-10-23T05:41:21.4556597-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-23T05:41:21.4556597-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}