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": "5c297163-dfd6-4ec2-a0d1-d8e76b24dc81",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7966e98e-3a19-4a1d-824f-e9de56d41f99",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "800039b8-f732-4d35-8cc5-5bf6458799ad",
"CreateDate": "2025-11-17T18:53:04.053197-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:53:04.053197-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "fe354531-df33-443c-b621-b97f843edc49",
"CreateDate": "2025-11-17T18:53:04.053197-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:53:04.053197-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}