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": "10ec5ef0-a34b-4ca7-b825-3e74cc6dd3ca",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1ef1dc15-b48e-496a-8bd6-af66af7de4c5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fc7556fe-38a9-4db4-9fb9-36e39d3532f2",
"CreateDate": "2026-11-21T09:14:34.6702315-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T09:14:34.6702315-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "fa827006-ea37-493a-9beb-05bf055258e6",
"CreateDate": "2026-11-21T09:14:34.6702315-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T09:14:34.6702315-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}