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": "46f345b3-52bc-4f29-91e2-a283b17c9d93",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "d27566f0-39b9-43b8-ac95-890130c4085c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4bcc401c-303b-4a4d-ad9d-da990b5f3828",
"CreateDate": "2026-11-12T07:47:13.326686-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T07:47:13.326686-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "732fa9cf-926c-4a83-aa2a-d1e4586634f8",
"CreateDate": "2026-11-12T07:47:13.326686-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:47:13.326686-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": "3239ecc6-bfda-4be7-be14-dae92b82863f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f617906c-2cb7-4708-aaba-146f9c01d966",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "09bd1451-259c-4d3d-a9b7-67cc7931451e",
"CreateDate": "2026-11-12T07:47:13.326686-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T07:47:13.326686-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e8bff07b-7401-46c8-8837-36d31203b198",
"CreateDate": "2026-11-12T07:47:13.326686-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:47:13.326686-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}