方法名称
hotel.sr.v2.visual
使用说明
通过该接口获取工单的可视化详情和聊天记录
输入参数
节点 | 名称 | 类型 | 可为空 | 说明 |
---|---|---|---|---|
SrId | 工单号 | Integer | N | 工单号 |
OrderId | 订单号 | Long | N | 订单号 |
响应结果
节点 | 名称 | 类型 | 可为空 | 说明 |
---|---|---|---|---|
ProcessStatus | 工单状态 | Integer | N | 工单状态 0-未完成,1-已完成 |
VisualList | 数据列表 | SrVisualInfo | Y | 参照 SrVisualInfo 节点 |
CommunicationList | 工单下所有沟通记录及附件 | List<CommunicationInfo> | Y | 工单下所有沟通记录及附件 |
SrVisualInfo节点
节点 | 名称 | 类型 | 可为空 | 说明 |
---|---|---|---|---|
SrId | 工单ID | String | N | |
Message | 可视化信息文案 | String | N | 1马上分配专员跟进,2预计1小时内处理完成,3您的申请已通过,谢谢!, 4您的申请未通过,建议正常入住,如有疑问请联系在线客服或者电话客服95711, 5您的申请将被专员积极协调,结果会第一时间同步您,请耐心等待,感谢理解与支持! |
MessageType | 信息类型 | Integer | N | 1-申请已受理,2-处理中,3-申请已通过,4-申请未通过,5-已完成 |
VisualTitle | 可视化标题 | String | N | 申请已受理,处理中,申请已通过,申请未通过,已完成 |
CreateTime | 创建时间 | String | N | yyyy-MM-dd HH:mm:ss |
CommunicationInfo节点
节点 | 名称 | 类型 | 可为空 | 说明 |
---|---|---|---|---|
FromChannel | 发送方 | Integer | N | 1-mis客服 4-分销 |
Content | 聊天内容 | String | N | |
CreateTime | 创建时间 | String | N | yyyy-MM-dd HH:mm:ss |
AttachmentList | 附件列表 | List<String> | Y |
输入参数示例
http://api.elong.com/rest?format=json& data={ "Version": 1.00, "Local": "zh_CN", "Request": { "OrderId": 10053669020, "SrId": 113292 } }&signature=92065062bace87c25b203483f5daf41e& timestamp=1628131376&user={user}&method=hotel.sr.v2.visual
输出参数示例
{ "Code": "0", "Result": { "ProcessStatus": 0, "SrResult": "未选择", "ApplyStatusCode": 0, "CommunicationList": [ { "FromChannel": 4, "Content": "测试内容111", "CreateTime": "2025-07-04T16:04:11+08:00", "AttachmentList": [ "http://example.com/attachments/001.jpg" ] }, { "FromChannel": 4, "Content": "测试内容111", "CreateTime": "2025-06-30T10:06:47+08:00", "AttachmentList": [ "http://example.com/attachments/001.jpg" ] }, { "FromChannel": 4, "Content": "测试内容1", "CreateTime": "2025-06-30T10:04:09+08:00", "AttachmentList": [ "http://example.com/attachments/001.jpg" ] } ], "VisualList": [ { "SrId": 113292, "Message": "您反馈的订单信息相关问题已收到,已有专人跟进中,请您耐心等待。", "MessageType": 1, "visualTitle": "申请已受理", "createTime": "2025-06-30T10:04:09+08:00" } ] }, "Guid": "dsafdsaf" }
注意事项
无。