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": "230c58dd-2c40-43d6-93e7-6f2f60498e6b", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "42d40e57-6f0f-4fc7-8dc9-f8355f750291", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e7834f2a-d847-4cea-a9cf-a4b96f4d3df0", "CreateDate": "2025-06-02T14:47:38.3994542-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:47:38.3994542-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d246b1ba-4f8e-4b25-8a63-e7866545cafa", "CreateDate": "2025-06-02T14:47:38.3994542-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T14:47:38.3994542-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }