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": "d1ba97ce-8046-4242-b9aa-11bcbd4de806", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "269138b5-7337-4638-a491-09a8d27bd27e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "39c6ecfa-8686-4b58-b432-f49931d0d47d", "CreateDate": "2024-04-26T04:05:54.9703597-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-26T04:05:54.9703597-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "73edafde-e2ce-4d84-9c45-dab7f1c19946", "CreateDate": "2024-04-26T04:05:54.9703597-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-26T04:05:54.9703597-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }