{
"taskId": 0,
"taskName": "",
"sceneId": "",
"executeType": 1,
"concurrency": 1,
"maxAttempts": 2,
"attemptInterval": 5,
"callerList": [
{
"phoneNumber": "",
"phonePrefix": ""
}
],
"executeStartTime": "2022-12-25 16:30:00",
"executeEndTime": "2022-12-25 17:30:00",
"calleeList": [
{
"calleePhone": "",
"variableParams": [
{
"key": "",
"value": ""
}
]
}
]
}curl --location --request POST '/outcall/task/createTaskWithApi' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskId": 0,
"taskName": "",
"sceneId": "",
"executeType": 1,
"concurrency": 1,
"maxAttempts": 2,
"attemptInterval": 5,
"callerList": [
{
"phoneNumber": "",
"phonePrefix": ""
}
],
"executeStartTime": "2022-12-25 16:30:00",
"executeEndTime": "2022-12-25 17:30:00",
"calleeList": [
{
"calleePhone": "",
"variableParams": [
{
"key": "",
"value": ""
}
]
}
]
}'{
"code": 0,
"message": "",
"data": {
"id": 0,
"ownerId": 0,
"taskUuid": "",
"instanceUuid": "",
"sceneName": "",
"scenesUuid": "",
"name": "",
"sceneId": 0,
"callerNumber": 0,
"executeType": "IMMEDIATE",
"startTime": "yyyy-MM-dd HH:mm:ss",
"endTime": "yyyy-MM-dd HH:mm:ss",
"priority": "DAILY",
"maxConcurrency": 0,
"locationStrategy": "NO_STRATEGY",
"ringDuration": 0,
"maxDailyAttempts": 0,
"retryInterval": 0,
"repeatFilterStrategy": 0,
"repeatNumberStrategy": true,
"status": "DRAFT",
"creatorId": 0,
"createdAt": "yyyy-MM-dd HH:mm:ss",
"updatedAt": "yyyy-MM-dd HH:mm:ss",
"isDel": true,
"workingTime": [
{
"beginTime": "",
"endTime": ""
}
],
"repeatDays": [
""
],
"repeatBy": "NO",
"channel": "宇跃",
"errorMsg": ""
}
}