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": "8318bbae-e16c-4fb3-8dba-05dfd16ef52c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ec52bf64-2544-4764-a891-f471b9695314", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8b0964d-9758-401c-a065-b1f55feae3fa", "CreateDate": "2025-05-09T15:12:57.2862938-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:12:57.2862938-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "93349f21-7622-4d09-a4fb-ee902414ec3c", "CreateDate": "2025-05-09T15:12:57.2862938-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:12:57.2862938-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }