我终于让UPS跟踪API工作了。或者至少我想我做到了。它给了我一个“无效的跟踪号码”回复。我现在的问题是我没有要跟踪的软件包。有没有人知道允许我测试来自UPS的假订单的任何资源,或任何会给出回复的东西?感谢
我正在使用UPS跟踪开发套件并需要包装副本。
答案 0 :(得分:9)
您可以在UPS测试环境中使用生产跟踪编号。此外,在 跟踪网络服务开发人员指南(2012年12月31日) 的 附录H 上,您可以如果您希望查看包含交付证明等不同信息集的跟踪号码,请查找有用的跟踪号码列表。
最佳!
答案 1 :(得分:6)
这些摘自2016年7月11日的UPS追踪跟踪网络服务开发者指南,pg。 13。
TRACKING NUMBER, SERVICE, RESPONSE 1Z12345E0205271688 (Signature Availability), 2nd Day Air, Delivered 1Z12345E6605272234, World Wide Express, Delivered 1Z12345E0305271640, (Second Package: 1Z12345E0393657226), Ground, Delivered 1Z12345E1305277940, Next Day Air Saver, ORIGIN SCAN 1Z12345E6205277936, Day Air Saver, 2nd Delivery attempt 1Z12345E020527079, Invalid Tracking Number 1Z12345E1505270452, No Tracking Information Available 990728071, UPS Freight LTL, In Transit 3251026119, Delivered Origin CFS MI Tracking Number: 9102084383041101186729 MI Reference Number: cgish000116630 1Z648616E192760718, UPS Worldwide Express Freight, Order Process by UPS 5548789114, UPS Express Freight, Response for UPS Air Freight ER751105042015062, UPS Ocean, Response for UPS Ocean Freight 1ZWX0692YP40636269, UPS SUREPOST, Response for UPS SUREPOST
答案 2 :(得分:3)
这是一个更新,以防有人遇到这个问题。
以下数据来自跟踪网络服务开发者指南(2017年1月9日) 。
您应该可以从UPS Developer Kit下载页面访问它。有一个名为Download the API
的部分,其中包含可下载Tracking.zip的链接。开发人员指南位于Tracking.zip\Tracking\Developers Guide\Tracking Web Service Developer Guide.pdf
该表格位于第7页。
"Type","Value","Option","Service","Response"
"Tracking","1Z12345E0205271688\n(Signature Availability)","Activity (All)","2nd Day Air","Delivered"
"Tracking","1Z12345E6605272234","None (Last)","World Wide Express","Delivered"
"Shipping","1Z12345E0305271640\n(Second Package:\n1Z12345E0393657226)","None (Last)","Ground","Delivered"
"Tracking","1Z12345E1305277940","None (Last)","Next Day Air Saver","ORIGIN SCAN"
"Tracking","1Z12345E6205277936","Activity (All)","Next Day Air Saver","2nd Delivery attempt"
"Tracking","1Z12345E020527079","None (Last)",,"Invalid Tracking Number"
"Tracking","1Z12345E1505270452","None (Last)",,"No Tracking Information Available"
"Tracking",990728071,"Activity (All)","UPS Freight LTL","In Transit"
"Tracking",3251026119,"Activity (All)",,"Delivered Origin CFS"
"MI Tracking Number",9102084383041101186729,"None (Last)",,
"MI Reference Number","cgish000116630","None (Last)",,
"Tracking","1Z648616E192760718","Activity","UPS Worldwide Express Freight","Order Process by UPS"
"Tracking",5548789114,"Activity","UPS Express Freight","Response for UPS Air Freight"
"Tracking","ER751105042015062","Activity","UPS Ocean","Response for UPS Ocean Freight"
"Tracking","1ZWX0692YP40636269","Activity","UPS SUREPOST","Response for UPS SUREPOST"
希望能帮助下一个人出现:)