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": "b32df873-3510-4732-9bc1-4fb1bd60720d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "cac49af1-ff0d-4bb1-a202-7806f6674e51",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22d4795d-bbe0-4ba1-b5f4-c8c3c5f4f315",
"CreateDate": "2025-12-17T04:27:57.0010861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:27:57.0010861-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b7bf75bc-56b1-40ff-9bea-910b6237a03d",
"CreateDate": "2025-12-17T04:27:57.0010861-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:27:57.0010861-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}