GET Assets?assetTypeId={assetTypeId}&assetGroupId={assetGroupId}&parentAssetId={parentAssetId}&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 assets 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. |
assetGroupId |
Id of the asset group |
globally unique identifier |
None. |
parentAssetId |
Id of the parent asset |
globally unique identifier |
None. |
take |
Number of assets to retrieve. Default is all assets |
integer |
None. |
skip |
Number of assets to skip before retrieval |
integer |
Default value is 0 |
sort |
List of sorting rules to describe how to sort the assets 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 assets.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of Asset |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "AssetId": "61ed364e-9dec-46d9-b1e3-0e726d30ceba", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6c4a324a-3da2-412f-b9da-8041dafb93c2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9ff001ee-978f-41bf-a39f-b59889506fcc", "CreateDate": "2024-10-10T11:29:01.6206856-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T11:29:01.6206856-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e3fe1f25-7003-4a45-b872-f9c2ec4e9942", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T11:29:01.6206856-07:00", "MeasurementValueNeededDate": "2024-10-10T11:29:01.6206856-07:00", "SourceSystemId": "sample string 3", "CompanyId": "544e7e9d-a288-4d36-aeee-ea7d3f9c92c3", "CreateDate": "2024-10-10T11:29:01.6206856-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T11:29:01.6206856-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T11:29:01.6206856-07:00", "MeasurementValueNeededDate": "2024-10-10T11:29:01.6206856-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c65cac4c-caa4-468a-8427-359f0a94343c", "CreateDate": "2024-10-10T11:29:01.6206856-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T11:29:01.6206856-07:00", "LastModifiedUser": "sample string 8" }, { "AssetId": "61ed364e-9dec-46d9-b1e3-0e726d30ceba", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6c4a324a-3da2-412f-b9da-8041dafb93c2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9ff001ee-978f-41bf-a39f-b59889506fcc", "CreateDate": "2024-10-10T11:29:01.6206856-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T11:29:01.6206856-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e3fe1f25-7003-4a45-b872-f9c2ec4e9942", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T11:29:01.6206856-07:00", "MeasurementValueNeededDate": "2024-10-10T11:29:01.6206856-07:00", "SourceSystemId": "sample string 3", "CompanyId": "544e7e9d-a288-4d36-aeee-ea7d3f9c92c3", "CreateDate": "2024-10-10T11:29:01.6206856-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T11:29:01.6206856-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T11:29:01.6206856-07:00", "MeasurementValueNeededDate": "2024-10-10T11:29:01.6206856-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c65cac4c-caa4-468a-8427-359f0a94343c", "CreateDate": "2024-10-10T11:29:01.6206856-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T11:29:01.6206856-07:00", "LastModifiedUser": "sample string 8" } ], "Total": 1, "Message": "sample string 1" }