Job Operations
Select
SaaS
Customer Managed
Run different job operations for a plan backup destination
- application/json
Request Body
- storagePolicyId int32 required
ID for chosen storage policy
- copyId int32 required
ID for chosen copy
- opType string required
Possible values: [
DELETE
,RETAIN
,DO_NOT_RETAIN
,DISALLOW_COPY
,DISALLOW_COPY_ALL
,ALLOW_COPY
,RECOPY
] - jobIds int32[] required
Comma separated Job IDs to run job operation on
- commcellId int32 required
ID for chosen commcell
- retainUntilTime int64
Job will be retained till specified time. The time is provided in unix time format.
- loadDependentJobs boolean
Default value:
false
Defines whether dependent jobs need to be computed.
- loadArchiverJobs boolean
Default value:
false
Defines whether archiver jobs need to be computed.
Responses
- 200
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- dependentJobsExist boolean
Whether dependent jobs were found
- archiverJobsExist boolean
Whether archiver jobs were found
jobInfo object[]
error object
{
"dependentJobsExist": true,
"archiverJobsExist": true,
"jobInfo": [
{
"jobId": 0,
"status": "string",
"server": {
"id": 0,
"name": "string"
},
"agentType": {
"id": 0,
"name": "string"
},
"subClient": {
"id": 0,
"name": "string"
},
"jobType": "string",
"startTime": 0,
"sizeOfApplication": 0,
"retainUntil": 0,
"instance": {
"id": 0,
"name": "string"
},
"backupSet": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"retentionReason": "string",
"username": "string",
"description": "string",
"savingPercentage": 0,
"dataWritten": 0,
"avgThroughput": 0,
"endTime": 0,
"duration": 0,
"dataVerificationStatus": 0,
"hardwareEncrypted": true,
"lastVerifiedOn": "string",
"copiedTime": 0,
"encrypted": true,
"parentJobId": 0,
"retainedBy": 0,
"deduplicated": true,
"requiredByJobs": "string",
"strRetainedBy": "No Data Available",
"strDataVerificationStatus": "Not Picked",
"isAged": true,
"statusId": 0,
"jobAttributesEx": 0,
"isSoftAged": true,
"retentionCode": "string",
"estMediaSize": 0,
"snapCatalogStatus": "Not Applicable",
"snapToTapeStatus": "Not Applicable"
}
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
POST /v4/plan/backupdestination/joboperations
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestination/JobOperations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyId": 0,
"copyId": 0,
"opType": "DELETE",
"jobIds": [
0
],
"commcellId": 0,
"retainUntilTime": 0,
"loadDependentJobs": false,
"loadArchiverJobs": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestination/JobOperations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyId": 0,
"copyId": 0,
"opType": "DELETE",
"jobIds": [
0
],
"commcellId": 0,
"retainUntilTime": 0,
"loadDependentJobs": false,
"loadArchiverJobs": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestination/JobOperations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyId": 0,
"copyId": 0,
"opType": "DELETE",
"jobIds": [
0
],
"commcellId": 0,
"retainUntilTime": 0,
"loadDependentJobs": false,
"loadArchiverJobs": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestination/JobOperations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyId": 0,
"copyId": 0,
"opType": "DELETE",
"jobIds": [
0
],
"commcellId": 0,
"retainUntilTime": 0,
"loadDependentJobs": false,
"loadArchiverJobs": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestination/JobOperations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyId": 0,
"copyId": 0,
"opType": "DELETE",
"jobIds": [
0
],
"commcellId": 0,
"retainUntilTime": 0,
"loadDependentJobs": false,
"loadArchiverJobs": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestination/JobOperations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyId": 0,
"copyId": 0,
"opType": "DELETE",
"jobIds": [
0
],
"commcellId": 0,
"retainUntilTime": 0,
"loadDependentJobs": false,
"loadArchiverJobs": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestination/JobOperations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyId": 0,
"copyId": 0,
"opType": "DELETE",
"jobIds": [
0
],
"commcellId": 0,
"retainUntilTime": 0,
"loadDependentJobs": false,
"loadArchiverJobs": false
}'