|
@@ -11,6 +11,7 @@
|
|
|
- [移除设备接口](#%E7%A7%BB%E9%99%A4%E8%AE%BE%E5%A4%87%E6%8E%A5%E5%8F%A3)
|
|
|
- [通过车牌号获取绑定设备的轨迹数据](#%E9%80%9A%E8%BF%87%E8%BD%A6%E7%89%8C%E5%8F%B7%E8%8E%B7%E5%8F%96%E7%BB%91%E5%AE%9A%E8%AE%BE%E5%A4%87%E7%9A%84%E8%BD%A8%E8%BF%B9%E6%95%B0%E6%8D%AE)
|
|
|
- [获取设备号的轨迹数据](#%E8%8E%B7%E5%8F%96%E8%AE%BE%E5%A4%87%E5%8F%B7%E7%9A%84%E8%BD%A8%E8%BF%B9%E6%95%B0%E6%8D%AE)
|
|
|
+ - [获取受理单轨迹数据](#%e8%8e%b7%e5%8f%96%e5%8f%97%e7%90%86%e5%8d%95%e8%bd%a8%e8%bf%b9%e6%95%b0%e6%8d%ae)
|
|
|
- [其他问题](#%E5%85%B6%E4%BB%96%E9%97%AE%E9%A2%98)
|
|
|
|
|
|
<!-- /TOC -->
|
|
@@ -334,6 +335,95 @@
|
|
|
}
|
|
|
```
|
|
|
|
|
|
+### 获取受理单轨迹数据
|
|
|
+
|
|
|
+**1.简要描述** 获取受理单轨迹数据
|
|
|
+
|
|
|
+**2.请求URL** :`/gps/get_customer_order_track_points`
|
|
|
+
|
|
|
+**3.请求方式** :POST
|
|
|
+
|
|
|
+**4.调用频率限制** :每分钟最多调用100次
|
|
|
+
|
|
|
+**5.请求参数** :
|
|
|
+
|
|
|
+| **参数名** | **必选** | **类型** | **说明** |
|
|
|
+| :---: | :---: | :---: | --- |
|
|
|
+| `customerOrderNumber` | `是` | `String` | `受理单号` |
|
|
|
+| `fields` | `否` | `String` | `需要返回的数据的字段名,中间用','隔开,可选:consigner|发货人,consignee|收货人,cargo|货物,trackPoints|轨迹,currentGps|当前位置,mileage|总里程,leftMileage|剩余里程,progress|进度,estimatedArriveTime|预计到达时间` |
|
|
|
+| `devices` | `否` | `String` | `设备号,受理单可能绑定过多个设备,不传则返回所有` |
|
|
|
+
|
|
|
+
|
|
|
+**6.返回示例** :
|
|
|
+
|
|
|
+- 调用成功示例:
|
|
|
+
|
|
|
+```java
|
|
|
+{
|
|
|
+ "code": 200,
|
|
|
+ "message": null,
|
|
|
+ "data": {
|
|
|
+ "consigner": {
|
|
|
+ "name": "天津艾尔诺拉食品科技有限公司",
|
|
|
+ "phone": "13752756467",
|
|
|
+ "address": {
|
|
|
+ "province": "天津市",
|
|
|
+ "cityCode": null,
|
|
|
+ "city": "天津",
|
|
|
+ "district": "津南区",
|
|
|
+ "name": "天津市津南区北闸口普惠道35号",
|
|
|
+ "address": "天津市津南区北闸口普惠道35号",
|
|
|
+ "streetNumber": null,
|
|
|
+ "lng": 117.414981,
|
|
|
+ "lat": 38.959514
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "consignee": {
|
|
|
+ "name": "江阴市畅通食品商贸有限公司-蒋青青",
|
|
|
+ "phone": "15161613682",
|
|
|
+ "address": {
|
|
|
+ "province": "江苏省",
|
|
|
+ "cityCode": null,
|
|
|
+ "city": "无锡",
|
|
|
+ "district": "梁溪区",
|
|
|
+ "name": "江苏省无锡市前村工业园区A区21号",
|
|
|
+ "address": "江苏省无锡市前村工业园区A区21号",
|
|
|
+ "streetNumber": null,
|
|
|
+ "lng": 120.312541,
|
|
|
+ "lat": 31.614713
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "progress": null,
|
|
|
+ "cargo": {
|
|
|
+ "id": null,
|
|
|
+ "uid": null,
|
|
|
+ "customerOrderId": null,
|
|
|
+ "customerOrderNumber": null,
|
|
|
+ "transferOrderNumber": null,
|
|
|
+ "name": "常温重货",
|
|
|
+ "quantity": 100,
|
|
|
+ "weight": 532.8,
|
|
|
+ "volume": 0.6571,
|
|
|
+ "value": null,
|
|
|
+ "remarks": null,
|
|
|
+ "note1": null,
|
|
|
+ "note2": null,
|
|
|
+ "note3": null,
|
|
|
+ "note4": null,
|
|
|
+ "note5": null,
|
|
|
+ "note6": null,
|
|
|
+ "created": null
|
|
|
+ },
|
|
|
+ "trackPoints": [],
|
|
|
+ "mileage": 0
|
|
|
+ }
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+- 调用失败示例:
|
|
|
+
|
|
|
+```java
|
|
|
+```
|
|
|
|
|
|
## 其他问题
|
|
|
|