Oracle Backup
Select
SaaS
Customer Managed
This operation is used to trigger Oracle backups.
- application/json
Request Body
taskInfo object
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 58798,
"jobIds": [
"3400891"
]
}
Bad Request
- application/json
- Schema
- Example
Schema
- string
Request body is empty or format is invalid
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access Denied",
"errorCode": 5
}
POST /createtask
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CreateTask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"task": {},
"associations": [
{
"clientName": "string",
"displayName": "string",
"instanceName": "string",
"appName": "Oracle",
"applicationId": 22,
"subclientName": "string"
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "BACKUP",
"operationType": "BACKUP"
},
"options": {
"backupOpts": {
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CreateTask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"task": {},
"associations": [
{
"clientName": "string",
"displayName": "string",
"instanceName": "string",
"appName": "Oracle",
"applicationId": 22,
"subclientName": "string"
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "BACKUP",
"operationType": "BACKUP"
},
"options": {
"backupOpts": {
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CreateTask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"task": {},
"associations": [
{
"clientName": "string",
"displayName": "string",
"instanceName": "string",
"appName": "Oracle",
"applicationId": 22,
"subclientName": "string"
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "BACKUP",
"operationType": "BACKUP"
},
"options": {
"backupOpts": {
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CreateTask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"task": {},
"associations": [
{
"clientName": "string",
"displayName": "string",
"instanceName": "string",
"appName": "Oracle",
"applicationId": 22,
"subclientName": "string"
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "BACKUP",
"operationType": "BACKUP"
},
"options": {
"backupOpts": {
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CreateTask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"task": {},
"associations": [
{
"clientName": "string",
"displayName": "string",
"instanceName": "string",
"appName": "Oracle",
"applicationId": 22,
"subclientName": "string"
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "BACKUP",
"operationType": "BACKUP"
},
"options": {
"backupOpts": {
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CreateTask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"task": {},
"associations": [
{
"clientName": "string",
"displayName": "string",
"instanceName": "string",
"appName": "Oracle",
"applicationId": 22,
"subclientName": "string"
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "BACKUP",
"operationType": "BACKUP"
},
"options": {
"backupOpts": {
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CreateTask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"task": {},
"associations": [
{
"clientName": "string",
"displayName": "string",
"instanceName": "string",
"appName": "Oracle",
"applicationId": 22,
"subclientName": "string"
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "BACKUP",
"operationType": "BACKUP"
},
"options": {
"backupOpts": {
"oracleOptions": {
"cumulative": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'