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": "4f9246b4-3132-4c0a-b9ba-52471eb050b0", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "94ea2146-3b70-40d1-96ed-a200ba3e7ff1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "de958d86-fa47-458c-9078-520b43628247", "CreateDate": "2025-01-30T17:05:40.9481587-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:05:40.9481587-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b4bedfa1-1b5a-4396-b81e-447c94057ff0", "CreateDate": "2025-01-30T17:05:40.9481587-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:05:40.9481587-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }