PUT StateTypes
Updates the given state type.
Request Information
URI Parameters
None.
Body Parameters
State type to update
StateTypeName | 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": "c20bc668-9491-45b7-8692-adef007f28ac", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "29e3626f-72d8-47c5-b5a5-29915470580b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f9c1db33-67d6-4a9c-b29c-11c21eec6956", "CreateDate": "2025-06-30T13:13:47.9358187-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-30T13:13:47.9358187-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "448fc4eb-f2a7-4ef5-abdf-5c3ef1452f27", "CreateDate": "2025-06-30T13:13:47.9358187-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T13:13:47.9358187-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": "c56b1d47-e46f-4cdc-b236-3fcde706d4db", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "563dbc3c-f0b0-4018-a96c-c29e5a743ee0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a1b8fb21-c0b7-4b96-b834-94bd5940c207", "CreateDate": "2025-06-30T13:13:47.9358187-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-30T13:13:47.9358187-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "8b4ba81c-49b4-4196-910f-7dec20dba65a", "CreateDate": "2025-06-30T13:13:47.9358187-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T13:13:47.9358187-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }