中通快递单api查询
request
POST https://hdgateway.zto.com/WayBill_GetDetail HTTP/1.1
Host: hdgateway.zto.com
Connection: keep-alive
Content-Length: 21
Accept: */*
Origin: https://www.zto.com
x-token: null
x-clientCode: pc
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.zto.com/express/expressCheck.html 请求首部字段,图解http第116页
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7billCode=542430453744
response
HTTP/1.1 200
Date: Fri, 22 Feb 2019 06:59:46 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 5532
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
X-Application-Context: application:prd
ETag: 4QJ/8qAH6stIMn08lNbGG+g8
Age: 0
Via: HTTPS/1.1 sasygsha01prx11.asnet.accorservices.net{"result":{"prescriptionStatus":3,"logisticsRecord":[[{"date":"2019-02-22","country":"China","internationalPieces":{"optReasonEn":"Physical delivery scheduled.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":true},"signMan":"","operateUserPhone":"13381883326","scanDate":"2019-02-22 08:26:11","scanSite":{"isCenter":false,"code":"02180","province":"上海","phone":"021-56420176、021-56420171","city":"上海市","name":"闸北天目西路","prov":"上海"},"sendPiecesNum":1,"operateUser":"吕经全","isSendNoCome":true,"scanType":"派件","stateDescription":"【上海市】 快件已到达 【闸北天目西路】(021-56420176、021-56420171),业务员 吕经全(13381883326) 正在第1次派件, 请保持电话畅通,并耐心等待","upOrDownSiteInfo":null,"problemItemDescription":""}],[{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"13524835366","scanDate":"2019-02-21 20:38:47","scanSite":{"isCenter":false,"code":"02100","province":"上海","phone":"021-60380820","city":"上海市","name":"上海","prov":"上海"},"sendPiecesNum":0,"operateUser":"上海进港02","isSendNoCome":false,"scanType":"发件","stateDescription":"【上海市】 快件离开 【上海】 已发往 【闸北天目西路】","upOrDownSiteInfo":{"isCenter":false,"code":"02180","province":"上海","phone":"021-56420176、021-56420171","city":"上海市","name":"闸北天目西路","prov":"上海"},"problemItemDescription":""},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Arrival at inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"","scanDate":"2019-02-21 20:22:54","scanSite":{"isCenter":false,"code":"02100","province":"上海","phone":"021-60380820","city":"上海市","name":"上海","prov":"上海"},"sendPiecesNum":0,"operateUser":"null","isSendNoCome":false,"scanType":"到件","stateDescription":"【上海市】 快件已经到达 【上海】","upOrDownSiteInfo":null,"problemItemDescription":""},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"18617314256","scanDate":"2019-02-21 01:00:06","scanSite":{"isCenter":true,"code":"02700","province":"湖北省","phone":"027-83298519、027-83295538","city":"武汉市","name":"武汉中转部","prov":"湖北省"},"sendPiecesNum":0,"operateUser":"田磊","isSendNoCome":false,"scanType":"发件","stateDescription":"【武汉市】 快件离开 【武汉中转部】 已发往 【上海】","upOrDownSiteInfo":{"isCenter":false,"code":"02100","province":"上海","phone":"021-60380820","city":"上海市","name":"上海","prov":"上海"},"problemItemDescription":""},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Arrival at inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"18627126252","scanDate":"2019-02-21 00:58:37","scanSite":{"isCenter":true,"code":"02700","province":"湖北省","phone":"027-83298519、027-83295538","city":"武汉市","name":"武汉中转部","prov":"湖北省"},"sendPiecesNum":0,"operateUser":"动态称7","isSendNoCome":false,"scanType":"到件","stateDescription":"【武汉市】 快件已经到达 【武汉中转部】","upOrDownSiteInfo":{"isCenter":false,"code":"02726","province":"湖北省","phone":"027-87023889、027-87020166、027-87023033","city":"武汉市","name":"江夏","prov":"湖北省"},"problemItemDescription":""}],[{"date":"2019-02-20","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"15337186760","scanDate":"2019-02-20 22:28:46","scanSite":{"isCenter":false,"code":"02726","province":"湖北省","phone":"027-87023889、027-87020166、027-87023033","city":"武汉市","name":"江夏","prov":"湖北省"},"sendPiecesNum":0,"operateUser":"江夏","isSendNoCome":false,"scanType":"发件","stateDescription":"【武汉市】 快件离开 【江夏】 已发往 【上海】","upOrDownSiteInfo":{"isCenter":false,"code":"02100","province":"上海","phone":"021-60380820","city":"上海市","name":"上海","prov":"上海"},"problemItemDescription":""},{"date":"2019-02-20","country":"China","internationalPieces":{"optReasonEn":"Parcel scanned by site.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"13600500903","scanDate":"2019-02-20 17:12:27","scanSite":{"isCenter":false,"code":"02726","province":"湖北省","phone":"027-87023889、027-87020166、027-87023033","city":"武汉市","name":"江夏","prov":"湖北省"},"sendPiecesNum":0,"operateUser":"李宁","isSendNoCome":false,"scanType":"收件","stateDescription":"【武汉市】 【江夏】(027-87023889、027-87020166、027-87023033) 的 李宁 (13600500903) 已揽收","upOrDownSiteInfo":null,"problemItemDescription":""}]],"billPrescription":"1天15小时","billCode":"542430453744"},"message":"快递信息查询成功","statusCode":null,"status":true}
工具调用
使用Fiddler
request
POST https://hdgateway.zto.com/WayBill_GetDetail HTTP/1.1
Host: hdgateway.zto.com
Content-Length: 21
Content-Type: application/x-www-form-urlencodedbillCode=542430453744
response
HTTP/1.1 200
Date: Fri, 22 Feb 2019 07:41:52 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 5532
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
X-Application-Context: application:prd
ETag: 46QEa6IpWQRLV3MH87jRXhA8
Age: 0
Via: HTTPS/1.1 sasygsha01prx11.asnet.accorservices.net{"result":{"prescriptionStatus":3,"logisticsRecord":[[{"date":"2019-02-22","country":"China","internationalPieces":{"optReasonEn":"Physical delivery scheduled.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":true},"signMan":"","operateUserPhone":"13381883326","scanDate":"2019-02-22 08:26:11","scanSite":{"isCenter":false,"code":"02180","province":"上海","city":"上海市","phone":"021-56420176、021-56420171","name":"闸北天目西路","prov":"上海"},"sendPiecesNum":1,"isSendNoCome":true,"operateUser":"吕经全","stateDescription":"【上海市】 快件已到达 【闸北天目西路】(021-56420176、021-56420171),业务员 吕经全(13381883326) 正在第1次派件, 请保持电话畅通,并耐心等待","scanType":"派件","problemItemDescription":"","upOrDownSiteInfo":null}],[{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"13524835366","scanDate":"2019-02-21 20:38:47","scanSite":{"isCenter":false,"code":"02100","province":"上海","city":"上海市","phone":"021-60380820","name":"上海","prov":"上海"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"上海进港02","stateDescription":"【上海市】 快件离开 【上海】 已发往 【闸北天目西路】","scanType":"发件","problemItemDescription":"","upOrDownSiteInfo":{"isCenter":false,"code":"02180","province":"上海","city":"上海市","phone":"021-56420176、021-56420171","name":"闸北天目西路","prov":"上海"}},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Arrival at inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"","scanDate":"2019-02-21 20:22:54","scanSite":{"isCenter":false,"code":"02100","province":"上海","city":"上海市","phone":"021-60380820","name":"上海","prov":"上海"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"null","stateDescription":"【上海市】 快件已经到达 【上海】","scanType":"到件","problemItemDescription":"","upOrDownSiteInfo":null},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"18617314256","scanDate":"2019-02-21 01:00:06","scanSite":{"isCenter":true,"code":"02700","province":"湖北省","city":"武汉市","phone":"027-83298519、027-83295538","name":"武汉中转部","prov":"湖北省"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"田磊","stateDescription":"【武汉市】 快件离开 【武汉中转部】 已发往 【上海】","scanType":"发件","problemItemDescription":"","upOrDownSiteInfo":{"isCenter":false,"code":"02100","province":"上海","city":"上海市","phone":"021-60380820","name":"上海","prov":"上海"}},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Arrival at inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"18627126252","scanDate":"2019-02-21 00:58:37","scanSite":{"isCenter":true,"code":"02700","province":"湖北省","city":"武汉市","phone":"027-83298519、027-83295538","name":"武汉中转部","prov":"湖北省"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"动态称7","stateDescription":"【武汉市】 快件已经到达 【武汉中转部】","scanType":"到件","problemItemDescription":"","upOrDownSiteInfo":{"isCenter":false,"code":"02726","province":"湖北省","city":"武汉市","phone":"027-87023889、027-87020166、027-87023033","name":"江夏","prov":"湖北省"}}],[{"date":"2019-02-20","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"15337186760","scanDate":"2019-02-20 22:28:46","scanSite":{"isCenter":false,"code":"02726","province":"湖北省","city":"武汉市","phone":"027-87023889、027-87020166、027-87023033","name":"江夏","prov":"湖北省"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"江夏","stateDescription":"【武汉市】 快件离开 【江夏】 已发往 【上海】","scanType":"发件","problemItemDescription":"","upOrDownSiteInfo":{"isCenter":false,"code":"02100","province":"上海","city":"上海市","phone":"021-60380820","name":"上海","prov":"上海"}},{"date":"2019-02-20","country":"China","internationalPieces":{"optReasonEn":"Parcel scanned by site.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"13600500903","scanDate":"2019-02-20 17:12:27","scanSite":{"isCenter":false,"code":"02726","province":"湖北省","city":"武汉市","phone":"027-87023889、027-87020166、027-87023033","name":"江夏","prov":"湖北省"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"李宁","stateDescription":"【武汉市】 【江夏】(027-87023889、027-87020166、027-87023033) 的 李宁 (13600500903) 已揽收","scanType":"收件","problemItemDescription":"","upOrDownSiteInfo":null}]],"billPrescription":"1天15小时","billCode":"542430453744"},"message":"快递信息查询成功","statusCode":null,"status":true}
使用Postman
中通快递单api查询的更多相关文章
- ajax实现快递单号查询
效果:(代码写的有点乱,自行修改就可以了) 源码: index.php <!DOCTYPE html> <html lang="en"> <head& ...
- ECSHOP和SHOPEX快递单号查询中通插件V8.6专版
发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...
- 快递单号查询免费api接口(PHP示例)
快递单号查询API,可以对接顺丰快递查询,邮政快递查询,中通快递查询等.这些快递物流企业,提供了快递单号自动识别接口,快递单号查询接口等快递物流服务.对于电商企业,ERP服务企业,集成此接口到自己的软 ...
- ECSHOP和SHOPEX快递单号查询申通插件V8.6专版
发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...
- excel快递单号查询工具以及源码
Function kdcx(kd, orderid) Dim Err, url, kdtime, link, Errcode, Status Select Case kd '此处支持的快递公司很多的 ...
- ECSHOP和SHOPEX快递单号查询百世快递插件V8.6专版
发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...
- ECSHOP和SHOPEX快递单号查询顺丰插件V8.6专版
发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...
- ECSHOP和SHOPEX快递单号查询韵达插件V8.6专版
发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...
- ECSHOP和SHOPEX快递单号查询国际EMS插件V8.6专版
发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...
随机推荐
- ios 自定义NavgationBar的按钮
UIImage *btnimage = [UIImage imageNamed:@"about.png"]; UIButton *btn = [[UIButton alloc] i ...
- js中的匿名函数和匿名自执行函数
1.匿名函数的常见场景 js中的匿名函数是一种很常见的函数类型,比较常见的场景: <input type="button" value="点击" id ...
- MYSQL-max_binlog_cache_size参数
max_binlog_cache_size 解释:这是设置最大二进制日志的缓存区大小的变量.若处理多语句事务时需要的内存大小比设置值大的话就会提示一个error:Multi-statement tra ...
- angularJS指令系统---Directive
指令:Directive angularJS 有一套完整的,可拓展的,用来帮助web应用开发的指令集: 在建立DOM期间,和HTML关联着的指令会被检测到,并被执行: 在angularJS中将前缀为 ...
- 利用trace重建控制文件
以下步骤,内容都在ora11g_ora_.trc文件中 CREATE CONTROLFILE REUSE DATABASE "ORA11G" NORESETLOGS ARCHIV ...
- 三维凸包求内部一点到表面的最近距离(HDU4266)
http://acm.hdu.edu.cn/showproblem.php?pid=4266 The Worm in the Apple Time Limit: 50000/20000 MS (Jav ...
- PAT 1040
字符串APPAPT中包含了两个单词"PAT",其中第一个PAT是第2位(P),第4位(A),第6位(T):第二个PAT是第3位(P),第4位(A),第6位(T). 现给定字符串,问 ...
- 导出Excel过程中遇到的问题java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException
尝试实现java导出功能时遇到如下报错: org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.No ...
- Oracle性能优化之Oracle里的统计信息
一.什么是统计信息 oracle数据库里的统计信息是如下的一组数据:他们存储在数据字典里,且从多个维度描述了oracle数据库数据对象的详细信息. oracle数据库里的统计信息主要分为以下6种情况: ...
- Delphi下使用指针的简单总结(指针的赋值,数组和指针的转换,函数指针的使用)
由于最近公司太忙,好久没有更新我的BLOG了.原来想着写写关于HOOK驱动的文章,可是最后想想好久已经没有做驱动的东西了,怕写出来有错误,于是作罢.开发游戏也有一段时间了,发现使用DELPHI来开发网 ...