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": "f8c3992c-4ddd-4172-8f8a-51411dc648fd", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "415895dc-368c-4c4c-9c6e-e020a3268483", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "83c7de55-0597-44d2-96db-f0b920793a6e", "CreateDate": "2025-08-29T17:13:14.9026532-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:13:14.9026532-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "19ab1092-776b-43f8-aa0c-36fdb25a6873", "CreateDate": "2025-08-29T17:13:14.9026532-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:14.9026532-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": "10b80856-3d42-491d-9e26-7d0f808eb280", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "68c973a4-1246-43a3-8421-0a7dab409471", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "03002327-5e1c-4a6b-b697-8526490af885", "CreateDate": "2025-08-29T17:13:14.9026532-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:13:14.9026532-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "9070cbc9-1231-4033-8d75-fd7ef302718c", "CreateDate": "2025-08-29T17:13:14.9026532-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:14.9026532-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }