Create a Request Configuration
This operation creates a request
Request Body
Name | Description |
entity | -- |
operation | -- |
summary | Desired name of request |
type | Type of request values:- "delete"- "export" |
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
msg object
tasks object[]
{
"msg": {
"errorMessage": "string",
"errorCode": 0
},
"tasks": [
{
"taskInfo": {
"summary": "string",
"dueDate": 0,
"description": "string",
"url": "string",
"taskType": 0,
"taskId": 0,
"status": 0
}
}
]
}
{
"msg": {
"errorMessage": "Successful",
"errorCode": 0
},
"tasks": [
{
"taskInfo": {
"summary": "TestRequest1",
"dueDate": 0,
"description": "",
"url": "",
"taskType": 9515,
"taskId": 132,
"status": 1
}
}
]
}
POST /ediscoveryclient/createtask
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClient/CreateTask' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClient/CreateTask' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClient/CreateTask' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClient/CreateTask' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClient/CreateTask' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClient/CreateTask' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClient/CreateTask' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''