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": "5a51c2f8-42ca-4df7-9bd2-39c158f2cdd8", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "eeee8fd2-f711-4354-b6d2-436c37221b6b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e7aed2dc-565b-49cc-9b9d-4752b153a7a8", "CreateDate": "2024-04-28T14:14:48.7915319-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T14:14:48.7915319-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "46d6f22f-d67f-471a-b1df-35a69d609971", "CreateDate": "2024-04-28T14:14:48.7915319-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T14:14:48.7915319-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }