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": "da3df051-3f6d-45b3-bd93-02aa5c48abdf",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f7042aa3-aaaa-4cce-9d52-21da0d7b4190",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6fa3e8ff-71a1-4bc9-b69e-4ce0ead8682a",
"CreateDate": "2026-08-04T17:25:41.6635501-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:25:41.6635501-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "912cd1e0-27ec-43a8-bdc3-16b29bb6a0bb",
"CreateDate": "2026-08-04T17:25:41.6635501-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:25:41.6635501-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}