编辑外呼任务分类
PUT /apiv2/voiceMissions/{id}.json
调用权限
admin
curl 示例
curl https://{subdomain}.kf5.com/apiv2/voiceMissions/1000013.json \ -H "Content-Type: application/json" -v -u {email_address}:{password} -X PUT \ -d {"voice_mission": {"name":"new_task","description":"test task","start_time":1512057600,"end_time":1512230402}}
返回示例
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:02", "created_at": "2017-11-17 15:21:41" }}