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": "bccdc17d-d78d-41a2-970e-d26e66d136aa",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "85bce88f-e113-4880-8701-0b3b3a0d58a9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "18aec2ac-877e-46bb-9311-5be89a7e4681",
"CreateDate": "2026-01-07T15:55:52.8568663-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:55:52.8568663-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "0ad9c5ce-d02d-4aee-b9fd-bfbd1f7568e8",
"CreateDate": "2026-01-07T15:55:52.8568663-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:55:52.8568663-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}