|
@@ -128,7 +128,7 @@
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"body":
|
|
|
{
|
|
@@ -140,7 +140,7 @@
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"status": 500,
|
|
|
"message": "账号或刷新凭证不正确"
|
|
@@ -168,7 +168,7 @@
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": ["1712051703640558"],
|
|
@@ -177,7 +177,7 @@
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "订单创建失败"
|
|
@@ -209,7 +209,7 @@
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null,
|
|
@@ -279,7 +279,7 @@
|
|
|
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"status": 500,
|
|
|
"message": ""
|
|
@@ -322,7 +322,7 @@
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null,
|
|
@@ -533,7 +533,7 @@
|
|
|
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"status": 500,
|
|
|
"message": ""
|
|
@@ -559,7 +559,7 @@
|
|
|
|
|
|
**返回示例**
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -567,7 +567,7 @@
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "撤销订单失败原因"
|
|
@@ -592,7 +592,7 @@
|
|
|
|
|
|
**返回示例**
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -600,7 +600,7 @@
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "撤销订单失败原因"
|
|
@@ -629,7 +629,7 @@
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code":200,
|
|
|
"data": {
|
|
@@ -641,7 +641,7 @@
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "订单车次失败"
|
|
@@ -669,7 +669,7 @@
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -677,7 +677,7 @@
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"status": 500,
|
|
|
"message": "订单创建失败"
|
|
@@ -705,7 +705,7 @@
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -713,7 +713,7 @@
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "创建失败"
|
|
@@ -740,7 +740,7 @@
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -748,7 +748,7 @@
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "创建失败"
|
|
@@ -756,7 +756,7 @@
|
|
|
```
|
|
|
|
|
|
**对象说明:**
|
|
|
-```
|
|
|
+```json
|
|
|
public class AlogdataRequest {
|
|
|
private String warehouse;//货仓
|
|
|
private double total;//总计
|
|
@@ -767,7 +767,7 @@ public class AlogdataRequest {
|
|
|
private double lat;//纬度
|
|
|
}
|
|
|
```
|
|
|
-```
|
|
|
+```json
|
|
|
public class AloginventoryRequest {
|
|
|
private String warehouse;//货仓
|
|
|
private int total;//总计(数量)
|
|
@@ -809,7 +809,7 @@ public class AloginventoryRequest {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -817,7 +817,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "创建失败"
|
|
@@ -851,7 +851,7 @@ public class AloginventoryRequest {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -859,7 +859,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "创建失败"
|
|
@@ -887,7 +887,7 @@ public class AloginventoryRequest {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": "true"
|
|
@@ -895,7 +895,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "false"
|
|
@@ -930,7 +930,7 @@ public class AloginventoryRequest {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -938,7 +938,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": ""
|
|
@@ -946,7 +946,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
|
|
|
- 订单订阅返回报文:
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"number ": "1609171412804505", /*订单号*/
|
|
|
"wmsNumber": "wmsNumber", /*出库单号*/
|
|
@@ -991,7 +991,7 @@ public class AloginventoryRequest {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -999,7 +999,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": ""
|
|
@@ -1007,7 +1007,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
|
|
|
- 订单订阅返回报文:
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"number ": "1609171412804505", /*订单号*/
|
|
|
"wmsNumber": "wmsNumber", /*出库单号*/
|
|
@@ -1049,7 +1049,7 @@ public class AloginventoryRequest {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -1057,7 +1057,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": ""
|
|
@@ -1091,7 +1091,7 @@ public class AloginventoryRequest {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -1099,7 +1099,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": ""
|
|
@@ -1107,7 +1107,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
|
|
|
- 车次订阅返回报文:
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"packNumber ": "P1609171412804505", /*tms车次号*/
|
|
|
"createTime": "2018-05-28 15:32:12", /*tms车次创建时间*/
|
|
@@ -1146,7 +1146,7 @@ public class AloginventoryRequest {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -1154,7 +1154,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": ""
|
|
@@ -1180,7 +1180,7 @@ public class AloginventoryRequest {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":null,
|
|
@@ -1205,7 +1205,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": ""
|
|
@@ -1213,7 +1213,7 @@ public class AloginventoryRequest {
|
|
|
```
|
|
|
|
|
|
**对象说明:**
|
|
|
-```
|
|
|
+```json
|
|
|
public class OrganizationEntity implements Serializable {
|
|
|
private Integer nodeId; // 机构节点id
|
|
|
private String name; // 机构名
|
|
@@ -1237,7 +1237,7 @@ public class OrganizationEntity implements Serializable {
|
|
|
|:----:|:---:|:-----:|:-----:|
|
|
|
| `customers` | 是 | `Array[CustomerEntity]` | 客户列表 |
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
其中CustomerEntity结构如下:
|
|
|
CustomerEntity {
|
|
|
private String name; //客户名称:必填
|
|
@@ -1262,7 +1262,7 @@ CustomerEntity {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":null,
|
|
@@ -1271,7 +1271,7 @@ CustomerEntity {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": ""
|
|
@@ -1301,7 +1301,7 @@ CustomerEntity {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": ["S1711151843619482"],
|
|
@@ -1310,7 +1310,7 @@ CustomerEntity {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "受理单创建失败"
|
|
@@ -1338,7 +1338,7 @@ CustomerEntity {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": null,
|
|
@@ -1347,7 +1347,7 @@ CustomerEntity {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "受理单创建失败"
|
|
@@ -1392,7 +1392,7 @@ CustomerEntity {
|
|
|
|
|
|
- 调用成功示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null,
|
|
@@ -1541,7 +1541,7 @@ CustomerEntity {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"status": 500,
|
|
|
"message": ""
|
|
@@ -1567,7 +1567,7 @@ CustomerEntity {
|
|
|
|
|
|
**返回示例**
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null
|
|
@@ -1575,7 +1575,7 @@ CustomerEntity {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "撤销受理单失败原因"
|
|
@@ -1601,7 +1601,7 @@ CustomerEntity {
|
|
|
|
|
|
**返回示例**
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": null,
|
|
@@ -1610,7 +1610,7 @@ CustomerEntity {
|
|
|
```
|
|
|
- 调用失败示例
|
|
|
|
|
|
-```
|
|
|
+```json
|
|
|
1.受理单号列表中存在未绑定设备的受理单:
|
|
|
{
|
|
|
"message": "受理单S1811011025811886未绑定设备!",
|
|
@@ -1628,7 +1628,7 @@ CustomerEntity {
|
|
|
## 部分参数说明
|
|
|
|
|
|
#### 运单参数说明
|
|
|
-```
|
|
|
+```json
|
|
|
OrderEntity结构如下:
|
|
|
{
|
|
|
consignerAddress (string): 发货人地址:必填 ,
|
|
@@ -1701,7 +1701,7 @@ OrderEntity结构如下:
|
|
|
|
|
|
|
|
|
#### 受理单参数说明
|
|
|
-```
|
|
|
+```json
|
|
|
CustomerOrderEntity结构如下:
|
|
|
{
|
|
|
appointArriveTime (integer): 预约送达时间:非必填 ,
|