Install Oracle agent on database server
Select
SaaS
Customer Managed
This operation is used to install Oracle agent on database server
- application/json
Request Body
taskInfo object
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- taskId integer
- jobIds string[]
JobIds of install jobs triggered
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 1110009,
"jobIds": [
"44725"
]
}
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": {},
"subtasks": [
{
"subtask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"clientInstallation": {
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommservehostName": "string",
"installFlags": {
"allowMultipleInstance": false,
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": true,
"restoreOnlyAgents": false,
"skipClientsofCS": false,
"overrideClientInfo": true,
"unixGroup": "string",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupaAndPermissions": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
},
"ClientComposition": [
{
"components": {
"componentInfo": [
{
"ComponentName": "Oracle",
"ComponentId": 1204
}
]
},
"clientInfo": {
"client": {
"evmgrcPort": 0,
"cvdPort": 0
}
}
}
]
},
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"hostName": "string",
"displayame": "string"
}
}
],
"installOSType": "0- Windows",
"discoveryType": 0,
"ClientAuthForJob": {
"userName": "string",
"password": "string"
}
},
"updateOption": {
"plan": {
"planId": 0
}
}
}
}
}
]
}
}'
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": {},
"subtasks": [
{
"subtask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"clientInstallation": {
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommservehostName": "string",
"installFlags": {
"allowMultipleInstance": false,
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": true,
"restoreOnlyAgents": false,
"skipClientsofCS": false,
"overrideClientInfo": true,
"unixGroup": "string",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupaAndPermissions": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
},
"ClientComposition": [
{
"components": {
"componentInfo": [
{
"ComponentName": "Oracle",
"ComponentId": 1204
}
]
},
"clientInfo": {
"client": {
"evmgrcPort": 0,
"cvdPort": 0
}
}
}
]
},
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"hostName": "string",
"displayame": "string"
}
}
],
"installOSType": "0- Windows",
"discoveryType": 0,
"ClientAuthForJob": {
"userName": "string",
"password": "string"
}
},
"updateOption": {
"plan": {
"planId": 0
}
}
}
}
}
]
}
}'
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": {},
"subtasks": [
{
"subtask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"clientInstallation": {
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommservehostName": "string",
"installFlags": {
"allowMultipleInstance": false,
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": true,
"restoreOnlyAgents": false,
"skipClientsofCS": false,
"overrideClientInfo": true,
"unixGroup": "string",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupaAndPermissions": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
},
"ClientComposition": [
{
"components": {
"componentInfo": [
{
"ComponentName": "Oracle",
"ComponentId": 1204
}
]
},
"clientInfo": {
"client": {
"evmgrcPort": 0,
"cvdPort": 0
}
}
}
]
},
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"hostName": "string",
"displayame": "string"
}
}
],
"installOSType": "0- Windows",
"discoveryType": 0,
"ClientAuthForJob": {
"userName": "string",
"password": "string"
}
},
"updateOption": {
"plan": {
"planId": 0
}
}
}
}
}
]
}
}'
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": {},
"subtasks": [
{
"subtask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"clientInstallation": {
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommservehostName": "string",
"installFlags": {
"allowMultipleInstance": false,
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": true,
"restoreOnlyAgents": false,
"skipClientsofCS": false,
"overrideClientInfo": true,
"unixGroup": "string",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupaAndPermissions": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
},
"ClientComposition": [
{
"components": {
"componentInfo": [
{
"ComponentName": "Oracle",
"ComponentId": 1204
}
]
},
"clientInfo": {
"client": {
"evmgrcPort": 0,
"cvdPort": 0
}
}
}
]
},
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"hostName": "string",
"displayame": "string"
}
}
],
"installOSType": "0- Windows",
"discoveryType": 0,
"ClientAuthForJob": {
"userName": "string",
"password": "string"
}
},
"updateOption": {
"plan": {
"planId": 0
}
}
}
}
}
]
}
}'
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": {},
"subtasks": [
{
"subtask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"clientInstallation": {
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommservehostName": "string",
"installFlags": {
"allowMultipleInstance": false,
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": true,
"restoreOnlyAgents": false,
"skipClientsofCS": false,
"overrideClientInfo": true,
"unixGroup": "string",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupaAndPermissions": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
},
"ClientComposition": [
{
"components": {
"componentInfo": [
{
"ComponentName": "Oracle",
"ComponentId": 1204
}
]
},
"clientInfo": {
"client": {
"evmgrcPort": 0,
"cvdPort": 0
}
}
}
]
},
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"hostName": "string",
"displayame": "string"
}
}
],
"installOSType": "0- Windows",
"discoveryType": 0,
"ClientAuthForJob": {
"userName": "string",
"password": "string"
}
},
"updateOption": {
"plan": {
"planId": 0
}
}
}
}
}
]
}
}'
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": {},
"subtasks": [
{
"subtask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"clientInstallation": {
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommservehostName": "string",
"installFlags": {
"allowMultipleInstance": false,
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": true,
"restoreOnlyAgents": false,
"skipClientsofCS": false,
"overrideClientInfo": true,
"unixGroup": "string",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupaAndPermissions": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
},
"ClientComposition": [
{
"components": {
"componentInfo": [
{
"ComponentName": "Oracle",
"ComponentId": 1204
}
]
},
"clientInfo": {
"client": {
"evmgrcPort": 0,
"cvdPort": 0
}
}
}
]
},
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"hostName": "string",
"displayame": "string"
}
}
],
"installOSType": "0- Windows",
"discoveryType": 0,
"ClientAuthForJob": {
"userName": "string",
"password": "string"
}
},
"updateOption": {
"plan": {
"planId": 0
}
}
}
}
}
]
}
}'
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": {},
"subtasks": [
{
"subtask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"clientInstallation": {
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommservehostName": "string",
"installFlags": {
"allowMultipleInstance": false,
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": true,
"restoreOnlyAgents": false,
"skipClientsofCS": false,
"overrideClientInfo": true,
"unixGroup": "string",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupaAndPermissions": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
},
"ClientComposition": [
{
"components": {
"componentInfo": [
{
"ComponentName": "Oracle",
"ComponentId": 1204
}
]
},
"clientInfo": {
"client": {
"evmgrcPort": 0,
"cvdPort": 0
}
}
}
]
},
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"hostName": "string",
"displayame": "string"
}
}
],
"installOSType": "0- Windows",
"discoveryType": 0,
"ClientAuthForJob": {
"userName": "string",
"password": "string"
}
},
"updateOption": {
"plan": {
"planId": 0
}
}
}
}
}
]
}
}'