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": "f3cf1c00-22cb-474c-85c0-85f2a432022a",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "70519734-ec04-4ced-a621-2858be76178c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7b2106ae-6640-4a3a-b41c-093d1ecc1d47",
"CreateDate": "2025-10-13T15:29:46.9338619-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-10-13T15:29:46.9338619-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e438f6f5-7c90-44cd-abaf-ff49e2e412b9",
"CreateDate": "2025-10-13T15:29:46.9338619-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-13T15:29:46.9338619-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": "63e62460-5afe-4afa-b21f-8dc0054ffb7e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8665fce9-f48b-44b8-bcf3-4cdc8672bf70",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4c3bb496-8a6a-41ad-a369-1090fc7202d0",
"CreateDate": "2025-10-13T15:29:46.9338619-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-10-13T15:29:46.9338619-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "748b9d1e-0ac3-406d-87b7-4d9418b217da",
"CreateDate": "2025-10-13T15:29:46.9338619-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-13T15:29:46.9338619-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}