获取工单状态

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String QueryTaskInfo

系统规定参数。取值:QueryTaskInfo

OrderId String E220303AE1BYY3

任务单EID

eid(String)任务单ID 必传

返回数据

名称 类型 示例值 描述
Message String ok

接口请求描述

RequestId String 43135C31-E47A-5AD7-A693-6DC635201CE4

接口交互id

Data String {"taskStatus": "dealingNode","eid": "E21111796147LE",[{{ "senderId": null, "msgType": "template", "msgContent": "{\"title\":\"小二回复\",\"text\": \"小二回复 \\n\\n ###### <font color=#13c2c2>Current handler:王龙</font> \"}", "groupId": "cidXcezGVQJjiWy2PzXylGwvg==", "msgId": null, "id": 27623677, "senderNick": "阿里云服务台", "gmtCreate": 1637138037000, "class": "com.aliyun.dingtalklanding.dto.ChatRecordDTO", "sendTime": 1637138037000, "senderRole": null }}]}

任务单详情数据

Code String 200

状态值

Success Boolean true

接口请求是否成功

taskStatus(String):

工单状态:dealingNode:处理中;feedbackNode

示例

请求示例

http(s)://[Endpoint]/?Action=QueryTaskInfo
&OrderId=E220303AE1BYY3
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<QueryTaskInfoResponse>
    <Message>ok</Message>
    <RequestId>43135C31-E47A-5AD7-A693-6DC635201CE4</RequestId>
    <Data>{"taskStatus": "dealingNode","eid": "E21111796147LE",[{{         "senderId": null,         "msgType": "template",         "msgContent": "{\"title\":\"小二回复\",\"text\": \"小二回复 \\n\\n ###### &lt;font color=#13c2c2&gt;Current handler:王龙&lt;/font&gt; \"}",         "groupId": "cidXcezGVQJjiWy2PzXylGwvg==",         "msgId": null,         "id": 27623677,         "senderNick": "阿里云服务台",         "gmtCreate": 1637138037000,         "class": "com.aliyun.dingtalklanding.dto.ChatRecordDTO",         "sendTime": 1637138037000,         "senderRole": null       }}]}</Data>
    <Code>200</Code>
    <Success>true</Success>
</QueryTaskInfoResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Message" : "ok",
  "RequestId" : "43135C31-E47A-5AD7-A693-6DC635201CE4",
  "Data" : "{\"taskStatus\": \"dealingNode\",\"eid\": \"E21111796147LE\",[{{         \"senderId\": null,         \"msgType\": \"template\",         \"msgContent\": \"{\\\"title\\\":\\\"小二回复\\\",\\\"text\\\": \\\"小二回复 \\\\n\\\\n ###### <font color=#13c2c2>Current handler:王龙</font> \\\"}\",         \"groupId\": \"cidXcezGVQJjiWy2PzXylGwvg==\",         \"msgId\": null,         \"id\": 27623677,         \"senderNick\": \"阿里云服务台\",         \"gmtCreate\": 1637138037000,         \"class\": \"com.aliyun.dingtalklanding.dto.ChatRecordDTO\",         \"sendTime\": 1637138037000,         \"senderRole\": null       }}]}",
  "Code" : "200",
  "Success" : true
}

错误码

访问错误中心查看更多错误码。