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": "7d53ef14-cfac-464e-9131-59cab5a3fe34", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "487b7b0f-6973-4d17-8ac9-449d0730eff3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "32090097-9dff-4814-92f4-6a470ed6ec5b", "CreateDate": "2025-08-29T17:11:27.2882474-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:11:27.2882474-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "dc4c1029-73ab-4381-b46f-36a3dada4f32", "CreateDate": "2025-08-29T17:11:27.2882474-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:11:27.2882474-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }