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": "bfc5834f-22a4-4260-8bd5-bb26dfd21adb", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ed406e4f-7253-455c-a81c-c7a79cd825da", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "418dcda4-34a5-4a22-b73a-aa5f114e4f6c", "CreateDate": "2025-07-11T19:47:08.9829817-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-11T19:47:08.9829817-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "260b5949-5d55-490e-9eda-a32ee5461362", "CreateDate": "2025-07-11T19:47:08.9829817-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-11T19:47:08.9829817-07:00", "LastModifiedUser": "sample string 6" }, { "StateTypeId": "bfc5834f-22a4-4260-8bd5-bb26dfd21adb", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ed406e4f-7253-455c-a81c-c7a79cd825da", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "418dcda4-34a5-4a22-b73a-aa5f114e4f6c", "CreateDate": "2025-07-11T19:47:08.9829817-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-11T19:47:08.9829817-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "260b5949-5d55-490e-9eda-a32ee5461362", "CreateDate": "2025-07-11T19:47:08.9829817-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-11T19:47:08.9829817-07:00", "LastModifiedUser": "sample string 6" } ], "Total": 1, "Message": "sample string 1" }