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": "feed1ce3-f4ed-4ef1-850f-181f8686f5ea", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "693fe3ad-0392-4878-97d3-f6ef09e705e0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ac23417b-bbfb-485e-8600-176508db0a89", "CreateDate": "2025-01-30T13:02:31.2822645-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:02:31.2822645-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "88e9ccfb-be70-465b-88fc-968eefd2a599", "CreateDate": "2025-01-30T13:02:31.2822645-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T13:02:31.2822645-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": "39137491-9d21-4fb7-9c80-04a0836de5d7", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "9f650ccc-c942-4d7c-ad76-7f1443d67dfd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2db37af0-fc1a-4277-91ee-d9682652420e", "CreateDate": "2025-01-30T13:02:31.2822645-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:02:31.2822645-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "2fb9581c-a887-4b30-a00e-77264fe2d865", "CreateDate": "2025-01-30T13:02:31.2822645-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T13:02:31.2822645-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }