以下接口请以post方式提交
方式一:网页表单提交,target="_blank"
1.登录: http://域名或IP:8082/signin.htm?username=帐号&password=密码
2.跟踪: http://域名或IP:8082/trackIndex.htm?documentCode=单号
3.查价: http://域名或IP:8082/defaultPriceSearch.htm?weight=重量&country=国家二字代码(例如US)&cargoType=P(P包裹,D文件)
查价其他参数
参数名
|
含义
|
可选值
|
---|---|---|
length | 长 | |
width | 宽 | |
height | 高 | |
postcode | 邮编 | |
group_code | 分类 | XB代表小包,KD代表快递 |
express_type | 快递类型 |
DHL TNT FEDEX UPS XBGH小包挂号 XBPY小包平邮 EYB E邮宝 ETK e特快 |
4.注册:http://域名或IP:8082/gotoRegister.htm
方式二:华磊系统返回json数据,自行设计界面
1.登录: http://域名或IP:8082/signin.htm?username=帐号&password=密码
2.轨迹
http://域名或IP:8082/selectTrack.htm?documentCode=**********
返回
[
{
"ack": "true",
"data": [
{
"businessId": "",
"consigneeCountry": "收件国家代码",
"productKindName": "物流方式",
"referenceNumber": "参考号",
"trackContent": "末条轨迹内容",
"trackDate": "末条轨迹时间",
"trackLocation": "上海",
"trackSignperson": "签收人",
"trackingNumber": "跟踪号",
"trackDetails": [
{
"business_id": "",
"system_id": "1",
"track_content": "轨迹内容",
"track_createdate": "轨迹创建时间,忽略掉",
"track_date": "轨迹时间",
"track_id": "",
"track_kind": "ARRIVAL",
"track_location": "上海",
"track_signdate": "签收时间",
"track_signperson": "签收人"
}
]
}
]
}
]
3.查价 http://域名或IP:8082/defaultPriceSearchJson.htm?weight=重量&country=国家二字代码(例如US)&cargoType=P(P包裹,D文件)
查价其他参数
参数名
|
含义
|
可选值
|
---|---|---|
length | 长 | |
width | 宽 | |
height | 高 | |
postcode | 邮编 | |
express_type | 快递类型 |
DHL TNT FEDEX UPS XBGH小包挂号 XBPY小包平邮 EYB E邮宝 ETK e特快 |
group_code | 分类 | XB代表小包,KD代表快递 |
返回结果
[
{
"charge_weight": "重量",
"freight_amount": "速递运费金额",
"oil_amount": "燃油",
"other_amount": "杂费",
"price_formula": "计费公式说明",
"price_note": "价格备注",
"product_name": "运输方式名称",
"product_note": "操作备注",
"product_tracking": "是否可跟踪标记",
"total_amount": "总金额"
}]