Endpoint
/api/v2/tenants/{tenantId}/scheduleMaintenances/{smId}/resources/{resourcesType}
Path Parameters
tenantId
string

smId
string

resourcesType
string

Query Parameters
pageNo
string

{pageNo}

pageSize
string

{pageSize}

isDescendingOrder
boolean

{true/false}

Responses

OK

descendingOrder
boolean

nextPage
boolean

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.description
results.id
results.name
totalPages
integer

totalResults
integer

{
  "descendingOrder": false,
  "nextPage": true,
  "nextPageNo": 2,
  "pageNo": 1,
  "pageSize": 2,
  "previousPageNo": 0,
  "results": [
    {
      "createdDate": "2018-02-10T10:15:32+0000",
      "description": "",
      "id": "DGP-98a9dac3-18ae-4456-88d3-e7ffa5ce4ace",
      "name": "Windows Servers",
      "updatedDate": "2018-08-02T14:20:10+0000"
    },
    {
      "createdDate": "2018-03-13T11:20:50+0000",
      "description": "",
      "id": "DGP-6fd28a3f-9f10-4c74-ac15-bd9de54ec056",
      "name": "Network Devices",
      "updatedDate": "2018-08-02T17:15:40+0000"
    }
  ],
  "totalPages": 3,
  "totalResults": 6
}
{
  "descendingOrder": false,
  "nextPage": true,
  "nextPageNo": 2,
  "pageNo": 1,
  "pageSize": 5,
  "previousPageNo": 0,
  "results": [
    {
      "hostName": "cn-agent-docker01",
      "id": "4b7e4bc4-2115-4f15-bbd9-642396d486b6",
      "ipAddress": "212.328.345.123",
      "type": "DOCKER"
    },
    {
      "hostName": "k8-pool1-wk1",
      "id": "e8893d5c-5448-4123-992f-2a7631a97310",
      "ipAddress": "121.321.435.251",
      "type": "DEVICE"
    },
    {
      "hostName": "WIN7-PC",
      "id": "66296829-c08d-45fb-9c8c-b6702189611d",
      "ipAddress": "132.346.768.121",
      "type": "DEVICE"
    },
    {
      "hostName": "HYDLPT272167",
      "id": "9be5120f-f2f7-45d0-88e4-83d67461f751",
      "ipAddress": "121.345.321.134",
      "type": "DEVICE"
    },
    {
      "hostName": "DBMS10734",
      "id": "8016775e-f1b4-47d5-bdd0-e039b115c45f",
      "ipAddress": "177.162.136.193",
      "type": "DEVICE"
    }
  ],
  "totalPages": 5,
  "totalResults": 50
}
{
  "descendingOrder": false,
  "nextPage": true,
  "nextPageNo": 2,
  "pageNo": 1,
  "pageSize": 2,
  "previousPageNo": 0,
  "results": [
    {
      "description": "Server locations in East Virgnia",
      "id": 164,
      "name": "Virginia-East"
    },
    {
      "description": "Network Centers in California",
      "id": 165,
      "name": "California-Central"
    }
  ],
  "totalPages": 3,
  "totalResults": 6
}