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": "62c94776-019c-4a62-b2f6-c783defc3410", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e3f6a5d5-9253-4d95-a071-735d5b8c7df2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0fcf56b9-533b-4737-8500-dd3546349de4", "CreateDate": "2025-06-27T06:40:51.675144-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T06:40:51.675144-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "956598c6-df9a-4f4b-bc1a-a91a8989b050", "CreateDate": "2025-06-27T06:40:51.675144-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T06:40:51.675144-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }