Associate existing schedule policy to existing plan
Select
SaaS
Customer Managed
This operation associates an existing schedule policy to an existing plan.
Path Parameters
- planId string required
Header Parameters
- Accept string required
- application/json
Request Body
summary object
schedule object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
plan object
errors object[]
{
"plan": {
"definesStorage": {
"definesEntity": true,
"overrideEntity": 0
},
"securityAssociations": {
"associations": [
{
"userOrGroup": [
{
"userGroupName": "string",
"userGroupId": 0,
"_type_": 0
}
],
"properties": {
"isCreatorAssociation": true,
"role": {
"_type_": 0,
"roleId": 0,
"roleName": "string"
}
}
}
],
"ownerAssociations": {}
},
"featureInfo": {
"edgedriveInfo": {
"enableNotificationsForShares": true,
"auditDriveActivities": true,
"edgeDriveAssociations": {}
},
"definesEdgeDriveInfo": {
"definesEntity": true,
"overrideEntity": 0
}
},
"inheritance": {
"isSealed": true
},
"storage": {
"storagePolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
},
"copy": [
{
"copyType": 0,
"active": 0,
"isDefault": 0,
"isSnapCopy": 0,
"copyPrecedence": 0,
"dedupeFlags": {
"enableDASHFull": 0,
"pauseAndRecoverCurrentDDB": 0,
"useGlobalDedupStore": 0,
"automaticallyPauseAndRecoverDDB": 0,
"enableDeduplication": 0,
"enableClientSideDedup": 0
},
"retentionRules": {
"retainBackupDataForCycles": 0,
"jobs": 0,
"retainArchiverDataForDays": 0,
"retainBackupDataForDays": 0
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"extendedFlags": {},
"drivePool": {
"drivePoolName": "string",
"drivePoolId": 0
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"useGlobalPolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
]
},
"definesSchedule": {
"definesEntity": true,
"overrideEntity": 0
},
"laptop": {
"features": {
"categoryPermission": {}
},
"accessPolicies": {
"categoryPermission": {}
},
"definesAccessPolicies": {
"definesEntity": true,
"overrideEntity": 0
},
"content": {
"definesSubclientWin": {
"definesEntity": true,
"overrideEntity": 0
},
"definesSubclientMac": {
"definesEntity": true,
"overrideEntity": 0
},
"definesSubclientLin": {
"definesEntity": true,
"overrideEntity": 0
}
},
"users": {},
"definesFeatures": {
"definesEntity": true,
"overrideEntity": 0
}
},
"operationWindow": {
"ruleId": 0
},
"replicationTargets": {},
"database": {
"slaInMinutes": 0,
"rpoInMinutes": 0,
"scheduleLog": {
"task": {}
},
"storageLog": {
"storagePolicy": {}
},
"definesScheduleLog": {
"definesEntity": true,
"overrideEntity": 0
},
"definesStorageLog": {
"definesEntity": true,
"overrideEntity": 0
}
},
"options": {
"forcedArchiving": true,
"quota": 0,
"encryptionInfo": {
"encryptKeyLength": 0,
"directMediaAccess": 0,
"cipherType": 0,
"encryptionSettings": 0
}
},
"definition": {
"possible": [
0
],
"required": [
0
]
},
"definesEEPolicy": {
"definesEntity": true,
"overrideEntity": 0
},
"summary": {
"slaInMinutes": 0,
"restrictions": 0,
"type": 0,
"slaInterval": 0,
"planStatusFlag": 0,
"numDevices": 0,
"rpoInMinutes": 0,
"subtype": 0,
"isElastic": true,
"numUsers": 0,
"addons": {},
"permissions": [
{
"permissionId": 0
}
],
"planOwner": {
"_type_": 0,
"userName": "string",
"userId": 0
},
"plan": {
"planSubtype": 0,
"_type_": 0,
"planType": 0,
"planName": "string",
"planId": 0
}
},
"fullOperationWindow": {
"ruleId": 0
},
"alerts": {},
"schedule": {
"task": {
"taskId": 0
}
},
"associatedEntitiesCount": {
"snapSubclients": 0
},
"eDiscoveryInfo": {
"definesContentAnalyzerCloud": {
"definesEntity": true,
"overrideEntity": 0
},
"definesAnalyticsIndexServer": {
"definesEntity": true,
"overrideEntity": 0
}
},
"exchange": {
"definesMBRetention": {
"definesEntity": true,
"overrideEntity": 0
},
"definesMBCleanup": {
"definesEntity": true,
"overrideEntity": 0
},
"definesMBArchiving": {
"definesEntity": true,
"overrideEntity": 0
},
"definesMBJournal": {
"definesEntity": true,
"overrideEntity": 0
}
},
"definesCIPolicy": {
"definesEntity": true,
"overrideEntity": 0
}
},
"errors": [
{
"entity": {},
"status": {
"errorMessage": "string",
"errorCode": 0
}
}
]
}
{
"plan": {
"definesStorage": {
"definesEntity": true,
"overrideEntity": 0
},
"securityAssociations": {
"associations": [
{
"userOrGroup": [
{
"userGroupName": "master",
"userGroupId": 1,
"_type_": 15
}
],
"properties": {
"isCreatorAssociation": true,
"role": {
"_type_": 120,
"roleId": 10,
"roleName": "Plan Creator Role"
}
}
}
],
"ownerAssociations": {}
},
"featureInfo": {
"edgedriveInfo": {
"enableNotificationsForShares": false,
"auditDriveActivities": false,
"edgeDriveAssociations": {}
},
"definesEdgeDriveInfo": {
"definesEntity": false,
"overrideEntity": 0
}
},
"inheritance": {
"isSealed": true
},
"storage": {
"storagePolicy": {
"storagePolicyName": "NewManPlan",
"storagePolicyId": 59
},
"copy": [
{
"copyType": 1,
"active": 1,
"isDefault": 1,
"isSnapCopy": 0,
"copyPrecedence": 1,
"dedupeFlags": {
"enableDASHFull": 1,
"pauseAndRecoverCurrentDDB": 1,
"useGlobalDedupStore": 1,
"automaticallyPauseAndRecoverDDB": 1,
"enableDeduplication": 1,
"enableClientSideDedup": 1
},
"retentionRules": {
"retainBackupDataForCycles": 1,
"jobs": 0,
"retainArchiverDataForDays": -1,
"retainBackupDataForDays": 30
},
"StoragePolicyCopy": {
"copyId": 59,
"copyName": "Primary"
},
"extendedFlags": {},
"drivePool": {
"drivePoolName": "DrivePool(bdcsrvtest04)30",
"drivePoolId": 30
},
"library": {
"libraryName": "testpoolLibrary",
"libraryId": 30
},
"useGlobalPolicy": {
"storagePolicyName": "testpool",
"storagePolicyId": 42
}
}
]
},
"definesSchedule": {
"definesEntity": true,
"overrideEntity": 0
},
"laptop": {
"features": {
"categoryPermission": {}
},
"accessPolicies": {
"categoryPermission": {}
},
"definesAccessPolicies": {
"definesEntity": false,
"overrideEntity": 0
},
"content": {
"definesSubclientWin": {
"definesEntity": false,
"overrideEntity": 0
},
"definesSubclientMac": {
"definesEntity": false,
"overrideEntity": 0
},
"definesSubclientLin": {
"definesEntity": false,
"overrideEntity": 0
}
},
"users": {},
"definesFeatures": {
"definesEntity": false,
"overrideEntity": 0
}
},
"operationWindow": {
"ruleId": 0
},
"replicationTargets": {},
"database": {
"slaInMinutes": 0,
"rpoInMinutes": 0,
"scheduleLog": {
"task": {}
},
"storageLog": {
"storagePolicy": {}
},
"definesScheduleLog": {
"definesEntity": false,
"overrideEntity": 0
},
"definesStorageLog": {
"definesEntity": false,
"overrideEntity": 0
}
},
"options": {
"forcedArchiving": false,
"quota": 0,
"encryptionInfo": {
"encryptKeyLength": 128,
"directMediaAccess": 0,
"cipherType": 2,
"encryptionSettings": 3
}
},
"definition": {
"possible": [
1,
2,
4,
8,
16,
32,
64,
128,
256,
512,
1024,
2048,
4096,
8192,
16384,
32768,
65536,
65537,
65538,
65539,
65540,
65541,
65542,
65543,
65544
],
"required": [
1,
4
]
},
"definesEEPolicy": {
"definesEntity": false,
"overrideEntity": 0
},
"summary": {
"slaInMinutes": 240,
"restrictions": 1,
"type": 2,
"slaInterval": 0,
"planStatusFlag": 0,
"numDevices": 0,
"rpoInMinutes": 240,
"subtype": 33554437,
"isElastic": false,
"numUsers": 0,
"addons": {},
"permissions": [
{
"permissionId": 1
},
{
"permissionId": 2
},
{
"permissionId": 3
},
{
"permissionId": 4
},
{
"permissionId": 5
},
{
"permissionId": 6
},
{
"permissionId": 7
},
{
"permissionId": 8
},
{
"permissionId": 9
},
{
"permissionId": 10
},
{
"permissionId": 11
},
{
"permissionId": 12
},
{
"permissionId": 13
},
{
"permissionId": 15
},
{
"permissionId": 16
},
{
"permissionId": 18
},
{
"permissionId": 20
},
{
"permissionId": 22
},
{
"permissionId": 24
},
{
"permissionId": 25
},
{
"permissionId": 26
},
{
"permissionId": 27
},
{
"permissionId": 29
},
{
"permissionId": 31
},
{
"permissionId": 32
},
{
"permissionId": 33
},
{
"permissionId": 34
},
{
"permissionId": 35
},
{
"permissionId": 36
},
{
"permissionId": 38
},
{
"permissionId": 39
},
{
"permissionId": 40
},
{
"permissionId": 41
},
{
"permissionId": 42
},
{
"permissionId": 101
},
{
"permissionId": 102
},
{
"permissionId": 107
},
{
"permissionId": 134
},
{
"permissionId": 135
},
{
"permissionId": 136
},
{
"permissionId": 137
},
{
"permissionId": 139
},
{
"permissionId": 140
},
{
"permissionId": 142
},
{
"permissionId": 143
},
{
"permissionId": 145
},
{
"permissionId": 146
},
{
"permissionId": 147
},
{
"permissionId": 148
},
{
"permissionId": 149
},
{
"permissionId": 150
},
{
"permissionId": 156
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
},
{
"permissionId": 178
},
{
"permissionId": 215
},
{
"permissionId": 217
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "NewManPlan",
"planId": 2
}
},
"fullOperationWindow": {
"ruleId": 0
},
"alerts": {},
"schedule": {
"task": {
"taskId": 1580
}
},
"associatedEntitiesCount": {
"snapSubclients": 0
},
"eDiscoveryInfo": {
"definesContentAnalyzerCloud": {
"definesEntity": false,
"overrideEntity": 0
},
"definesAnalyticsIndexServer": {
"definesEntity": false,
"overrideEntity": 0
}
},
"exchange": {
"definesMBRetention": {
"definesEntity": false,
"overrideEntity": 0
},
"definesMBCleanup": {
"definesEntity": false,
"overrideEntity": 0
},
"definesMBArchiving": {
"definesEntity": false,
"overrideEntity": 0
},
"definesMBJournal": {
"definesEntity": false,
"overrideEntity": 0
}
},
"definesCIPolicy": {
"definesEntity": false,
"overrideEntity": 0
}
},
"errors": [
{
"entity": {},
"status": {
"errorMessage": "",
"errorCode": 0
}
}
]
}
PUT /plan/:planid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/plan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"summary": {
"plan": {
"planId": 0
}
},
"schedule": {
"task": {
"taskId": 0
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/plan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"summary": {
"plan": {
"planId": 0
}
},
"schedule": {
"task": {
"taskId": 0
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/plan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"summary": {
"plan": {
"planId": 0
}
},
"schedule": {
"task": {
"taskId": 0
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/plan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"summary": {
"plan": {
"planId": 0
}
},
"schedule": {
"task": {
"taskId": 0
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/plan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"summary": {
"plan": {
"planId": 0
}
},
"schedule": {
"task": {
"taskId": 0
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/plan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"summary": {
"plan": {
"planId": 0
}
},
"schedule": {
"task": {
"taskId": 0
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/plan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"summary": {
"plan": {
"planId": 0
}
},
"schedule": {
"task": {
"taskId": 0
}
}
}'