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": "d7632a56-bd57-4e68-a5ad-35324afcaabe",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a3cb553f-85ab-43ce-992b-268ed630a380",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7c3456e1-bb61-4383-bdc4-460a23a8fdb7",
"CreateDate": "2025-11-04T16:59:52.7416609-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:59:52.7416609-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "82a5a2ca-cf30-48bd-ac7c-3d0460e453e1",
"CreateDate": "2025-11-04T16:59:52.7416609-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:59:52.7416609-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}