创建外呼任务分类
POST /apiv2/voiceMissions.json
调用权限
admin
curl 示例
curl https://{subdomain}.kf5.com/apiv2/voiceMissions.json \ -H "Content-Type: application/json" -v -u {email_address}:{password} -X POST \ -d {"voice_mission": {"name":"new_task","description":"test task","start_time":1512057600,"end_time":1512230400}}
返回示例
Status: 200 OK{ "voice_mission": { "id": 1000013, "name": "new_task", "description": "test task", "status": 10, "start_time": "2017-12-01 00:00:00", "end_time": "2017-12-03 00:00:00", "created_at": "2017-11-17 15:21:41" }}