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": "a2840cf8-e151-496a-ac13-6b086afe3299",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ee433f7d-4eaf-49dd-80c6-ce44ab5353d1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3b572dbb-78c7-456e-9c89-5b4d639ebe3f",
"CreateDate": "2026-04-18T00:20:01.3743305-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T00:20:01.3743305-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "15f32902-57d5-4c5a-8c9a-d7597c4acb5c",
"CreateDate": "2026-04-18T00:20:01.3743305-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T00:20:01.3743305-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": "0b5b2bf9-1c10-469b-b14d-1acf2fd9b9e6",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "926ed3d1-19df-42ce-a7b7-b05cbe9735e1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba392dcc-0708-4839-9ec2-6ecaf35c9979",
"CreateDate": "2026-04-18T00:20:01.3743305-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T00:20:01.3743305-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e7367ec2-d7ad-4edb-a587-b20aa827608a",
"CreateDate": "2026-04-18T00:20:01.3743305-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T00:20:01.3743305-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}