[java]代码库
JSON请求
{
"OrderCode": "012657700387",
"ShipperCode": "HTKY",
"PayType": 1,
"ExpType": 1,
"Cost": 1.0,
"OtherCost": 1.0,
"Sender": {
"Company": "LV",
"Name": "Taylor",
"Mobile": "15018442396",
"ProvinceName": "上海",
"CityName": "上海",
"ExpAreaName": "青浦区",
"Address": "明珠路73号"
},
"Receiver": {
"Company": "GCCUI",
"Name": "Yann",
"Mobile": "15018442396",
"ProvinceName": "北京",
"CityName": "北京",
"ExpAreaName": "朝阳区",
"Address": "三里屯街道雅秀大厦"
},
"Commodity": [
{
"GoodsName": "鞋子",
"Goodsquantity": 1,
"GoodsWeight": 1.0
}
],
"AddService": [
{
"Name": "COD",
"Value": "1020"
}
],
"Weight": 1.0,
"Quantity": 1,
"Volume": 0.0,
"Remark": "小心轻放",
"IsReturnPrintTemplate":1
}
JSON返回
失败:
{
"EBusinessID": "1237100",
"ResultCode": "105",
"Reason": "订单号已存在,请勿重复操作",
"UniquerRequestNumber":"5e66486b-8fbc-4131-b875-9b13d2ad1354"
}
成功:
{
"EBusinessID": "1237100",
"Order": {
"OrderCode": "012657700387",
"ShipperCode": "HTKY",
"LogisticCode": "50002498503427",
"MarkDestination": "京-朝阳(京-1)",
"OriginCode": "200000",
"OriginName": "上海分拨中心",
"PackageCode": "北京"
},
"PrintTemplate":"此处省略打印模板HTML内容",
"EstimatedDeliveryTime":"2016-03-06",
"Callback":"调用时传入的Callback",
"Success": true,
"ResultCode": "100",
"Reason": "成功"
}
by: 发表于:2017-07-14 10:11:31 顶(0) | 踩(0) 回复
??
回复评论