GET StateTypes?assetTypeId={assetTypeId}&take={take}&skip={skip}&sort[0].Field={sort[0].Field}&sort[0].Dir={sort[0].Dir}&sort[1].Field={sort[1].Field}&sort[1].Dir={sort[1].Dir}
Retrieves state types for the given parameters. All parameters are optional.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetTypeId |
Id of the asset type |
globally unique identifier |
None. |
take |
Number of state types to retrieve. Default is all state types |
integer |
None. |
skip |
Number of state types to skip before retrieval |
integer |
Default value is 0 |
sort |
List of sorting rules to describe how to sort the state types before retrieval |
Collection of Sort |
None. |
Operator | string |
None. |
|
Field | string |
None. |
|
Value | string |
None. |
|
Logic | string |
None. |
|
Filters | Collection of Filter |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of state types.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of StateType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "StateTypeId": "ce0e3a79-de5c-4563-9ab6-b46b029a60ca", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ca17f6b1-0099-46bc-acd6-16fe63040e61", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ba295aa3-dafa-41f5-835a-48212efcb09a", "CreateDate": "2025-07-19T02:27:59.7612919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T02:27:59.7612919-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "1525a6d8-3094-4ca2-a902-f938c9c30162", "CreateDate": "2025-07-19T02:27:59.7612919-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T02:27:59.7612919-07:00", "LastModifiedUser": "sample string 6" }, { "StateTypeId": "ce0e3a79-de5c-4563-9ab6-b46b029a60ca", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ca17f6b1-0099-46bc-acd6-16fe63040e61", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ba295aa3-dafa-41f5-835a-48212efcb09a", "CreateDate": "2025-07-19T02:27:59.7612919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T02:27:59.7612919-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "1525a6d8-3094-4ca2-a902-f938c9c30162", "CreateDate": "2025-07-19T02:27:59.7612919-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T02:27:59.7612919-07:00", "LastModifiedUser": "sample string 6" } ], "Total": 1, "Message": "sample string 1" }