Add Agent to Schedule Policy
This operation adds an agent or agent group or entity to the schedule policy. More Details
Path Parameters
- taskId string required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "",
"errorCode": 0
}
POST /task/:taskid/entity/add
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Task/:taskId/Entity/Add' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Task/:taskId/Entity/Add' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Task/:taskId/Entity/Add' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Task/:taskId/Entity/Add' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Task/:taskId/Entity/Add' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Task/:taskId/Entity/Add' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Task/:taskId/Entity/Add' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''