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": "e3832ee4-c44d-48c3-a969-16fd9b733203",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "fa64e9e7-b326-48f3-a40e-0e209d5f6421",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "11b9b71b-fac0-4f3f-8390-9ba741cde7af",
"CreateDate": "2026-09-18T17:53:40.7263584-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-18T17:53:40.7263584-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ea68412b-0753-49e9-afd8-292ca395be1d",
"CreateDate": "2026-09-18T17:53:40.7263584-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-18T17:53:40.7263584-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": "7e3cdd32-0e35-4bcd-b54e-ef7c4299f097",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "02291fd6-dd41-4e6a-ab6a-6cc535ece4de",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0262076f-7a49-49ab-8288-1c8a500d9264",
"CreateDate": "2026-09-18T17:53:40.7263584-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-18T17:53:40.7263584-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "98934792-83d0-47d1-aecd-793fa89135e3",
"CreateDate": "2026-09-18T17:53:40.7263584-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-18T17:53:40.7263584-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}