云客服-创建任务:消息样例

时间:2024-09-24 14:46:24

消息样例

场景描述:创建任务

URL:https:// 域名 /service/AICC__Case/1.0.0/openapi/task

  • 请求头:
{
 "Content-Type": "application/json",
 "access-token": "0000000000************7bm63KsRmEztTvyA="
}
  • 请求体:
{
"taskInfo":{
    "title": "test002",
    "description": "test001",
    "type": "Case",
    "ownerId": "10gg00000148QvgpaLAm",
    "relateId": "c6m80000014iXKHqDw3c",
    "dueDate": "2023-07-08 00:00:00",
    "contactId": "ciIy0000013y7cC8T2rA",
    "priority": "Low",
    "creatorId": "10gg00000148QvgpaLAm"
    }
}
  • 响应头:
{ "connection": "keep-alive",
 "Content-Length": "16",
"Content-Type": "application/json%3Bcharset=UTF-8"}
  • 响应参数:
{
  "resCode": "0",
  "resMsg": "成功",
  "result": {"taskId":"ccqG0000014iXvGKONQO"}
}
support.huaweicloud.com/api-ccfs-cec/cec_07_3416.html