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": "5a429ce3-75ce-46bd-a9e2-32b11808905c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3b60eb86-b2f2-46b5-8d8b-a5905242a065",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4bbd98ed-c97c-426c-afb7-c75c0cf1eb82",
"CreateDate": "2026-08-11T22:24:35.7387462-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:24:35.7387462-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "8eea5b8f-89de-4820-8060-e12145e5634c",
"CreateDate": "2026-08-11T22:24:35.7387462-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:24:35.7387462-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}