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": "84d98641-416d-42bf-9090-fb4e1aca88ed", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "faa9708a-2547-48af-acb3-29339c19d5ed", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d69fbd7c-6fe0-4f43-b24a-3456a0859092", "CreateDate": "2024-11-21T04:37:42.1766445-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:37:42.1766445-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "e668e295-f9e8-466a-bbc1-416b43983bfc", "CreateDate": "2024-11-21T04:37:42.1766445-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:37:42.1766445-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }