GET StateTypes?stateTypeId={stateTypeId}
Retrieves a state type by its Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
stateTypeId |
Id of the state type |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, the 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": "ec193e82-0f58-4a6d-bca5-fd5c1f65f3ce", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a88716ad-7c95-4f3c-8353-a64fb1f09393", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7f843b82-b9d0-4ff1-9141-41e24af09f62", "CreateDate": "2025-10-13T15:19:35.3886388-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:19:35.3886388-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "5e20c97c-5cd8-4cbd-860b-743c1c39a6b4", "CreateDate": "2025-10-13T15:19:35.3886388-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:19:35.3886388-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }