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": "a78a766f-4e59-4e93-ba08-fe5953583c2f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "88234504-fc8c-4951-8361-fb2c64557bd5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9976ab84-52b3-45cc-a86e-c3394c463e8c",
"CreateDate": "2026-05-12T17:06:09.8197052-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:09.8197052-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a64d1cd2-fa28-490f-acfc-17d8547d7ab4",
"CreateDate": "2026-05-12T17:06:09.8197052-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:06:09.8197052-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}