【问题标题】:"Tracking Information Not Found" error with UPS RESTful Integration Testing URIUPS RESTful 集成测试 URI 出现“未找到跟踪信息”错误
【发布时间】:2020-10-18 21:38:04
【问题描述】:

我尝试使用我的有效轨道号和 API 密钥获取 UPS RESTful API 的结果。我收到以下错误:“TW0001,未找到跟踪信息”。如果我使用此集成测试 URI (https://wwwcie.ups.com/track/v1/details/),就会发生这种情况。当我用生产 URI 替换它时,我得到了没有任何错误的跟踪信息:

https://onlinetools.ups.com/track/v1/details/.

我认为这不正常,因为集成测试 URI 应该返回了有效信息,而不是错误。

我的 HTTP GET 请求示例:

GET https://wwwcie.ups.com/track/v1/details/1ZXXXXXXXXXXXXXXXX HTTP/1.1
transId: 12345
transactionSrc: TestTrack
AccessLicenseNumber: MY_KEY
Content-Type: application/json
Accept: application/json
Username: MY_USERNAME
Password: MY_PASSWORD

【问题讨论】:

    标签: json rest http get ups


    【解决方案1】:

    迟到的答案,测试 CIE 的跟踪号可以在“Tracking RESTful Developer guide.pdf”中找到

    Type Value Description
    Small Package 1Z5338FF0107231059 Delivery Attempted
    Mail Innovations 92055900100111152280003029 Activity List
    Freight 7798339175 Activity List
    Overnight 572254454 Delivered

    【讨论】:

    • 谢谢。一年前,文档没有包含任何细节。
    猜你喜欢
    • 1970-01-01
    • 2023-01-31
    • 1970-01-01
    • 1970-01-01
    • 2015-10-28
    • 1970-01-01
    • 2018-08-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多