Create new Send logs job
Select
SaaS
Customer Managed
This operation is used to trigger a new send logs job
- application/json
Request Body
taskInfo object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1 ( For Comm Cell)
- Example 2 ( For Job I D)
- Example 3 ( For Client)
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 341094,
"jobIds": [
15383507
]
}
{
"taskId": 341094,
"jobIds": [
15384978
]
}
{
"taskId": 341307,
"jobIds": [
15384981
]
}
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": 0,
"initiatedFrom": 0,
"policyType": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"adminOpts": {
"sendLogFilesOption": {
"actionLogsEndJobId": 0,
"emailSelected": true,
"jobid": 0,
"tsDatabase": true,
"galaxyLogs": true,
"getLatestUpdates": true,
"actionLogsStartJobId": 0,
"computersSelected": true,
"csDatabase": true,
"otherDatabases": true,
"crashDump": true,
"isNetworkPath": true,
"saveToFolderSelected": true,
"notifyMe": true,
"includeJobResults": true,
"doNotIncludeLogs": true,
"machineInformation": true,
"scrubLogFiles": true,
"emailSubject": "string",
"osLogs": true,
"allUsersProfile": true,
"splitFileSizeMB": 512,
"actionLogs": true,
"includeIndex": true,
"databaseLogs": true,
"includeDCDB": true,
"collectHyperScale": true,
"logFragments": true,
"uploadLogsSelected": true,
"useDefaultUploadOption": true,
"enableChunking": true,
"collectRFC": true,
"collectUserAppLogs": true,
"impersonateUser": {
"useImpersonation": true
},
"clients": [
"string"
],
"recipientCc": {
"emailids": [
null
],
"users": [
null
],
"userGroups": [
null
]
},
"sendLogsOnJobCompletion": 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": 0,
"initiatedFrom": 0,
"policyType": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"adminOpts": {
"sendLogFilesOption": {
"actionLogsEndJobId": 0,
"emailSelected": true,
"jobid": 0,
"tsDatabase": true,
"galaxyLogs": true,
"getLatestUpdates": true,
"actionLogsStartJobId": 0,
"computersSelected": true,
"csDatabase": true,
"otherDatabases": true,
"crashDump": true,
"isNetworkPath": true,
"saveToFolderSelected": true,
"notifyMe": true,
"includeJobResults": true,
"doNotIncludeLogs": true,
"machineInformation": true,
"scrubLogFiles": true,
"emailSubject": "string",
"osLogs": true,
"allUsersProfile": true,
"splitFileSizeMB": 512,
"actionLogs": true,
"includeIndex": true,
"databaseLogs": true,
"includeDCDB": true,
"collectHyperScale": true,
"logFragments": true,
"uploadLogsSelected": true,
"useDefaultUploadOption": true,
"enableChunking": true,
"collectRFC": true,
"collectUserAppLogs": true,
"impersonateUser": {
"useImpersonation": true
},
"clients": [
"string"
],
"recipientCc": {
"emailids": [
null
],
"users": [
null
],
"userGroups": [
null
]
},
"sendLogsOnJobCompletion": 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": 0,
"initiatedFrom": 0,
"policyType": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"adminOpts": {
"sendLogFilesOption": {
"actionLogsEndJobId": 0,
"emailSelected": true,
"jobid": 0,
"tsDatabase": true,
"galaxyLogs": true,
"getLatestUpdates": true,
"actionLogsStartJobId": 0,
"computersSelected": true,
"csDatabase": true,
"otherDatabases": true,
"crashDump": true,
"isNetworkPath": true,
"saveToFolderSelected": true,
"notifyMe": true,
"includeJobResults": true,
"doNotIncludeLogs": true,
"machineInformation": true,
"scrubLogFiles": true,
"emailSubject": "string",
"osLogs": true,
"allUsersProfile": true,
"splitFileSizeMB": 512,
"actionLogs": true,
"includeIndex": true,
"databaseLogs": true,
"includeDCDB": true,
"collectHyperScale": true,
"logFragments": true,
"uploadLogsSelected": true,
"useDefaultUploadOption": true,
"enableChunking": true,
"collectRFC": true,
"collectUserAppLogs": true,
"impersonateUser": {
"useImpersonation": true
},
"clients": [
"string"
],
"recipientCc": {
"emailids": [
null
],
"users": [
null
],
"userGroups": [
null
]
},
"sendLogsOnJobCompletion": 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": 0,
"initiatedFrom": 0,
"policyType": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"adminOpts": {
"sendLogFilesOption": {
"actionLogsEndJobId": 0,
"emailSelected": true,
"jobid": 0,
"tsDatabase": true,
"galaxyLogs": true,
"getLatestUpdates": true,
"actionLogsStartJobId": 0,
"computersSelected": true,
"csDatabase": true,
"otherDatabases": true,
"crashDump": true,
"isNetworkPath": true,
"saveToFolderSelected": true,
"notifyMe": true,
"includeJobResults": true,
"doNotIncludeLogs": true,
"machineInformation": true,
"scrubLogFiles": true,
"emailSubject": "string",
"osLogs": true,
"allUsersProfile": true,
"splitFileSizeMB": 512,
"actionLogs": true,
"includeIndex": true,
"databaseLogs": true,
"includeDCDB": true,
"collectHyperScale": true,
"logFragments": true,
"uploadLogsSelected": true,
"useDefaultUploadOption": true,
"enableChunking": true,
"collectRFC": true,
"collectUserAppLogs": true,
"impersonateUser": {
"useImpersonation": true
},
"clients": [
"string"
],
"recipientCc": {
"emailids": [
null
],
"users": [
null
],
"userGroups": [
null
]
},
"sendLogsOnJobCompletion": 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": 0,
"initiatedFrom": 0,
"policyType": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"adminOpts": {
"sendLogFilesOption": {
"actionLogsEndJobId": 0,
"emailSelected": true,
"jobid": 0,
"tsDatabase": true,
"galaxyLogs": true,
"getLatestUpdates": true,
"actionLogsStartJobId": 0,
"computersSelected": true,
"csDatabase": true,
"otherDatabases": true,
"crashDump": true,
"isNetworkPath": true,
"saveToFolderSelected": true,
"notifyMe": true,
"includeJobResults": true,
"doNotIncludeLogs": true,
"machineInformation": true,
"scrubLogFiles": true,
"emailSubject": "string",
"osLogs": true,
"allUsersProfile": true,
"splitFileSizeMB": 512,
"actionLogs": true,
"includeIndex": true,
"databaseLogs": true,
"includeDCDB": true,
"collectHyperScale": true,
"logFragments": true,
"uploadLogsSelected": true,
"useDefaultUploadOption": true,
"enableChunking": true,
"collectRFC": true,
"collectUserAppLogs": true,
"impersonateUser": {
"useImpersonation": true
},
"clients": [
"string"
],
"recipientCc": {
"emailids": [
null
],
"users": [
null
],
"userGroups": [
null
]
},
"sendLogsOnJobCompletion": 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": 0,
"initiatedFrom": 0,
"policyType": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"adminOpts": {
"sendLogFilesOption": {
"actionLogsEndJobId": 0,
"emailSelected": true,
"jobid": 0,
"tsDatabase": true,
"galaxyLogs": true,
"getLatestUpdates": true,
"actionLogsStartJobId": 0,
"computersSelected": true,
"csDatabase": true,
"otherDatabases": true,
"crashDump": true,
"isNetworkPath": true,
"saveToFolderSelected": true,
"notifyMe": true,
"includeJobResults": true,
"doNotIncludeLogs": true,
"machineInformation": true,
"scrubLogFiles": true,
"emailSubject": "string",
"osLogs": true,
"allUsersProfile": true,
"splitFileSizeMB": 512,
"actionLogs": true,
"includeIndex": true,
"databaseLogs": true,
"includeDCDB": true,
"collectHyperScale": true,
"logFragments": true,
"uploadLogsSelected": true,
"useDefaultUploadOption": true,
"enableChunking": true,
"collectRFC": true,
"collectUserAppLogs": true,
"impersonateUser": {
"useImpersonation": true
},
"clients": [
"string"
],
"recipientCc": {
"emailids": [
null
],
"users": [
null
],
"userGroups": [
null
]
},
"sendLogsOnJobCompletion": 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": 0,
"initiatedFrom": 0,
"policyType": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"adminOpts": {
"sendLogFilesOption": {
"actionLogsEndJobId": 0,
"emailSelected": true,
"jobid": 0,
"tsDatabase": true,
"galaxyLogs": true,
"getLatestUpdates": true,
"actionLogsStartJobId": 0,
"computersSelected": true,
"csDatabase": true,
"otherDatabases": true,
"crashDump": true,
"isNetworkPath": true,
"saveToFolderSelected": true,
"notifyMe": true,
"includeJobResults": true,
"doNotIncludeLogs": true,
"machineInformation": true,
"scrubLogFiles": true,
"emailSubject": "string",
"osLogs": true,
"allUsersProfile": true,
"splitFileSizeMB": 512,
"actionLogs": true,
"includeIndex": true,
"databaseLogs": true,
"includeDCDB": true,
"collectHyperScale": true,
"logFragments": true,
"uploadLogsSelected": true,
"useDefaultUploadOption": true,
"enableChunking": true,
"collectRFC": true,
"collectUserAppLogs": true,
"impersonateUser": {
"useImpersonation": true
},
"clients": [
"string"
],
"recipientCc": {
"emailids": [
null
],
"users": [
null
],
"userGroups": [
null
]
},
"sendLogsOnJobCompletion": true
}
}
}
}
]
}
}'