RAC Backup
This operation is used to trigger OracleRAC backups.
- application/json
Request Body
taskInfo object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 478798,
"jobIds": [
"63001"
]
}
POST /createtask
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://localhost/commandcenter/api/Createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"subclientName": "string"
}
],
"task": {
"taskType": "IMMEDIATE"
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"backupLevel": "FULL",
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
},
"adminOpts": {
"clientInstallOption": {
"installerOption": {
"User": {
"userId": 0,
"userName": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"subclientName": "string"
}
],
"task": {
"taskType": "IMMEDIATE"
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"backupLevel": "FULL",
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
},
"adminOpts": {
"clientInstallOption": {
"installerOption": {
"User": {
"userId": 0,
"userName": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"subclientName": "string"
}
],
"task": {
"taskType": "IMMEDIATE"
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"backupLevel": "FULL",
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
},
"adminOpts": {
"clientInstallOption": {
"installerOption": {
"User": {
"userId": 0,
"userName": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"subclientName": "string"
}
],
"task": {
"taskType": "IMMEDIATE"
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"backupLevel": "FULL",
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
},
"adminOpts": {
"clientInstallOption": {
"installerOption": {
"User": {
"userId": 0,
"userName": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"subclientName": "string"
}
],
"task": {
"taskType": "IMMEDIATE"
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"backupLevel": "FULL",
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
},
"adminOpts": {
"clientInstallOption": {
"installerOption": {
"User": {
"userId": 0,
"userName": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"subclientName": "string"
}
],
"task": {
"taskType": "IMMEDIATE"
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"backupLevel": "FULL",
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
},
"adminOpts": {
"clientInstallOption": {
"installerOption": {
"User": {
"userId": 0,
"userName": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"subclientName": "string"
}
],
"task": {
"taskType": "IMMEDIATE"
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"backupLevel": "FULL",
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
},
"adminOpts": {
"clientInstallOption": {
"installerOption": {
"User": {
"userId": 0,
"userName": "string"
}
}
}
}
}
}
]
}
}'