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": "5a0a3595-3b6f-4003-81b5-e37963cef500",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "678c2a8a-a2e3-4416-b73b-dbe6415a518c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c7e75c2d-e423-47bb-8cf6-7ea5cf339718",
"CreateDate": "2026-06-22T01:39:39.5488943-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:39:39.5488943-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "69e60584-72fa-4f94-acad-68455d435bf2",
"CreateDate": "2026-06-22T01:39:39.5488943-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:39:39.5488943-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}