云客服-查询任务详情:消息样例

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

消息样例

场景描述:查询任务详情

URL:https:// 域名 /service/AICC__Case/1.0.0/openapi/task/{id}

  • 请求头:
{
 "Content-Type": "application/json",
 "access-token": "0000000000************7bm63KsRmEztTvyA="
}
  • 请求体:
{
   "id":"ccqG00000138H6u8bTwe"
}
  • 响应头:
{ "connection": "keep-alive",
 "Content-Length": "16",
"Content-Type": "application/json%3Bcharset=UTF-8"}
  • 响应参数:
    {
        "resCode": "0",
        "resMsg": "成功",
        "result": {
            "caseInfos": [
                {
                    "attachment": "",
                    "caseNo": "000000000000000000000000000006",
                    "closedDate": null,
                    "contactId": "ciIy0000013y7cC8T2rA",
                    "contactPhone": null,
                    "createdDate": "2023-07-07 14:43:15",
                    "creatorId": "10gg00000148QvgpaLAm",
                    "description": "0704test",
                    "dueDate": "2023-07-22 00:00:00",
                    "extternalNo": null,
                    "id": "c6m80000014iXKHqDw3c",
                    "isUpgraded": false,
                    "origin": "Voice",
                    "ownerId": "10gg00000148QvgpaLAm",
                    "parentId": null,
                    "priority": "Low",
                    "reason": null,
                    "state": "Processing",
                    "status": "tttttt",
                    "stayDate": null,
                    "suspendAccumulatedTime": null,
                    "suspendDate": null,
                    "title": "0704test",
                    "type": "cvmC0000014ddysLTCZk"
                }
            ],
            "customerInfo": {
                "customerInfo": {
                    "address": {
                        "addressLine1": null,
                        "addressLine2": null,
                        "addressLine3": null,
                        "addressLine4": null,
                        "addressLine5": null,
                        "addtionalAddress": null,
                        "area": null,
                        "block": null,
                        "buildingNo": null,
                        "city": null,
                        "country": null,
                        "defaultBillingAddress": false,
                        "defaultShippingAddress": false,
                        "firstName": null,
                        "id": "cw8O0000013y7cCDIE4G",
                        "label": null,
                        "lastName": null,
                        "middleName": null,
                        "phoneNumber1": null,
                        "phoneNumber2": null,
                        "province": null,
                        "roomNo": null,
                        "street": null,
                        "subjectId": "ciIy0000013y7cC8T2rA",
                        "title": null,
                        "town": null,
                        "zip": null
                    },
                    "age": null,
                    "bindAccount": [],
                    "birthDay": null,
                    "cellPhone1": "15005167393",
                    "cellPhone2": null,
                    "cellPhone3": null,
                    "channel": null,
                    "createdDate": "2023-06-09 15:33:35",
                    "customFied": null,
                    "customerName": "客户1",
                    "description": null,
                    "email": "customer@huawei.com",
                    "email1": null,
                    "email2": null,
                    "fax": null,
                    "firstName": null,
                    "gender": null,
                    "id": "ciIy0000013y7cC8T2rA",
                    "lastModifiedDate": "2023-06-09 15:33:35",
                    "lastName": null,
                    "level": null,
                    "middleName": null,
                    "name": null,
                    "nickName": null,
                    "organization": {
                        "description": null,
                        "email": null,
                        "fax": null,
                        "fixedPhone": null,
                        "id": "cBbs0000013y7cBnkKMS",
                        "industry": null,
                        "logo": null,
                        "organizationName": "公司",
                        "scale": null,
                        "summary": null,
                        "website": null
                    },
                    "organizationId": "cBbs0000013y7cBnkKMS",
                    "phone": null,
                    "phone1": null,
                    "phone2": null,
                    "phone3": null,
                    "picture": null,
                    "remark": null,
                    "status": null,
                    "title": null,
                    "website": null
                }
            },
            "taskInfo": {
                "attachment": "",
                "closedDate": null,
                "contactId": "ciIy0000013y7cC8T2rA",
                "createdDate": "2023-07-07 14:51:35",
                "creatorId": "10gg00000148QvgpaLAm",
                "creatorName": "10gg00000148QvgpaLAm",
                "description": "test001",
                "dueDate": "2023-07-08 00:00:00",
                "id": "ccqG0000014iXvGKONQO",
                "ownerId": "10gg00000148QvgpaLAm",
                "ownerName": "liuhuqiong001",
                "priority": "Low",
                "relateId": "c6m80000014iXKHqDw3c",
                "status": "Pending",
                "stayDate": null,
                "taskNo": "000000000000000000000000001002",
                "title": "test002",
                "type": "Case"
            },
            "taskTrace": [
                {
                    "creatorId": "10gg00000148QvgpaLAm",
                    "creatorName": "10gg00000148QvgpaLAm",
                    "description": null,
                    "relatedId": null,
                    "title": null,
                    "type": "CreateTask"
                }
            ]
        }
    }
support.huaweicloud.com/api-ccfs-cec/cec_07_3418.html