Get All Agents
Select
SaaS
Customer Managed
This operation returns a list of agents for a client.
Query Parameters
- clientId integer required
ID of the client
- propertyLevel integer
Possible values: [
0
,10
,20
,30
]Higher the property level more properties are fetched
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
agentProperties object[]
{
"agentProperties": [
{
"AgentProperties": {
"installDate": 0,
"agentVersion": "string",
"isMarkedDeleted": true
},
"idaActivityControl": {
"activityControlOptions": [
{
"activityType": 0,
"enableAfterADelay": true,
"enableActivityType": true
}
]
},
"idaEntity": {
"clientId": 0,
"clientName": "string",
"appName": "string",
"commCellId": 0,
"applicationId": 0
}
}
]
}
{
"agentProperties": [
{
"AgentProperties": {
"installDate": 1486138489,
"agentVersion": "11(BUILD80)",
"isMarkedDeleted": false
},
"idaActivityControl": {
"activityControlOptions": [
{
"activityType": 1,
"enableAfterADelay": false,
"enableActivityType": true
},
{
"activityType": 2,
"enableAfterADelay": false,
"enableActivityType": true
}
]
},
"idaEntity": {
"clientId": 2,
"clientName": "greenvalley",
"appName": "File System",
"commCellId": 2,
"applicationId": 33
}
}
]
}
GET /agent
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Agent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Agent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Agent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Agent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Agent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Agent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Agent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'