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": "2abfbad1-492d-436d-9ea6-1199a044d103", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "5763dde7-7f8a-4b49-a5bb-9fa84f3cc68f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4175aec5-2fb1-463d-b27b-3d2a9192a79f", "CreateDate": "2025-03-09T08:36:05.7914046-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:36:05.7914046-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "3d157836-024b-477d-a889-6e752f354d46", "CreateDate": "2025-03-09T08:36:05.7914046-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:36:05.7914046-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": "bac84408-7b6c-42fc-8514-b198e9129672", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1a84c2ca-3a46-4896-833a-917207de0697", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2f53b00d-468e-4f2d-a4dc-f40b565b67a4", "CreateDate": "2025-03-09T08:36:05.8070235-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:36:05.8070235-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "05b2c51f-5ad3-4f67-934a-179113a2ae7a", "CreateDate": "2025-03-09T08:36:05.8070235-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:36:05.8070235-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }