URL

GET https://{api-url}/api/v2/tenants/{tenantId}/managementProfiles/search

Sample URLs

https://{api-url}/api/v2/tenants/client_69900/managementProfiles/search?pageNo=1&pageSize=10&isDescendingOrder=true&sortName=id&queryString=id:1043+name:Gateway_Profile

Parameters

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

Query variables

Query variableValueDescription
idNAThe management profile ID.
nameNAThe management profile name.
typeAgent, GatewayThe management profile type. An example is: Agent.
startCreationDateNASearch for the management profile created within a certain duration. Start indicates the from date. An example is: 2016-06-10T10:40:20 0000 (GMT).
endCreationDateNASearch for the management profile created within a certain duration. End indicates the to date. An Example is: 2016-06-20T10:40:20 0000 (GMT).

NA indicates that the value is not applicable.

Notes

  1. Special characters in the query string
    • Plus (+) indicates next field and must be URL encoded.
    • Color (:) indicates Equals. An example is: key: value.
    • Space characters must be URL encoded.
  2. Date format must use this format: yyyy-MM-ddTHH: mm: ssZ (GMT).

Sample response

{
	"results" : [
		{
			"id" : 76,
			"name" : "LB1 Gateway Profile",
			"description" : "Gateway Management Profile_LB1",
			"type" : "Gateway",
			"tunnelType" : "SSHD",
			"activationToken" : "423e2e3c-a300-4218-a69c-9e3d8c3c3c63",
			"registered" : false,
			"createdDate" : "2016-06-22T07:34:40+0000"
		},
		{
			"id" : 75,
			"name" : "Agent Profile",
			"description" : "Agent Management Profile",
			"type" : "Agent",
			"status" : "DOWN",
			"createdDate" : "2016-06-22T07:24:14+0000",
			"device" : {
				"id" : "96dd7237-a0cf-40b7-ac5f-56b1bd5221d7",
				"generalInfo" : {
					"ipAddresses" : "172.28.2.233",
					"hostName" : "SJLPT159"
				},
				"clientUniqueId" : "client_69900",
				"type" : "DEVICE"
			}
		},
		{
			"id" : 74,
			"name" : "Gateway Profile",
			"description" : "Gateway Management Profile",
			"type" : "Gateway",
			"status" : "DOWN",
			"statusUpdatedDate" : "2016-06-20T06:54:46+0000",
			"softwareVersion" : "1.4.3",
			"createdDate" : "2016-06-14T06:57:46+0000",
			"device" : {
				"id" : "fbfe0ecd-8200-4cbf-a13c-f309f341a8c8",
				"generalInfo" : {
					"ipAddresses" : "172.30.31.137",
					"hostName" : "172.30.31.137"
				}
			},
			"tunnelType" : "SSHD",
			"registered" : true,
			"uuId" : "d004de59-3e72-4c9a-82d7-df3f27f5a7aa"
		},
		{
			"id" : 37,
			"name" : "Default",
			"description" : "Default Management Profile",
			"type" : "Gateway",
			"status" : "DOWN",
			"statusUpdatedDate" : "2016-06-12T06:54:46+0000",
			"softwareVersion" : "1.4.3",
			"createdDate" : "2016-06-02T00:27:53+0000",
			"device" : {
				"id" : "cbee0ecd-5200-3fbf-f13c-c309f341a8c8",
				"generalInfo" : {
					"ipAddresses" : "172.30.32.110",
					"hostName" : "172.30.32.110"
				}
			},
			"tunnelType" : "SSHD",
			"registered" : true,
			"uuId" : "95dd2fc2-4d13-11e3-8623-005056910D5D"
		}
	],
	"totalResults" : 4,
	"orderBy" : "id",
	"pageNo" : 1,
	"pageSize" : 10,
	"totalPages" : 1,
	"nextPage" : false,
	"nextPageNo" : 0,
	"previousPageNo" : 0,
	"descendingOrder" : true
}