Fedex Web Services Tracking and Visibility Service Guide
Total Page:16
File Type:pdf, Size:1020Kb
FedEx Web Services 2019 Tracking and Visibility Service Table of Contents Table of Contents 1 Introduction ..................................................................................................................................... 7 1.1 Document Overview ........................................................................................................................................ 8 1.2 Printing All or Part of This Guide ..................................................................................................................... 8 2 Web Services, WSDL, and SOAP Overview .................................................................................. 9 2.1 Web Services .................................................................................................................................................. 9 2.2 Web Services Description Language (WSDL) ................................................................................................ 9 2.3 Simple Object Access Protocol (SOAP) ........................................................................................................ 11 2.4 SOAP Message ............................................................................................................................................. 11 2.5 Plain XML Web Services ............................................................................................................................... 12 2.6 Error Handling of SOAP Requests ................................................................................................................ 13 2.7 Visual Basic Project Error .............................................................................................................................. 14 3 Understanding the XML Schema ................................................................................................. 15 3.1 Guide to the XML Schema ............................................................................................................................ 15 4 Implementing FedEx Web Services ............................................................................................. 17 4.1 Implementation Process ................................................................................................................................ 17 4.2 Testing ........................................................................................................................................................... 17 4.3 Certification .................................................................................................................................................... 18 4.4 Go To Production .......................................................................................................................................... 18 4.5 URL Errors with Visual Studio ....................................................................................................................... 19 5 Tracking and Visibility Services ................................................................................................... 20 5.1 Tracking Shipments ....................................................................................................................................... 20 5.2 Signature Proof of Delivery (SPOD) .............................................................................................................. 42 5.3 Notification ..................................................................................................................................................... 52 5.4 FedEx InSight ................................................................................................................................................ 60 6 Appendix ........................................................................................................................................ 61 6.1 Test Server Mock Tracking Numbers ............................................................................................................ 61 6.2 Track Special Handling Types ....................................................................................................................... 64 6.3 Track Service Scan Codes ............................................................................................................................ 67 6.4 Service Types .............................................................................................................................................. 144 7 Schema Details ........................................................................................................................... 147 7.1 Element Types ............................................................................................................................................. 149 7.2 Complex Types ............................................................................................................................................ 151 7.3 Simple Types ............................................................................................................................................... 379 FedEx Web Services, Tracking and Visibility Service Guide 2019 2 List of Tables List of Tables Table 1: WSDL Elements .............................................................................................................................................. 10 Table 2: Requirements and Resources for Corporate Developers ............................................................................... 18 Table 3: TrackRequest Elements .................................................................................................................................. 23 Table 4: TrackReply Elements ...................................................................................................................................... 27 Table 5: TrackReply/CompletedTrackDetails/TrackDetails Elements .......................................................................... 30 Table 6: Tracking Status Codes .................................................................................................................................... 41 Table 7: GetTrackingDocumentsRequest Elements ..................................................................................................... 43 Table 8: GetTrackingDocumentsReply Elements ......................................................................................................... 48 Table 9: Valid Language Codes for Notification Service .............................................................................................. 53 Table 10: SendNotificationsRequest Elements ............................................................................................................ 54 Table 11: SendNotificationsReply Elements ................................................................................................................. 58 Table 12: FedEx InSight Elements ............................................................................................................................... 60 Table 13: Tracking Numbers for FedEx Express and Ground ...................................................................................... 61 Table 14:Tracking Numbers for SmartPost ................................................................................................................... 63 Table 15:Tracking Numbers for Freight LTL ................................................................................................................. 63 Table 16: TrackSpecialHandlingType Valid Values ...................................................................................................... 64 Table 17: Track Service Scan Codes ........................................................................................................................... 67 Table 18: List of all available Service Types ............................................................................................................... 144 Table 19: Schema Details for Tracking and Validation Services ................................................................................ 147 FedEx Web Services, Tracking and Visibility Service Guide 2019 3 Table of Figures Table of Figures Figure 1: SPOD Sample Letter – Partial ....................................................................................................................... 50 Figure 2: SPOD Sample Letter – Full ........................................................................................................................... 51 FedEx Web Services, Tracking and Visibility Service Guide 2019 4 Legal and Copyright Notices Legal and Copyright Notices Confidential and Proprietary The information contained in this guide is confidential and proprietary to FedEx Corporate Services, Inc. and its affiliates (collectively “FedEx”). No part of this guide may be distributed or disclosed in any form to any third-party entity without written permission from FedEx. This guide is provided to you and its use is subject to the terms and conditions of the FedEx Automation Agreement. The information in this document may be changed at any time without notice. Any conflict between this guide, the FedEx Automation Agreement and the FedEx Service Guide shall be governed by the FedEx Automation Agreement and the FedEx Service Guide, in that order. © 2018–2019 FedEx. FedEx and the FedEx logo are registered service marks.