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

NameDescriptionTypeAdditional 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 DataFilter

None.

Body Parameters

None.

Response Information

Resource Description

On success, a list of assets.

NameDescriptionTypeAdditional information
Data

Collection of Asset

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "AssetId": "1721a776-c654-4c3f-bb5f-fba21682c35d",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "cab926c3-2c9a-4420-9399-1deb27b0d829",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "641f2abf-0dc6-4136-98d8-ca63dae765d7",
        "CreateDate": "2021-04-17T06:34:04.3927121-07:00",
        "CreateUser": "sample string 6",
        "CreateMachine": "sample string 7",
        "LastModifiedDate": "2021-04-17T06:34:04.3927121-07:00",
        "LastModifiedUser": "sample string 8",
        "LastModifiedMachine": "sample string 9"
      },
      "AssetGroup": {
        "AssetGroupId": "fa89b45f-1150-4167-99d1-67b343f923ec",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2021-04-17T06:34:04.3927121-07:00",
        "MeasurementValueNeededDate": "2021-04-17T06:34:04.3927121-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "98e11b24-5ef0-43a5-83a3-fad31153007b",
        "CreateDate": "2021-04-17T06:34:04.3927121-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T06:34:04.3927121-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      "ParentAsset": null,
      "WellKnownText": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "FormValueNeededDate": "2021-04-17T06:34:04.3927121-07:00",
      "MeasurementValueNeededDate": "2021-04-17T06:34:04.3927121-07:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "ca26a7dd-ed84-44bd-9a17-247ed90b3fed",
      "CreateDate": "2021-04-17T06:34:04.3927121-07:00",
      "CreateUser": "sample string 7",
      "CreateMachine": "sample string 8",
      "LastModifiedDate": "2021-04-17T06:34:04.3927121-07:00",
      "LastModifiedUser": "sample string 9",
      "LastModifiedMachine": "sample string 10"
    },
    {
      "AssetId": "1721a776-c654-4c3f-bb5f-fba21682c35d",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "cab926c3-2c9a-4420-9399-1deb27b0d829",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "641f2abf-0dc6-4136-98d8-ca63dae765d7",
        "CreateDate": "2021-04-17T06:34:04.3927121-07:00",
        "CreateUser": "sample string 6",
        "CreateMachine": "sample string 7",
        "LastModifiedDate": "2021-04-17T06:34:04.3927121-07:00",
        "LastModifiedUser": "sample string 8",
        "LastModifiedMachine": "sample string 9"
      },
      "AssetGroup": {
        "AssetGroupId": "fa89b45f-1150-4167-99d1-67b343f923ec",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2021-04-17T06:34:04.3927121-07:00",
        "MeasurementValueNeededDate": "2021-04-17T06:34:04.3927121-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "98e11b24-5ef0-43a5-83a3-fad31153007b",
        "CreateDate": "2021-04-17T06:34:04.3927121-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T06:34:04.3927121-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      "ParentAsset": null,
      "WellKnownText": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "FormValueNeededDate": "2021-04-17T06:34:04.3927121-07:00",
      "MeasurementValueNeededDate": "2021-04-17T06:34:04.3927121-07:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "ca26a7dd-ed84-44bd-9a17-247ed90b3fed",
      "CreateDate": "2021-04-17T06:34:04.3927121-07:00",
      "CreateUser": "sample string 7",
      "CreateMachine": "sample string 8",
      "LastModifiedDate": "2021-04-17T06:34:04.3927121-07:00",
      "LastModifiedUser": "sample string 9",
      "LastModifiedMachine": "sample string 10"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}