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": "dee2d68a-16c0-47d9-8c5a-110af70026a2", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "8ec60ee9-1b22-467b-84b5-376a464f8011", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8f910fc-4c2c-4b1f-90db-447e017f1c2b", "CreateDate": "2025-04-17T03:58:45.4666393-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T03:58:45.4666393-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "5dfee449-fd34-41b3-b38e-35e1e34ad9b8", "CreateDate": "2025-04-17T03:58:45.4666393-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T03:58:45.4666393-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }