Add Sybase Server
Select
SaaS
Customer Managed
This operation is used to install Sybase Agent on database servers
- application/json
Request Body
taskInfo object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
- Example 2
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 2255,
"jobIds": [
"37085"
]
}
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": {
"taskFlags": {
"disabled": true
},
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"commCellId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": true
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 0
}
}
],
"installOSType": "string",
"discoveryType": "MANUAL",
"installerOption": {
"RemoteClient": true,
"requestType": "PRE_DECLARE_CLIENT",
"User": {
"userId": 1,
"userName": "admin"
},
"Operationtype": "INSTALL_CLIENT",
"CommServeHostName": "string",
"clientComposition": [
{
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"ComponentName": "string",
"osType": "string",
"ComponentId": 0
}
]
}
}
],
"installFlags": {
"install32Base": true,
"disableOSFirewall": true,
"addToFirewallExclusion": true,
"forceReboot": true,
"killBrowserProcesses": true,
"ignoreJobsRunning": true,
"unixGroup": "string",
"unixGroupAccess": 0,
"unixOtherAccess": 0,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": true,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": true,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": 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": {
"taskFlags": {
"disabled": true
},
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"commCellId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": true
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 0
}
}
],
"installOSType": "string",
"discoveryType": "MANUAL",
"installerOption": {
"RemoteClient": true,
"requestType": "PRE_DECLARE_CLIENT",
"User": {
"userId": 1,
"userName": "admin"
},
"Operationtype": "INSTALL_CLIENT",
"CommServeHostName": "string",
"clientComposition": [
{
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"ComponentName": "string",
"osType": "string",
"ComponentId": 0
}
]
}
}
],
"installFlags": {
"install32Base": true,
"disableOSFirewall": true,
"addToFirewallExclusion": true,
"forceReboot": true,
"killBrowserProcesses": true,
"ignoreJobsRunning": true,
"unixGroup": "string",
"unixGroupAccess": 0,
"unixOtherAccess": 0,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": true,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": true,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": 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": {
"taskFlags": {
"disabled": true
},
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"commCellId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": true
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 0
}
}
],
"installOSType": "string",
"discoveryType": "MANUAL",
"installerOption": {
"RemoteClient": true,
"requestType": "PRE_DECLARE_CLIENT",
"User": {
"userId": 1,
"userName": "admin"
},
"Operationtype": "INSTALL_CLIENT",
"CommServeHostName": "string",
"clientComposition": [
{
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"ComponentName": "string",
"osType": "string",
"ComponentId": 0
}
]
}
}
],
"installFlags": {
"install32Base": true,
"disableOSFirewall": true,
"addToFirewallExclusion": true,
"forceReboot": true,
"killBrowserProcesses": true,
"ignoreJobsRunning": true,
"unixGroup": "string",
"unixGroupAccess": 0,
"unixOtherAccess": 0,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": true,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": true,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": 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": {
"taskFlags": {
"disabled": true
},
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"commCellId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": true
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 0
}
}
],
"installOSType": "string",
"discoveryType": "MANUAL",
"installerOption": {
"RemoteClient": true,
"requestType": "PRE_DECLARE_CLIENT",
"User": {
"userId": 1,
"userName": "admin"
},
"Operationtype": "INSTALL_CLIENT",
"CommServeHostName": "string",
"clientComposition": [
{
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"ComponentName": "string",
"osType": "string",
"ComponentId": 0
}
]
}
}
],
"installFlags": {
"install32Base": true,
"disableOSFirewall": true,
"addToFirewallExclusion": true,
"forceReboot": true,
"killBrowserProcesses": true,
"ignoreJobsRunning": true,
"unixGroup": "string",
"unixGroupAccess": 0,
"unixOtherAccess": 0,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": true,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": true,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": 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": {
"taskFlags": {
"disabled": true
},
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"commCellId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": true
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 0
}
}
],
"installOSType": "string",
"discoveryType": "MANUAL",
"installerOption": {
"RemoteClient": true,
"requestType": "PRE_DECLARE_CLIENT",
"User": {
"userId": 1,
"userName": "admin"
},
"Operationtype": "INSTALL_CLIENT",
"CommServeHostName": "string",
"clientComposition": [
{
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"ComponentName": "string",
"osType": "string",
"ComponentId": 0
}
]
}
}
],
"installFlags": {
"install32Base": true,
"disableOSFirewall": true,
"addToFirewallExclusion": true,
"forceReboot": true,
"killBrowserProcesses": true,
"ignoreJobsRunning": true,
"unixGroup": "string",
"unixGroupAccess": 0,
"unixOtherAccess": 0,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": true,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": true,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": 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": {
"taskFlags": {
"disabled": true
},
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"commCellId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": true
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 0
}
}
],
"installOSType": "string",
"discoveryType": "MANUAL",
"installerOption": {
"RemoteClient": true,
"requestType": "PRE_DECLARE_CLIENT",
"User": {
"userId": 1,
"userName": "admin"
},
"Operationtype": "INSTALL_CLIENT",
"CommServeHostName": "string",
"clientComposition": [
{
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"ComponentName": "string",
"osType": "string",
"ComponentId": 0
}
]
}
}
],
"installFlags": {
"install32Base": true,
"disableOSFirewall": true,
"addToFirewallExclusion": true,
"forceReboot": true,
"killBrowserProcesses": true,
"ignoreJobsRunning": true,
"unixGroup": "string",
"unixGroupAccess": 0,
"unixOtherAccess": 0,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": true,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": true,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": 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": {
"taskFlags": {
"disabled": true
},
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"commCellId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "ADMIN",
"operationType": "INSTALL_CLIENT"
},
"options": {
"adminOpts": {
"updateOption": {
"rebootClient": true
},
"clientInstallOption": {
"clientDetails": [
{
"clientEntity": {
"clientName": "string",
"commCellId": 0
}
}
],
"installOSType": "string",
"discoveryType": "MANUAL",
"installerOption": {
"RemoteClient": true,
"requestType": "PRE_DECLARE_CLIENT",
"User": {
"userId": 1,
"userName": "admin"
},
"Operationtype": "INSTALL_CLIENT",
"CommServeHostName": "string",
"clientComposition": [
{
"clientInfo": {
"client": {
"cvdPort": 0,
"evmgrcPort": 0
}
},
"components": {
"componentInfo": [
{
"ComponentName": "string",
"osType": "string",
"ComponentId": 0
}
]
}
}
],
"installFlags": {
"install32Base": true,
"disableOSFirewall": true,
"addToFirewallExclusion": true,
"forceReboot": true,
"killBrowserProcesses": true,
"ignoreJobsRunning": true,
"unixGroup": "string",
"unixGroupAccess": 0,
"unixOtherAccess": 0,
"overrideUnixGroupAndPermissions": true,
"restoreOnlyAgents": true,
"overrideClientInfo": true,
"firewallInstall": {
"enableFirewallConfig": true,
"firewallConnectionType": 0,
"portNumber": 0
}
}
},
"clientAuthForJob": {
"userName": "string",
"password": "string"
},
"reuseADCredentials": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'