查询司机接客送客路线
可查询订单状态为 9 开始服务 12 司机已到达  3 乘客上车,计费开始
查询接客路线 订单状态必须为9与12
查询送客路线 订单状态必须为3
请求地址: v2/common/queryDriverPolyline
服务协议: POST
请求参数:
| 参数名称 | 类型 | 必选 | 说明 | 
|---|---|---|---|
| client_id | string | Y | 申请的client_id | 
| timestamp | number | Y | 时间戳 | 
| sign | string | Y | 签名 | 
| order_id | number | Y | 订单id | 
| navigation_polyline_type | number | Y | 路线类型 1-接客路线 3-送客路线 | 
响应data参数:
| 参数名称 | 类型 | 必有 | 说明 | 
|---|---|---|---|
| orderNo | number | Y | 订单号 | 
| driverNo | number | Y | 司机编号 | 
| navigationPolylineType | number | Y | 路线类型 0-接力单上一单送客路线(只存在接力单) 1-接客路线 2-等客状态 3-送客路线 | 
| pathId | number | N | 路线id | 
| allLength | number | N | 当前导航路线的总长度,单位 米 | 
| allTime | number | N | 当前导航路径所需的时间,单位为秒 | 
| steps | List | N | 步骤 | 
| driverEtaInfoVO | Object | N | 司机ETA信息 | 
driverEtaInfoVO
| 参数名称 | 类型 | 必有 | 说明 | 
|---|---|---|---|
| remainDistance | number | Y | 剩余里程(米) | 
| remainTime | number | Y | 剩余时间(秒) | 
| remainLightCount | number | Y | 剩余红绿灯数 | 
| timestamp | number | Y | 时间戳 | 
| lat | double | Y | 维度 | 
| lng | double | Y | 经度 | 
| speed | double | Y | 速度 | 
| direction | double | Y | 方向 | 
| isMatchNaviPath | number | Y | 经纬度是否在路线上(0-否,1-是) | 
| curStepIndex | number | Y | 当前点相对于整条路的step索引 | 
| curLinkIndex | number | Y | 当前点相对于当前step的link索引 | 
| curPointIndex | number | Y | 当前点相对于当前link的点的索引 | 
结果示例:
{
  "code": 200,
  "data": {
    "orderId": 12345,
    "orderStatus": 1, // 1-接客路线 2-等客状态 3-送客路线
    "calculateRouteType":1, // 算路类型 具体枚举参考:https://a.amap.com/lbs/static/unzip/Android_Navi_Doc/com/amap/api/navi/enums/ReCalculateRouteType.html
    "pathId":12345678, // 路线id
    "allLength":10000, // 当前导航路线的总长度,单位 米
    "allTime":600, // 当前导航路径所需的时间,单位为秒
    "steps":[
      {
        "length":1000, // 该路段长度 单位:米
        "time":100, // 该路段耗时
        "links":[
          {
            "length":500, // 该Link道路长度
            "time":50, // 该Link道路耗时
            "linkType":0, // 道路类型 0-普通道路 1-航道 2-隧道 3-桥梁 4-高架桥
            "trafficStatus":1, // 路况状态:0-未知状态,1-通畅,2-缓行,3-阻塞,4-严重阻塞
            "coords":"latitude,longitude;latitude,longitude",  // 该Link道路坐标点集
            "roadName":"东冠路"  // 该Link道路名称
          },
          {
            "length":500, // 该Link道路长度
            "time":50, // 该Link道路耗时
            "linkType":0, // 道路类型 0-普通道路 1-航道 2-隧道 3-桥梁 4-高架桥
            "trafficStatus":1, // 路况状态:0-未知状态,1-通畅,2-缓行,3-阻塞,4-严重阻塞
            "coords":"latitude,longitude;latitude,longitude",  // 该Link道路坐标点集
            "roadName":"东冠路"  // 该Link道路名称
          }
        ]
      },
      {
        "length":1000, // 该路段长度 单位:米
        "time":100, // 该路段耗时
        "links":[
          {
            "length":500, // 该Link道路长度
            "time":50, // 该Link道路耗时
            "linkType":0, // 道路类型 0-普通道路 1-航道 2-隧道 3-桥梁 4-高架桥
            "trafficStatus":1, // 路况状态:0-未知状态,1-通畅,2-缓行,3-阻塞,4-严重阻塞
            "coords":"latitude,longitude;latitude,longitude",  // 该Link道路坐标点集
            "roadName":"东冠路"  // 该Link道路名称
          },
          {
            "length":500, // 该Link道路长度
            "time":50, // 该Link道路耗时
            "linkType":0, // 道路类型 0-普通道路 1-航道 2-隧道 3-桥梁 4-高架桥
            "trafficStatus":1, // 路况状态:0-未知状态,1-通畅,2-缓行,3-阻塞,4-严重阻塞
            "coords":"latitude,longitude;latitude,longitude",  // 该Link道路坐标点集
            "roadName":"东冠路"  // 该Link道路名称
          }
        ]
      }
    ],
    "driverEtaInfoVO":{
      "bizType":13,
      "orderNo":"723417619925085",
      "routeStatus":1,
      "remainDistance":100,
      "remainLightCount":1,
      "remainTime":200,
      "lat":30,
      "lng":30,
      "isMatchNaviPath":1,
      "curStepIndex":1,
      "curLinkIndex":1,
      "curPointIndex":1,
      "speed":20,
      "pathId":1234456
    }
  }
}