任务控制
- 任务控制,启动任务呼叫、暂停任务呼叫等操作。
接口地址
GET/auto_call_api/getTaskAction.php
参数:
| 参数名 | 是否必须 | 类型 | 参数值 | 说明 | 
|---|---|---|---|---|
| username | 是 | string | 用户名 | |
| password | 是 | string | 密码 | |
| company_code | 是 | string | 公司编号 | |
| task_id | 是 | string | 任务id | |
| action | 是 | string | 控制指令, del,run,push,stop,分别对应删除,运行,暂停,停止 | |
| group_ids | 否 | string | 号码组id, action 为 run 时,group_ids为必传,action 为 del,push,stop ,group_ids不传 | 
请求示例
http://[ip]/auto_call_api/getTaskAction.php?username=admin&password=test&company_code=test&task_id=19&action=stop&group_ids=25
返回信息
{
    "status": "200",
    "msg": "stop",
    "data": null
}
| 参数名 | 类型 | 参数值 | 
|---|---|---|
| status | boolean | 状态码 | 
| msg | string | 返回当前控制指令 |