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": "83943a07-27bc-4923-96d2-a6f39b952c5b", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "4ce1afb9-8336-442d-b059-1d9782d2bf15", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d905375d-add6-4d37-80d4-d7b7bc94220b", "CreateDate": "2025-07-19T04:58:18.9128873-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T04:58:18.9128873-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "29baee0f-f711-4842-8676-0194d06b327d", "CreateDate": "2025-07-19T04:58:18.9128873-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T04:58:18.9128873-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }