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": "798afa9a-63d7-41ce-ab6f-5b666b8eccc1",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "eac07ade-491a-4053-9619-125fac339b85",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "81484cc0-cd45-4754-be0a-b868f61b944a",
"CreateDate": "2026-10-03T16:11:03.3829154-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-03T16:11:03.3829154-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a8fabaab-3064-4ab9-b65c-1f0389341bc8",
"CreateDate": "2026-10-03T16:11:03.3829154-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-03T16:11:03.3829154-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}