Plan Clients
Select
This operation updates associations for client to a plan.
Plan Association Parameters
The following parameters are used to configure plan associations:
ArrayId
Applies to: SNAP Plans only Description: Specifies the ID of the array for which the plan is being associated.
ProcessSubClients
Description: Determines whether to associate all subclients with the plan, along with the client. Valid values: 1: True (associate all subclients) 0: False (do not associate subclients)
ProcessDefaultSubClientsOnly
Applies when: AppType is provided Description: Specifies whether to associate only the default subclients of the provided AppType with the plan. Valid values: 1: True (associate only default subclients) 0: False (associate all subclients)
IncludeAllAppTypes
Description: Indicates whether to expand all apptypes of the client with their subclients for plan association. Valid values: 1: True (expand all apptypes) 0: False (do not expand all apptypes)
AppIds
Description: Enables specific AppIds for plan association. Valid values: 1: True (enable the AppId) 0: False (do not enable the AppId) Sub Param: apptypes (used to specify the apptypes associated with the AppIds)
IncludeSubClientIds
Description: Specifies whether to include subclient IDs in the plan association. Valid values: 1: True (include subclient IDs) 0: False (do not include subclient IDs)
SubClientId
Description: Associates a specific subclient ID with the plan.
Path Parameters
- PlanId string required
- application/json
Request Body
clients object[]
additonalTasks object[]
plan object
- 200
OK
- application/json
- Schema
- Example (from schema)
- Plan Clients - Associate Client to a Plan
Schema
clients object[]
additonalTasks object[]
plan object
{
"clients": [
{
"clientId": 0
}
],
"additonalTasks": [
{
"value": "string",
"key": "string",
"parameters": [
{
"value": "string",
"key": "string"
}
]
}
],
"plan": {
"planId": 0
}
}
{
"clients": [
{
"clientId": 2
}
],
"additonalTasks": [
{
"value": "2",
"key": "ArrayId"
},
{
"value": "0",
"key": "ProcessSubClients"
},
{
"value": "0",
"key": "ProcessDefaultSubClientsOnly"
},
{
"value": "0",
"key": "IncludeAllAppTypes"
},
{
"value": "0",
"key": "AppIds",
"parameters": [
{
"value": "106",
"key": "AppIds"
}
]
},
{
"value": "0",
"key": "IncludeSubClientIds",
"parameters": [
{
"value": "25",
"key": "SubClientId"
},
{
"value": "26",
"key": "SubClientId"
},
{
"value": "27",
"key": "SubClientId"
}
]
}
],
"plan": {
"planId": 2
}
}
PUT /plan/:planid/clients
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Plan/:PlanId/Clients' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clients": [
{
"clientId": 0
}
],
"additonalTasks": [
{
"value": "string",
"key": "string",
"parameters": [
{
"value": "string",
"key": "string"
}
]
}
],
"plan": {
"planId": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Plan/:PlanId/Clients' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clients": [
{
"clientId": 0
}
],
"additonalTasks": [
{
"value": "string",
"key": "string",
"parameters": [
{
"value": "string",
"key": "string"
}
]
}
],
"plan": {
"planId": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Plan/:PlanId/Clients' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clients": [
{
"clientId": 0
}
],
"additonalTasks": [
{
"value": "string",
"key": "string",
"parameters": [
{
"value": "string",
"key": "string"
}
]
}
],
"plan": {
"planId": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Plan/:PlanId/Clients' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clients": [
{
"clientId": 0
}
],
"additonalTasks": [
{
"value": "string",
"key": "string",
"parameters": [
{
"value": "string",
"key": "string"
}
]
}
],
"plan": {
"planId": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Plan/:PlanId/Clients' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clients": [
{
"clientId": 0
}
],
"additonalTasks": [
{
"value": "string",
"key": "string",
"parameters": [
{
"value": "string",
"key": "string"
}
]
}
],
"plan": {
"planId": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Plan/:PlanId/Clients' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clients": [
{
"clientId": 0
}
],
"additonalTasks": [
{
"value": "string",
"key": "string",
"parameters": [
{
"value": "string",
"key": "string"
}
]
}
],
"plan": {
"planId": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Plan/:PlanId/Clients' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clients": [
{
"clientId": 0
}
],
"additonalTasks": [
{
"value": "string",
"key": "string",
"parameters": [
{
"value": "string",
"key": "string"
}
]
}
],
"plan": {
"planId": 0
}
}'