# 1 请求参数:

字段名称 字段说明 类型 必须 备注
payload.type 请求类型 String Y SERVICE
payload.services 服务请求 Arrar Y 如下
services[-].question 问题 String Y -
services[-].answer 回答 String Y -
services[-].dialogId 对话id String Y -
services[-].timestamps 时间戳 String Y 时间 毫秒
services[-].end 对话是否结束 boolean Y -

示例


{
  "header": { ... }, 
  "payload": {
    "type": "SERVICE",
    "services": [
      {
        "question": "有矿泉水吗?", 
        "answer": "矿泉水2元,您需要吗?", 
        "dialogId": "123134235354", 
        "timestamps": 1232343432, 
        "end": false
      }, 
      {
        "question": "需要", 
        "answer": "好的,我们将尽快为您送来", 
        "dialogId": "123134235354", 
        "timestamps": 12323434323, 
        "end": true
      }
    ]
  }
}

# 2 请求返回result说明:

示例:

{
  "success": true, 
  "message": "success", 
  "requestId": "304a1c510f9e4683a43be5f2a7cfeb52", 
  "responseTime": 1506588295432, 
  "result": { }, 
  "statusCode": 200
}
最后一次更新时间: 5/14/2021, 5:25:41 PM