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": "41a059d9-c1c6-43c2-abba-ed4ebb7c65da",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "014d3814-5781-4090-b003-f2fea696268e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2d57ff73-51af-4c55-ad4d-3e937d1753be",
"CreateDate": "2026-03-30T16:48:21.3141409-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:48:21.3141409-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7b68881f-84ac-4067-8a23-f2eb8cd5c7fb",
"CreateDate": "2026-03-30T16:48:21.3141409-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:48:21.3141409-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": "1700d87e-b434-4b0a-bca9-8c4af78fa3e0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8de07ef5-3a75-4572-9909-456ac3b33492",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d9b5aa57-6881-41f3-b9b8-73fc593a3c2f",
"CreateDate": "2026-03-30T16:48:21.3141409-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:48:21.3141409-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d448acc7-d7fe-4b7e-8eb0-337fd3c28294",
"CreateDate": "2026-03-30T16:48:21.3141409-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:48:21.3141409-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}