URL

GET https://{api-url}/api/v2/tenants/{tenantId}/agentPolicies/{policyId}/devices

Sample URLs

https://{api-url}/api/v2/tenants/msp_5/rosters/search
https://{api-url}/api/v2/tenants/msp_5/rosters/search
https://{api-url}/api/v2/tenants/msp_5/rosters/search

Parameters

All parameters are optional:

FieldDefault Value
pageNo={pageNo}1
pageSize={pageSize}100
isDescendingOrder={true/false}true
sortName={field}id
queryString={queryString}NA

Query variables

Query VariableValuesDescription
nameNAThe roster name (must be identical to match)
allListtrue
false
If true, retrieve both partner and client level rosters and if false (the default), retrieve partner level rosters.

Sample response

{
	"results": [{
			"id": "ES-1f43a99c-469e-a62a-b452-aacf6ad81e3b",
			"name": "Network Issues Support",
			"description": "Network Issues Support - Asia Region",
			"createdTime": "2017-02-09T11:59:25+0000",
			"updatedTime": "2017-03-08T07:25:02+0000",
			"timeZone": {
				"id": "19",
				"name": "Asia/Calcutta",
				"label": "GMT +05:30 India",
				"code": "IST"
			},
			"client": {
				"uniqueId": "client_7",
				"name": "Test  Client",
				"activated": true
			}
		},
		{
			"id": "ES-d89ca222-1ee8-50ef-e40a-ba89fb23586b",
			"name": "Implementation Support",
			"description": "Implementation Support - Level 1",
			"createdTime": "2017-03-14T11:42:04+0000",
			"updatedTime": "2017-06-28T11:33:49+0000",
			"timeZone": {
				"id": "19",
				"name": "Asia/Calcutta",
				"label": "GMT +05:30 India",
				"code": "IST"
			},
			"allClients": true
		},
		{
			"id": "ES-157ce85f-2f91-94e9-dc2d-ec4591ef2ed5",
			"name": "Alerts Support",
			"description": "Alerts Support - Level 1",
			"createdTime": "2017-05-04T10:12:23+0000",
			"updatedTime": "2017-06-28T11:33:49+0000",
			"timeZone": {
				"id": "19",
				"name": "Asia/Calcutta",
				"label": "GMT +05:30 India",
				"code": "IST"
			},
			"client": {
				"uniqueId": "client_7",
				"name": "Test  Client",
				"activated": true
			}
		},
		{
			"id": "ES-9f0e489c-8c00-4dba-8a7e-9c81f710d0d3",
			"name": "Maintenance Team",
			"description": "Maintenance team to address Jobs and Patches issues",
			"createdTime": "2017-06-16T07:08:35+0000",
			"updatedTime": "2017-06-27T13:07:19+0000",
			"timeZone": {
				"id": "19",
				"name": "Asia/Calcutta",
				"label": "GMT +05:30 India",
				"code": "IST"
			},
			"allClients": true
		},
		{
			"id": "ES-b519563f-5b9f-4bcf-9a90-ce3cddf5c268",
			"name": "Network Management Team - Level 1",
			"description": "Network management team to address critical network issues.",
			"createdTime": "2017-06-27T12:38:23+0000",
			"updatedTime": "2017-06-28T10:59:20+0000",
			"timeZone": {
				"id": "19",
				"name": "Asia/Calcutta",
				"label": "GMT +05:30 India",
				"code": "IST"
			},
			"client": {
				"uniqueId": "client_7",
				"name": "Test  Client",
				"activated": true
			}
		}
	],
	"totalResults": 5,
	"pageNo": 1,
	"pageSize": 20,
	"totalPages": 1,
	"nextPage": false,
	"previousPageNo": 0,
	"descendingOrder": false
}