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": "30c86e88-488e-4d4f-92bb-13ca3ea330c7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ef02db8c-e814-4f68-a1ab-3ac2f8ea29dd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e64a16ce-0523-4a00-bc37-fa09972808c4",
"CreateDate": "2026-02-15T08:59:54.3045579-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T08:59:54.3045579-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "027ce456-30c9-48a0-b1d1-edb06525a5ac",
"CreateDate": "2026-02-15T08:59:54.3045579-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T08:59:54.3045579-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": "e7756fc7-2fc4-4792-8331-59b006c0719e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a3e10010-f813-4b2e-91d1-a0ead116285e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "606a8c39-f525-4ed3-a61f-fbb224d93898",
"CreateDate": "2026-02-15T08:59:54.3045579-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T08:59:54.3045579-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "bd002570-35c4-40fd-9ddd-fe0a4a8ad20a",
"CreateDate": "2026-02-15T08:59:54.3045579-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T08:59:54.3045579-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}