Install SAP HANA Agent on Database server
Select
SaaS
Customer Managed
SAP HANA Agent Installtion
- 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": 2019,
"jobIds": [
"2399"
]
}
Bad Request
- application/json
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
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://localhost/commandcenter/api/createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"task": {
"taskType": "IMMEDIATE"
},
"associations": [
{
"commCellId": 2
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": false
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 2
}
}
],
"installOSType": "string",
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommServeHostName": "string",
"clientComposition": [
{
"overrideSoftwareCache": false,
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"osType": "Unix",
"ComponentId": 1210
}
]
}
}
],
"installFlags": {
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": false,
"skipClientsOfCS": false,
"unixGroup": "sapsys",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": false,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": false
}
},
"commonOpts": {
"notifyUserOnJobCompletion": false
}
}
}
]
}
}'
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": {
"task": {
"taskType": "IMMEDIATE"
},
"associations": [
{
"commCellId": 2
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": false
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 2
}
}
],
"installOSType": "string",
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommServeHostName": "string",
"clientComposition": [
{
"overrideSoftwareCache": false,
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"osType": "Unix",
"ComponentId": 1210
}
]
}
}
],
"installFlags": {
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": false,
"skipClientsOfCS": false,
"unixGroup": "sapsys",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": false,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": false
}
},
"commonOpts": {
"notifyUserOnJobCompletion": false
}
}
}
]
}
}'
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": {
"task": {
"taskType": "IMMEDIATE"
},
"associations": [
{
"commCellId": 2
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": false
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 2
}
}
],
"installOSType": "string",
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommServeHostName": "string",
"clientComposition": [
{
"overrideSoftwareCache": false,
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"osType": "Unix",
"ComponentId": 1210
}
]
}
}
],
"installFlags": {
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": false,
"skipClientsOfCS": false,
"unixGroup": "sapsys",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": false,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": false
}
},
"commonOpts": {
"notifyUserOnJobCompletion": false
}
}
}
]
}
}'
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": {
"task": {
"taskType": "IMMEDIATE"
},
"associations": [
{
"commCellId": 2
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": false
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 2
}
}
],
"installOSType": "string",
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommServeHostName": "string",
"clientComposition": [
{
"overrideSoftwareCache": false,
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"osType": "Unix",
"ComponentId": 1210
}
]
}
}
],
"installFlags": {
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": false,
"skipClientsOfCS": false,
"unixGroup": "sapsys",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": false,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": false
}
},
"commonOpts": {
"notifyUserOnJobCompletion": false
}
}
}
]
}
}'
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": {
"task": {
"taskType": "IMMEDIATE"
},
"associations": [
{
"commCellId": 2
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": false
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 2
}
}
],
"installOSType": "string",
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommServeHostName": "string",
"clientComposition": [
{
"overrideSoftwareCache": false,
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"osType": "Unix",
"ComponentId": 1210
}
]
}
}
],
"installFlags": {
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": false,
"skipClientsOfCS": false,
"unixGroup": "sapsys",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": false,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": false
}
},
"commonOpts": {
"notifyUserOnJobCompletion": false
}
}
}
]
}
}'
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": {
"task": {
"taskType": "IMMEDIATE"
},
"associations": [
{
"commCellId": 2
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": false
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 2
}
}
],
"installOSType": "string",
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommServeHostName": "string",
"clientComposition": [
{
"overrideSoftwareCache": false,
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"osType": "Unix",
"ComponentId": 1210
}
]
}
}
],
"installFlags": {
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": false,
"skipClientsOfCS": false,
"unixGroup": "sapsys",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": false,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": false
}
},
"commonOpts": {
"notifyUserOnJobCompletion": false
}
}
}
]
}
}'
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": {
"task": {
"taskType": "IMMEDIATE"
},
"associations": [
{
"commCellId": 2
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": false
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 2
}
}
],
"installOSType": "string",
"installerOption": {
"User": {
"userId": 1,
"userName": "ADMIN"
},
"CommServeHostName": "string",
"clientComposition": [
{
"overrideSoftwareCache": false,
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"osType": "Unix",
"ComponentId": 1210
}
]
}
}
],
"installFlags": {
"install32Base": false,
"disableOSFirewall": false,
"addToFirewallExclusion": true,
"forceReboot": false,
"killBrowserProcesses": true,
"ignoreJobsRunning": false,
"stopOracleServices": false,
"skipClientsOfCS": false,
"unixGroup": "sapsys",
"unixGroupAccess": 7,
"unixOtherAccess": 5,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": false,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": false,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": false
}
},
"commonOpts": {
"notifyUserOnJobCompletion": false
}
}
}
]
}
}'