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": "bda2bd8e-bd00-4fc3-9c90-7ca1b7178065", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "296f568b-56a5-4340-96cd-042b5911629d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ed7b484f-01a3-4ad1-8d7f-a7b3ebf8e9c5", "CreateDate": "2024-12-21T19:18:31.2689534-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:18:31.2689534-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "5ecd9d42-1a33-427e-b0ad-15bc55bbc21a", "CreateDate": "2024-12-21T19:18:31.2689534-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:18:31.2689534-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": "7fcb11dc-9d5a-4576-be7c-3cf641cd778a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "5effae8f-8d48-4bf1-86e0-0b0d8dae2e6e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "89ef840d-57fd-4f18-98dc-b1506e20f475", "CreateDate": "2024-12-21T19:18:31.2689534-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:18:31.2689534-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "5448d75a-e094-4c3a-8755-cc0524c5915d", "CreateDate": "2024-12-21T19:18:31.2689534-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:18:31.2689534-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }