简要描述:
- 更新任务
请求URL:
字段名 | 是否必填 | 描述 |
---|---|---|
id | true | 任务的id,替换掉url的:id |
请求方式:
- DELETE
请求头:
- 请参考接口必读
请求参数:
请求参数说明
- 请参考接口必读
返回示例:
正确时返回:
{
"code": 0,
"data": {
"id": 52748,
"title": "",
"description": "",
"remind_at": "2017-12-12 00:00",
"remind_status": "todo",
"scheduleable_type": "Event",
"scheduleable": {
"id": 2931,
"user": {
"id": 1,
"email": "test@qq.com",
"created_at": "2017-04-13T00:00:00.000+08:00",
"name": "test@qq.com",
"organization_id": 30,
"phone": "157214621171",
"role_id": 86,
"workflow_state": "organization_owner",
"job": "6666",
"tel": "021-45555555",
"avatar_url": "https://dn-ikcrm-files-dev.qbox.me/attachments/files/14088/1.jpg?imageMogr2/thumbnail/!100x100r/crop/!100x100/format/jpg/auto-orient",
"department_name": "研发2部"
},
"note": "12121212",
"remind_at": "2017-12-12 00:00",
"remind_type": "punctual",
"remind_type_i18n": "准时",
"related_item_id": 0,
"related_item_type": "",
"related_item": {},
"event_url": "ikcrm://events?klass_name=Event&id=52748",
"event_identifier": "",
"images_attachments": [],
"image_attachments": [],
"audios": [],
"event_users": [
{
"id": 2221483,
"email": "18516501882@qq.com",
"created_at": "2017-06-02T09:44:30.000+08:00",
"name": "test111",
"organization_id": 30,
"phone": "18516501882",
"role_id": 0,
"workflow_state": "awaiting_organization_staff_confirm_phone",
"job": "",
"tel": "",
"avatar_url": "http://e.ikcrm.dev/assets/male.jpg",
"department_name": "研发部"
}
],
"created_at": "2017-10-18 16:51"
},
"event_type": "",
"event_name": "",
"timestamp": 1508316709,
"content": "12121212"
}
}
错误时返回:
{
"code": 100000,
"message": "device参数错误",
"error": "invalid_app_error"
}
返回参数说明:
暂无
备注:
- 更多返回错误代码请看错误码表描述
文档更新时间: 2025-04-29 14:18 作者:陈胜海