Endpoint
/api/v2/tenants/{tenantId}/deviceGroups/search
Path Parameters
tenantId
string

Query Parameters
pageNo
integer

pageSize
integer

isDescendingOrder
boolean

sortName
string

queryString
string

Responses

OK

descendingOrder
boolean

nextPage
boolean

orderBy
string

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.createdDate
results.entityType
results.id
results.name
results.type
results.updatedDate
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "id",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "createdDate": "2017-08-08T12:16:26+0000",
      "entityType": "DEVICE_GROUP",
      "id": "DGP-46f180ed-5ab8-45e2-a06b-e902f53a2b3c",
      "name": "Storage Device Group",
      "type": "DEVICE_GROUP",
      "updatedDate": "2017-08-08T12:16:26+0000"
    },
    {
      "createdDate": "2017-08-08T07:44:21+0000",
      "entityType": "DEVICE_GROUP",
      "id": "DGP-dd1ac3ae-549b-4b41-a4f9-3a3af592334d",
      "name": "Windows Device Group",
      "type": "DEVICE_GROUP",
      "updatedDate": "2017-08-08T07:45:28+0000"
    },
    {
      "createdDate": "2017-05-11T12:32:12+0000",
      "description": "",
      "entityType": "DEVICE_GROUP",
      "id": "DGP-9d3d15f3-8ce4-4027-88a3-e36f9033dad3",
      "name": "IT Support Devices",
      "type": "DEVICE_GROUP",
      "updatedDate": "2017-07-13T11:14:25+0000"
    },
    {
      "createdDate": "2017-05-11T12:20:09+0000",
      "description": "",
      "entityType": "DEVICE_GROUP",
      "id": "DGP-0f3c5bbd-3a0c-4d57-a4db-64c1e7a895a0",
      "name": "Communication Servers",
      "type": "DEVICE_GROUP",
      "updatedDate": "2017-05-11T12:20:10+0000"
    },
    {
      "createdDate": "2017-04-27T07:31:30+0000",
      "entityType": "DEVICE_GROUP",
      "id": "DGP-63a8881c-a537-40d9-bc89-100b5fe98933",
      "name": "SJ Network Device Group",
      "type": "DEVICE_GROUP",
      "updatedDate": "2017-04-27T07:31:30+0000"
    }
  ],
  "totalPages": 1,
  "totalResults": 5
}