跳到主要内容

创建筛选任务

POST /api/openapi/addTask

基于上传文件接口返回的文件路径创建筛选任务。

请求示例

{
"description": "美国202501..txt",
"countryCode": "US",
"countryAreaCode": "1",
"taskType": "wsExist",
"fileName": "/profile//2025/09/06/美国202501._20250906180407A028.txt",
"sourceFileName": "美国202501..txt"
}

参数说明

参数名类型必填说明
descriptionString原始文件名
countryCodeString国家代码(如:US)
countryAreaCodeString区域代码(如:1)
taskTypeString筛选类型,见任务类型列表
fileNameString文件路径(由上传接口返回)
sourceFileNameString原始文件名

返回示例

{
"code": 200,
"msg": "操作成功",
"data": "TASK-20250119213001-1001"
}

返回说明