GET AssetGroups?parentGroupId={parentGroupId}&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 asset groups for the given parameters. All parameters are optional.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
parentGroupId

Id of the parent group, to only fetch groups within that parent group. Set to 00000000-0000-0000-0000-000000000000 to fetch only top level groups.

globally unique identifier

None.

take

Number of groups to retrieve. Default is all groups

integer

None.

skip

Number of groups to skip before retrieval

integer

Default value is 0

sort

List of sorting rules to describe how to sort the groups 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 groups.

NameDescriptionTypeAdditional information
Data

Collection of AssetGroup

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "AssetGroupId": "496f8251-9e5b-488b-b233-810faca396da",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-10-10T03:13:14.8334843-07:00",
      "MeasurementValueNeededDate": "2024-10-10T03:13:14.8334843-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "64dee52b-3551-4836-a129-f41cad559638",
      "CreateDate": "2024-10-10T03:13:14.8334843-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T03:13:14.8334843-07:00",
      "LastModifiedUser": "sample string 6"
    },
    {
      "AssetGroupId": "496f8251-9e5b-488b-b233-810faca396da",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-10-10T03:13:14.8334843-07:00",
      "MeasurementValueNeededDate": "2024-10-10T03:13:14.8334843-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "64dee52b-3551-4836-a129-f41cad559638",
      "CreateDate": "2024-10-10T03:13:14.8334843-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T03:13:14.8334843-07:00",
      "LastModifiedUser": "sample string 6"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}