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": "95ed3e55-9571-4fbe-8bf5-dc48afbeffb3", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "9fa2476a-ebff-4626-9568-672f01bda7fe", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96a79863-a8cb-42d0-b682-09d2f40d5a52", "CreateDate": "2025-03-09T08:41:52.5022506-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:41:52.5022506-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "cbb03a0a-5036-4276-aaf4-70cc6024c8b7", "CreateDate": "2025-03-09T08:41:52.5022506-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:41:52.5022506-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }