接口说明

客服后台用于展示实时司机位置,运力方每隔10s上报一次司机位置。

上报节点: 1)及时单:接单后开始上报 2)预约单:司机出发后开始上报

接口地址

https:// <SQYC_DOMAIN>/v1/transport/driverLocationNotify

请求方式

POST

请求参数

参数 - 类型 必填 参数说明
channel - string 渠道号
sign - string 签名(按对方接入我方签名规则)
uid - String 三方司机id
time - String yyyy-MM-dd HH:mm:ss(发送时间)
msg String json格式字符串
- date String 客户端发送时间 yyyy-MM-dd HH:mm:ss
- lat double 纬度
- lon double 经度
- orderNo String 首约订单号(绑单中提供)
- thirdPartyOrderNo String 第三方订单号(绑单中提供)
- locSource int 坐标来源(忽略该字段)
- inCoordType String mars:火星坐标,baidu:百度坐标,world:GPS坐标
- version String 版本号
- licensePlates String 车牌号
- altitude double 海拔高度
- speed double 瞬时速度
- bearing double 方位角
- accuracy float 客户端上报的定位精度(水平精度),单位:米
- positionTime Long 客户端踩点时间戳(毫秒)
- appType int 客户端类型 1-android,2-IOS
- provider String 客户端踩点类型 gps,wifi,基站
- networkType String 客户端网络类型 默认0, 1:wifi,2:移动,修复类型
- no_gps int gps是否正常 默认-1 ,0正常,1不正常

返回数据

名称 类型 是否必填 说明
result int yes 0成功,1失败
errmsg string yes SUCCESS成功
Copyright © 首约科技(北京)有限公司 2020 all right reserved,powered by Gitbook该文件修订时间: 2024-09-10 08:31:45

results matching ""

    No results matching ""