Tracking XML Developers Guide
Tracking XML Developers Guide
Tracking XML Developers Guide
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Page 1 Confidential and Proprietary
Tracking - XML
7/11/2011
Notice In all communications with UPS concerning this document, please refer to the document date located on the cover. Copyright The use, disclosure, reproduction, modification, transfer, or transmittal of this work for any purpose in any form or by any means without the written permission of United Parcel Service is strictly prohibited. Copyright 2011 United Parcel Service of America, Inc. All Rights Reserved. Trademarks UPS Online is a registered trademark of United Parcel Service of America, Inc. All other trademarks are the property of their respective owners. Some of the UPS corporate applications use U.S. city, state, and postal code information obtained by United Parcel Service of America, Inc. under a non-exclusive license from the United States Postal Service.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 2
Tracking - XML
7/11/2011
Table of Contents
1.1 Important Information................................................................................................................... 5 1.2 Welcome to the UPS API Developer's Guides ............................................................................. 6 1.2.1 What's New for Tracking in July 2011 .................................................................................. 6 1.2.2 How to Use this Guide........................................................................................................... 7 1.3 Business Processes and Rules....................................................................................................... 7 1.4 Required Steps for Integrating ...................................................................................................... 7 1.5 Planning Your Applications for XML .......................................................................................... 8 1.5.1 UPS Developer API Applications.......................................................................................... 8 1.5.2 Licensing the UPS Developer APIs..................................................................................... 10 1.5.2.1 Branding Requirements ................................................................................................ 11 1.5.3 Developing Client Applications for Developer APIs .......................................................... 11 1.5.3.1 Microsoft Visual Studio................................................................................................ 11 1.5.3.2 Java Standard Edition and Enterprise Edition .............................................................. 11 1.5.3.3 Open Source.................................................................................................................. 11 1.5.4 Getting Technical Support ................................................................................................... 12 1.5.4.1 Within the United States ...............................................................................................12 1.5.4.2 Outside of the United States ......................................................................................... 12 1.5.5 Testing and Deploying Applications ................................................................................... 13 1.5.6 Keeping Up-to-Date............................................................................................................. 13 1.6 UPS Developer API Technologies for XML .............................................................................. 13 1.6.1 Hypertext Transfer Protocol and Secure Sockets Layer 3 ................................................... 13 1.6.2 Working with HTTP and SSL in Application Programs ..................................................... 15 1.6.2.1 Microsoft Visual Studio................................................................................................ 17 1.6.2.2 Java Standard Edition and Enterprise Edition .............................................................. 18 1.6.2.3 Open Source.................................................................................................................. 18 1.6.3 Extensible Markup Language (XML).................................................................................. 20 1.6.4 Working with XML in Application Programs ..................................................................... 22 1.6.4.1 Microsoft Visual Studio................................................................................................ 22 1.6.4.2 Java Standard Edition and Enterprise Edition .............................................................. 24 1.6.4.3 Open Source.................................................................................................................. 25 1.7 Understanding XML Tracking Services ..................................................................................... 26 1.7.1 Identifying a Package or Shipment to Track........................................................................ 26 1.7.1.1 Tracking Numbers ........................................................................................................ 26 1.7.1.2 Shipment Identification Numbers ................................................................................. 26 1.7.1.3 Reference Numbers....................................................................................................... 26 1.7.1.4 PRO numbers and Air Waybill numbers ...................................................................... 27 1.7.1.5 Candidate Bookmarks ................................................................................................... 27 1.8 Tracking Reference..................................................................................................................... 28 1.8.1 Authenticating Client Applications...................................................................................... 28 1.8.2 Tracking ............................................................................................................................... 28 1.8.3 Track Request ...................................................................................................................... 30 1.8.4 Track Response.................................................................................................................... 37
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 3
Tracking - XML
7/11/2011
1.9 Customer Integration Environment............................................................................................. 77 1.9.1 System Availability.............................................................................................................. 77 1.9.2 Server Availability Check.................................................................................................... 77 1.9.3 Tracking Usage Guidelines.................................................................................................. 77
Appendices
Appendix A Tracking Error Codes ................................................................................................ 79 Appendix B - Country Codes............................................................................................................ 82 Appendix C - Currency Codes.......................................................................................................... 89 Appendix D - Service Codes............................................................................................................. 96 Appendix E State Province Codes ............................................................................................... 109 Appendix F Tracking Request Options........................................................................................ 111 Appendix G- Shipping and Tracking Numbers for Testing............................................................ 112 Appendix H - Frequently Asked Questions: Tracking ................................................................... 114
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 4
Tracking - XML
7/11/2011
Use
The application must not be designed to allow distribution of information received through the UPS Web Service APIs to third parties, other than to persons having a bona fide interest in such information (e.g., the shipper, receiver or the third party payer).
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 5
Tracking - XML
7/11/2011
Display of Information
The application must not display information concerning any other provider of shipping services or such other shipping services on any page, whether comprising one or more frames, displaying information your application receives from the UPS Web Service APIs. Your application must present all data within each field received through the UPS Web Service APIs without amendment, deletion or modification of any type.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 6
Tracking - XML
7/11/2011
Providing visibility to UPS Returns Pack and Collect One Delivery Attempt (PAC1A) and UPS Returns Pack and Collect Three Delivery Attempt (PAC3A) movements Providing shipment, exception, delivery, and return notifications for UPS Returns Pack and Collect movements upon user request
Trade Direct small manifest uploads are kept in an advanced PLD database, and only released for visibility after the Origin scan is applied to the label.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 7
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 8
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 9
Tracking - XML
7/11/2011
The UPS Developer APIs can be implemented withal of these types of applications and many others. Virtually any software that needs instant, up-todate access to UPS services can take advantage of UPS Developer APIs.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 10
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 11
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 12
Tracking - XML
7/11/2011
7. Click the link for "Customer Support for UPS Developer Kit" under Access and Administration. 8. Complete the e-mail form. Please explain details about errors that are being returned, and under what circumstances. For more information or assistance with UPS technical support, please contact your UPS Developer APIs representative
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 13
Tracking - XML
7/11/2011
Internet application themselves, the UPS Developer APIs also rely on protocols to set the rules for their communications. The primary protocol for UPS Developer APIs is the hypertext transfer protocol, or HTTP. HTTP is a relatively simple protocol. An application that wants to use a Developer API acts as an HTTP client. It sends its request to UPS as part of an HTTP POST message. UPS servers reply to each request using an HTTP response message.
As part of the POST message, client applications indicate the type of content the message contains using an HTTP Content-Type header. For UPS Developer APIs, that content type should be application/x-www-form-urlencoded. (Presently, Version 1.1 is supported) In many cases the UPS Developer APIs exchange information that should be kept private. To protect confidential information, the Developer APIs rely on the Secure Sockets Layer 3 (SSL3) protocol in addition to HTTP. When two systems communicate using SSL, the protocol creates a secure channel between them, and it encrypts all information that they exchange using this channel. The SSL protocol that Developer APIs use is the same protocol used to secure millions of on-line purchases on the web.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 14
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 15
Tracking - XML
7/11/2011
SSL Certificate Changes and Renewals: UPS has migrated from Unchained to Chained Digital Certificates to improve security for UPS servers. Chained Digital Certificates requires the use of SSL 3.0. Our migration from SSL 2.0 to 3.0 was completed between 6/15/2008 and 3/3/2009. Renewal of UPS.com SSL Certificates are coordinated by UPS Security Services every two years. There is a concern that some UPS Developer Kit users who store UPS Certificates internally may have issues when SSL Certificates are renewed. It is recommended that UPS Developer Kit users not store UPS Certificates internally; however if a customer finds this necessary due to specific needs within their company, they may need to add renewed certificates to the their trust store. There are a number of ways one can add a certificate to the application. One way to obtain the proper certificate is by placing a UPS Developer Kit URL, https://onlinetools.ups.com/ups.app/xml/Rate, for example, in a browser, connect to the URL, and double-click on the "lock" on the bottom right of the window (using Internet Explorer 7). After that the steps can be followed to install the certificate. Also, in the event that the aforementioned solution does not work successfully for you we have been provided with the following certificate which should allow you to connect once it has been successfully added. You should be able to paste the following string into Notepad and save the file locally. Then, it will be necessary to have the client application reference the file so that it will know that this is the trusted certificate for making a connection to UPS.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 16
Tracking - XML
7/11/2011
This is the GTE CyberTrust Root that the client must trust: -----BEGIN CERTIFICATE----MIIB+jCCAWMCAgGjMA0GCSqGSIb3DQEBBAUAMEUxCzAJBgNVBAYTAlVTMRgwFgY DVQQKEw9HVEUgQ29ycG9yYXRpb24xHDAaBgNVBAMTE0dURSBDeWJlclRydXN0IFJvb3 QwHhcNOTYwMjIzMjMwMTAwWhcNMDYwMjIzMjM1OTAwWjBFMQswCQYDVQQGEwJ VUzEYMBYGA1UEChMPR1RFIENvcnBvcmF0aW9uMRwwGgYDVQQDExNHVEUgQ3liZXJ UcnVzdCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC45k+625h8cXyvRL fTD0bZZOWTwUKOx7pJjTUteueLveUFMVnGsS8KDPufpz+iCWaEVh43KRuH6X4MypqfpX/1 FZSj1aJGgthoTNE3FQZor734sLPwKfWVWgkWYXcKIiXUT0Wqx73llt/51KiOQswkwB6RJ0q1b QaAYznEol44AwIDAQABMA0GCSqGSIb3DQEBBAUAA4GBABKzdcZfHeFhVYAA1IFLezEP I2PnPfMD+fQ2qLvZ46WXTeorKeDWanOB5sCJo9Px4KWlIjeaY8JIILTbcuPI9tl8vrGvU9oUtCG 41tWW4/5ODFlitppK+ULdjG+BqXH/9ApybW1EDp3zdHSo1TRJ6V6e6bR64eVaH4QwnNOfpS XY -----END CERTIFICATE----Finally, for more information on installing the latest VeriSign CA Root Certificate, please click on the links below: https://knowledge.verisign.com/support/ssl-certificatessupport/index?page=content&id=SO7154&actp=search&viewlocale=en_US&searchid=130823512 4970 https://knowledge.verisign.com/support/ssl-certificatessupport/index?page=content&actp=CROSSLINK&id=AR1553 https://knowledge.verisign.com/support/ssl-certificatessupport/index?page=content&id=SO4785&actp=LIST The subsections that follow provide brief introductions to using HTTP and SSL with various software development tools, including Microsoft Visual Studio, Java Standard and Enterprise Edition, and popular open source environments.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 17
Tracking - XML
7/11/2011
' create the object that manages the communication Dim oXMLHttp As XMLHTTP Set oXMLHttp = New XMLHTTP ' prepare the HTTP POST request oXMLHttp.open "POST", "https://www.server.com/path", False oXMLHttp.setRequestHeader "Content-Type", _ "application/x-www-form-urlencoded" ' send the request oXMLHttp.send requestString
Figure 5. The URL class from the java.net package is a convenient way for Java programs to use HTTP and SSL
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 18
Tracking - XML
7/11/2011
res = curl_easy_perform(curl);
Figure 6. The open source libcurl library simplifies the use of HTTP and SSL
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 19
Tracking - XML
7/11/2011
As the figure illustrates, XML is a text-based format. XML messages contain regular text, though that text follows specific rules that XML defines. XML distinguishes different parts of a message with a label known as a tag. Tags in the example include <book>, <title>, <author>, <firstname>, etc. A tag can indicate the start of information if it begins with an angle bracket (<), and a tag can indicate the end of information if it begins with an angle bracket and a slash (</). A beginning tag, ending tag, and the information between the two make up an element. In this example the publisher element tells us that the publisher for the book is "John Wiley and Sons." The figure also shows how an XML message follows a defined structure. Elements can be contained within other elements, as <firstname> and <lastname> are included within the <author> element. This structure indicates that firstname and lastname are "children" of the author "parent."
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 20
Tracking - XML
7/11/2011
Although XML elements can contain almost any text, there are two special characters that cannot appear within an element. Those characters are the less-than sign (<) and the ampersand (&). Elements that include these contents must replace the special characters with "<" or "&" respectively. The name of a large telecommunications company, for example, would appear as "AT&T" within an XML message. Because XML is a text-based format, software has to take extra steps to use XML with binary data. For example, some UPS services return binary image data such as the image of a shipping label. To include this data in an XML message, UPS converts it from binary to text format using an algorithm known as Base64 encoding. The "The Base16, Base32, and Base64 Data Encodings" standard, also known as RFC 3548, defines that algorithm. Although XML messages consist of a series of text characters, most software development tools represent XML messages in a tree-like data structure. That representation clarifies the structure of the message. Figure 8 shows the same XML message as Figure 7, but it uses a more visual representation to highlight the message's structure.
The example of Figure 7 and Figure 8 is a relatively simple XML message with just a few elements. UPS Developer APIs rely on XML messages that are larger than this simple example, and it is difficult to show them in a pure graph like Figure 8 without losing legibility. Figure 9 shows an alternate way of depicting the tree-like structure of XML messages; it uses the same example as before.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 21
Tracking - XML
7/11/2011
A great deal of information on XML is available on the Internet. A good starting point for further research is the World Wide Web Consortiums main page on XML at http://www.w3.org/XML/.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 22
Tracking - XML
7/11/2011
' Define a variable and initialize it to a new XML message Dim dom Set dom = New DOMDocument30 ' Set properties of the variable dom.async = False dom.validateOnParse = False dom.resolveExternals = False dom.preserveWhiteSpace = True ' Identify the message as XML version 1.0 Set node = dom.createProcessingInstruction("xml", "version='1.0'") dom.appendChild node Set node = Nothing ' Create the root (book) element and add it to the message Dim root Set root = dom.createElement("book") dom.appendChild root ' Create child elements and add them to the root Dim node Set node = dom.createElement("title") node.text = "HTTP Essentials: ..." root.appendChild node Set node = Nothing Set node = dom.createElement("author") Dim child Set child = dom.createElement("firstname") child.text = "Stephen" node.appendChild child Set child = Nothing Set child = dom.createElement("lastname") child.text = "Thomas" node.appendChild child root.appendChild node ' And so on
Figure 10. Visual Basic can create XML messages through the DOMDocument object.
' Define a variable to hold the parsed message Dim dom As New DOMDocument30 dom.async = False dom.validateOnParse = False dom.resolveExternals = False dom.preserveWhiteSpace = True ' Try to parse the message If dom.loadXML(messageText) = False Then ' The text did not contain valid XML End If ' Get the title information from the message Dim node As IXMLDOMNode Set node = dom.selectSingleNode("/title") If node Is Nothing Then ' The message did not contain title information
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 23
Tracking - XML
7/11/2011
Figure 11. Visual Basic can read the contents of XML messages after parsing them with the DOMDocument object.
Visual Basic also has built-in classes to interpret Base64-encoded values. The Convert.FromBase64String() function converts from a Base64-encoded string to an array of 8-bit unsigned integers
Figure 12. JAXP provides a convenient way for Java applications to create XML messages from Java objects. import javax.xml.bind.JAXBContext; import javax.xml.bind.Marshaller; import java.io.StringReader; /* xmlMessage contains the XML message */ StringReader reader = new StringReader(xmlMessage); JAXBContext context = JAXBContext.newInstance(Book.class); Unmarshaller u = context.createUnmarshaller(); BookClass book = (BookClass) u.unmarshal(reader); /* access properties of the book */ System.out.println(book.getAuthor().getFirstname())
Figure 13. JAXP also gives Java applications a convenient way to retrieve elements from an XML message
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 24
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 25
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 26
Tracking - XML
7/11/2011
numbers up to 35 characters. Applications assign a reference number when they upload electronic shipping data to UPS. A successful query by reference number returns all of the packages within a shipment identified by the reference number. For example, if a shipment contained four packages, and two of the packages were tagged with the reference number, 10 widgets, the query response would show a shipment containing those two packages. Since reference numbers are assigned by customers, UPS cannot guarantee the uniqueness of a reference number across all packages shipped through the UPS system. To resolve this ambiguity, a search specification may contain any of the following qualifiers: Pickup date range: A range of dates within which UPS picked up the package. The default is 30 days before today's date.
UPS account number: The shipper's UPS account number. Destination postal code: A zip code (U.S.) or postal code (international). Destination country: The destination country code. (Note: Reference numbers are available up to 6 months after delivery.)
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 27
Tracking - XML
7/11/2011
Each AccessRequest contains three child elements: an AccessLicenseNumber, a UserId, and a Password. The following figure shows an example AccessRequest document.
<?xml version="1.0" ?> <AccessRequest xml:lang='en-US'> <AccessLicenseNumber> YOURACCESSLICENSENUMBER </AccessLicenseNumber> <UserId> YOURUSERID </UserId> <Password> YOURPASSWORD </Password> </AccessRequest>
1.8.2 Tracking
Tracking relies on a single request and response. Client applications request tracking information by sending a TrackRequest message to UPS. UPS replies with a TrackResponse message.
Example TrackRequest Message:
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 28
Tracking - XML
7/11/2011
<?xml version="1.0" ?> <AccessRequest xml:lang='en-US'> <AccessLicenseNumber>YOURACCESSLICENSENUMBER</AccessLic enseNumber> <UserId>YOURUSERID</UserId> <Password>YOURPASSWORD</Password> </AccessRequest> <?xml version="1.0" ?> <TrackRequest> <Request> <TransactionReference> <CustomerContext>guidlikesubstance</CustomerContext> </TransactionReference> <RequestAction>Track</RequestAction> </Request> <TrackingNumber>1Z9999999999999999</TrackingNumber> </TrackRequest>
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 29
Tracking - XML
7/11/2011
<StateProvinceCode>MD</StateProvinceCode> <CountryCode>US</CountryCode> </Address> <Code>DL</Code> <Description>Delivered</Description> </ActivityLocation> <Status> <StatusType> <Code>XX</Code> <Description>Status XX</Description> </StatusType> <StatusCode> <Code>YY</Code> <Description>Code YY</Description> </StatusCode> </Status> </Activity> </Package> </Shipment> </TrackResponse>
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 30
Tracking - XML
7/11/2011
MAXALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
Yes
Yes
Yes
TrackRequest
/TrackRequest
N/A
Container
*Yes
Yes
Yes
Request
/TrackRequest/Request
N/A
Container
TransactionReference
/TrackRequest/Request/TransactionReference
CustomerContext
/TrackRequest/Request/TransactionReference/ CustomerContext
TransactionReference identifies transactions between client and server. The client uses CustomerContext to synchronize request/response pairs. The client establishes CustomerContext, which can contain any information you want, as along as it is valid XML, it is echoed back by the server.
Yes
Yes
Yes
1..512
String
Yes
Yes
String
TransactionIdentifier
/TrackRequest/Request/TransactionReference/ TransactionIdentifier
1..20
Yes
Yes
ToolVersion
/TrackRequest/Request/TransactionReference/ ToolVersion
String
No
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 31
No
Yes
No
Yes
No
Yes
N/A
Yes
N/A
Yes
N/A
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAXALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
1..15
Yes
Yes
Yes
RequestAction
/TrackRequest/Request/RequestAction
RequestOption
/TrackRequest/Request/RequestOption
TrackingNumber
/TrackRequest/TrackingNumber
Optional processing. For Mail Innovations the only valid options are Last Activity and All activity. The packages tracking number For small package when the Tracking Number element is supplied, details of the package corresponding to the Tracking Number will be returned. For Mail Innovations this is treated as Mail Innovations tracking number. For Mail Innovations TrackingOption also has to be set. For freight Tracking Number will be treated as the Shipment Identification Number regardless of it is supplied in the ShipmentIdentificationNumber element or Tracking Number element.
'none' or '0'= Last Activity 'activity' or '1' - all activity 2 = POD, Receiver Address and Last Activity 3= POD, Receiver Address, All Activity 4=POD, COD, Last Activity 5=POD, COD, All Activity 6=POD, COD, Receiver Address, Last Activity 7=POD, COD, Receiver Address, All Activity
String
1..15
Yes
Yes
String
Cond
9..34
Yes
Yes
None
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 32
Yes
Yes
No
Yes
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAXALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
11..21
String
Cond
Yes
ShipmentIdentificationNum ber
/TrackRequest/ShipmentIdentificationNumber
CandidateBookmark
/TrackRequest/CandidateBookmark
ReferenceNumber
/TrackRequest/ReferenceNumber
The shipments tracking number. During Tracking and Reference Number searches, it is possible that duplicate shipments will be found. If duplicate shipments are found, then a Candidate Summary with a corresponding 'Candidate Bookmark' for each of the Shipments will be returned in the response. The Candidate Bookmark can be passed back to the Tracking Tool in a separate transaction to retrieve tracking information about the particular Shipment of interest. The reference number container tag. Required if a Shipment Identification Number or Tracking Number is not present. For tracking a reference number of Mail Innovations type this has to be set along with ShipmentType The customer assigned reference number. Required if a Shipment Identification Number or Tracking Number is not present.
Yes
String
0..15
Yes
No
No
Container
Yes
Yes
N/A
135
String
Yes
Yes
Value
/TrackRequest/ReferenceNumber/Value
None
Container
PickupDateRange
/TrackRequest/PickupDateRange
Container for pickup date range. For Mail Innovations this optional field for tracking by reference number.
Yes
Yes
None
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 33
Yes
N/A
No
Yes
No
Yes
N/A
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAXALLOWED
NAME
XPATH
DESCRIPTION The begin pickup date used to narrow a reference number search. For Mail Innovations this optional field for tracking by reference number.
VALIDATION RULES
String
Yes
Yes
BeginDate
/TrackRequest/PickupDateRange/BeginDate
YYYYMMDD
EndDate
/TrackRequest/PickupDateRange/EndDate
The end pickup date used to narrow a reference number search. For Mail Innovations this optional field for tracking by reference number. The UPS account number used to narrow a reference number search. This is not applicable for Mail Innovations. A ZIP Code (United States) or postal code (international destination) also narrows the search. For Mail Innovations this optional field for tracking by reference number to narrow the search. A country code used to narrow a reference number search. For Mail Innovations this optional field for tracking by reference number to narrow the search. Postal Code of the origin country used to narrow the reference number search. For freight Reference tracking Only
String
Yes
Yes
YYYYMMDD
6 or 10
String
Yes
Yes
No
ShipperNumber
/TrackRequest/ShipperNumber
None.
String
DestinationPostalCode
/TrackRequest/DestinationPostalCode
The destination country code is required if the destination postal code is present.
1..16
Yes
Yes
String
Yes
Yes
DestinationCountryCode
/TrackRequest/DestinationCountryCode
None.
String
1..16
Yes
No
No
OriginPostalCode
/TrackRequest/OriginPostalCode
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 34
No
Yes
2..3
No
Yes
No
No
Yes
No
Yes
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAXALLOWED
NAME
XPATH
DESCRIPTION Country code of the origin country used to narrow the reference number search. For freight Reference tracking Only Container for the type of Shipment when doing a Reference Number search. If this container is not present, tracking defaults to small package. This is a mandatory field for reference number tracking for Mail Innovations This element will be used to indicate the type of the shipment being tracked during a Reference tracking. 01 Small Package 02 - Freight. 03 - Mail Innovations When no value is supplied this element defaults to 01 Description of the type of the shipment being tracked during Reference tracking. 01 Small Package 02 - Freight 03 - Mail Innovations TrackingOption applies to Mail Innovations only. For Mail Innovations track by number, this is a mandatory field which has to be set to '03'. If only tracking number is provided without trackingoption then it will be treated as small package tracking
VALIDATION RULES
String
Yes
2..3
No
No
OriginCountryCode
/TrackRequest/OriginCountryCode
Container
Cond
Yes
Yes
ShipmentType
/TrackRequest/ShipmentType
String
*Yes
Yes
Yes
Code
/TrackRequest/ShipmentType/Code
Default value - 01
String
0..15
Yes
Yes
Description
/TrackRequest/ShipmentType/Description
String
Cond
TrackingOption
/TrackRequest/TrackingOption
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 35
Yes
No
No
Yes
No
Yes
Yes
N/A
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAXALLOWED
NAME
XPATH
IncludeFreight
/TrackRequest/IncludeFreight
DESCRIPTION Flag to indicate whether to include Freight while searching for the information. The valid values for this flag are:- 02 Small package Only 01- Small Package and Freight.
VALIDATION RULES
Defaults to small package only. Only when this flag is set to 01, Freight is included in the search. For all other values, the search defaults to Small Package only.
String
Yes
Yes
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 36
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 37
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
Yes
Yes
Yes
TrackResponse
/TrackResponse
Container
*Yes
Yes
Yes
Response
/TrackResponse/Response
Container
Yes
Yes
TransactionReference
/TrackResponse/Response/TransactionReference
CustomerContext
/TrackResponse/Response/TransactionReference /CustomerContext
TransactionReference identifies transactions between client and server. The client uses CustomerContext to synchronize request/response pairs. The client establishes CustomerContext, which can contain any information you want, as along as it is valid XML; it is echoed back by the server.
1..512
String
Yes
Yes
String
TransactionIdentifier
/TrackResponse/Response/TransactionReference /TransactionIdentifier
1..20
Yes
Yes
XpciVersion
/TrackResponse/Response/TransactionReference /XpciVersion
String
No
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 38
No
Yes
No
Yes
No
Yes
N/A
No
Yes
N/A
Yes
N/A
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
ResponseStatusCode
/TrackResponse/Response/ResponseStatusCode
Yes
Yes
Yes
135
String
Yes
Yes
Yes
ResponseStatusDescription
/TrackResponse/Response/ResponseStatusDesc ription
Describes Response Status Code. Returns text of 'Success' or 'Failure' If an error is encountered during the interchange, the Response contains an error. If the error is present, then the ErrorSeverity and ErrorCode are required. Describes the severity of the error. TransientError - Customers data has not been processed due to system unavailability. The customer has to wait and try again. HardError - The error was encountered processing the customers data and that the data needs correction. Warning - The customers data was successfully processed; however, there were warnings encountered during processing.
Container
Cond
Yes
Yes
Error
/TrackResponse/Response/Error
String
1..15
*Yes
Yes
Yes
ErrorSeverity
/TrackResponse/Response/Error/ErrorSeverity
String
ErrorCode
/TrackResponse/Response/Error/ErrorCode
A numeric value that describes the error. Each tool defines a range of error codes.
1..15
*Yes
Yes
Yes
String
1..50
Yes
Yes
ErrorDescription
/TrackResponse/Response/Error/ErrorDescription
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 39
Yes
No
Yes
Yes
Yes
Yes
Yes
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION Number of seconds to wait until retry. This field is populated on special conditions of the Transient Error only, as defined by the service. A number between 1 and 86400 (24 hours)
VALIDATION RULES
String
Yes
Yes
MinimumRetrySeconds
/TrackResponse/Response/Error/MinimumRetryS econds
Container
Many
Yes
Yes
ErrorLocation
/TrackResponse/Response/Error/ErrorLocation
1..512
String
ErrorLocationElementName
/TrackResponse/Response/Error/ErrorLocation/Er rorLocationElementName
The XPATH name of the element in error. This is a valid XPATH pointing to an element in the request document.
Yes
Yes
String
ErrorLocationAttributeName
/TrackResponse/Response/Error/ErrorLocation/Er rorLocationAttributeName
The name of the attribute in error. This is the name of the attribute contained by the Error Location Element.
1..50
Yes
Yes
Many
Yes
Yes
ErrorDigest
/TrackResponse/Response/Error/ErrorDigest
Container
Many
Yes
Yes
Yes
Shipment
/TrackResponse/Shipment
Container
Yes
Yes
InquiryNumber
/TrackResponse/Shipment/InquiryNumber
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
N/A
No
Yes
N/A
Yes
No
Yes
No
Yes
No
Yes
N/A
No
Yes
1..5
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
Code
/TrackResponse/Shipment/InquiryNumber/Code
Description
/TrackResponse/Shipment/InquiryNumber/Descri ption
DESCRIPTION Code to indicate the type of Inquiry Number The codes returned for Freight HAWB - House Airway Bill HBL House Bill of Lading PRO PRO Number SUBPRO Sub-PRO Number DO Delivery Order For Mail Innovations this returns : '03'- Mail Innovation tracking number. Description of the Inquiry Number as indicated by code Description of the codes HAWB - House Airway Bill HBL - House Bill of Lading PRO PRO Number SUBPRO Sub-PRO Number DO Delivery Order For Mail Innovations this returns : '03'- Mail Innovation tracking number.
VALIDATION RULES
String
*Yes
Yes
String
1..35
*Yes
Yes
String
1..34
*Yes
Yes
Value
/TrackResponse/Shipment/InquiryNumber/Value
ShipmentIdentificationNum ber
/TrackResponse/Shipment/ShipmentIdentification Number
Shipment number to which the package belongs. This element is not returned for track requests by Reference Number.
String
1..21
Yes
No
No
Container
ShipmentType
/TrackResponse/Shipment/ShipmentType
Container for the type of Shipment when doing a Reference Number search.
Cond
Yes
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 41
Yes
N/A
No
Yes
No
Yes
No
Yes
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
Code
/TrackResponse/Shipment/ShipmentType/Code
Description
/TrackResponse/Shipment/ShipmentType/Descrip tion
CandidateBookmark
/TrackResponse/Shipment/CandidateBookmark
DESCRIPTION This element will be used to indicate the type of the shipment being tracked during a Reference tracking. 01 Small Package 02 - Freight. 03 - Mail Innovations. During reference number tracking, the value of this element should be 01 in order to be small package. 02 will be returned for a Freight reference tracking. 03 will be returned for a Mail Innovations reference tracking Description of the type of the shipment being tracked during Reference tracking. 01 - Small Package 02 Freight 03 - Mail Innovations. For small package the description will be Small Package For Freight the description will be Freight For Mail Innovations the description will be Mail Innovations During Tracking and Reference Number searches, it is possible that duplicate shipments will be found. If duplicate shipments are found, then a Candidate Summary with a corresponding 'Candidate Bookmark' for each of the Shipments will be returned in the response. The Candidate Bookmark can be passed back to the Tracking Tool in a separate transaction to retrieve tracking information about the particular Shipment of interest.
VALIDATION RULES
String
*Yes
Yes
Yes
String
0..15
Yes
Yes
String
0..15
Yes
No
No
Container
Yes
Yes
Shipper
/TrackResponse/Shipment/Shipper
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 42
Yes
N/A
No
No
Yes
No
Yes
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
6..10
Yes
Yes
ShipperNumber
/TrackResponse/Shipment/Shipper/ShipperNumb er
Container
Address
/TrackResponse/Shipment/Shipper/Address
Shippers address Container tag. The shipper address is optional for Mail Innovations and may not be present always.
01
Yes
Yes
String
1..35
Yes
AddressLine1
/TrackResponse/Shipment/Shipper/Address/Addr essLine1
Yes
No
String
1..35
Yes
AddressLine2
/TrackResponse/Shipment/Shipper/Address/Addr essLine2
Yes
No
String
1..35
Yes
AddressLine3
/TrackResponse/Shipment/Shipper/Address/Addr essLine3
Yes
No
String
1..30
Yes
Yes
City
/TrackResponse/Shipment/Shipper/Address/City
String
StateProvinceCode
/TrackResponse/Shipment/Shipper/Address/State ProvinceCode
Shippers state or province code. Required for US or Canada. This is optional for Mail Innovations Page 43
Yes
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
2..5
No
Yes
No
No
No
No
Yes
No
Yes
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
516
String
Yes
Yes
PostalCode
/TrackResponse/Shipment/Shipper/Address/Post alCode
String
23
Yes
Yes
CountryCode
/TrackResponse/Shipment/Shipper/Address/Coun tryCode
Container
Yes
Yes
ShipTo
/TrackResponse/Shipment/ShipTo
Container
Yes
Yes
Address
/TrackResponse/Shipment/ShipTo/Address
String
1..35
Yes
AddressLine1
/TrackResponse/Shipment/ShipTo/Address/Addre ssLine1
Yes
No
String
1..35
Yes
AddressLine2
/TrackResponse/Shipment/ShipTo/Address/Addre ssLine2
Yes
No
String
1..35
Yes
AddressLine3
/TrackResponse/Shipment/ShipTo/Address/Addre ssLine3
Yes
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
Yes
N/A
No
Yes
N/A
No
Yes
No
Yes
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
1..30
Yes
Yes
City
/TrackResponse/Shipment/ShipTo/Address/City
String
StateProvinceCode
/TrackResponse/Shipment/ShipTo/Address/State ProvinceCode
Consignees state or province code. Required for US or Canada. This is optional for Mail Innovations.
Yes
Yes
516
String
Yes
Yes
PostalCode
/TrackResponse/Shipment/ShipTo/Address/Postal Code
String
23
Yes
Yes
CountryCode
/TrackResponse/Shipment/ShipTo/Address/Count ryCode
Container
Yes
Yes
ShipmentWeight
/TrackResponse/Shipment/ShipmentWeight
Container
Yes
Yes
UnitOfMeasurement
/TrackResponse/Shipment/ShipmentWeight/UnitO fMeasurement
String
*Yes
Yes
Yes
Code
/TrackResponse/Shipment/ShipmentWeight/UnitO fMeasurement/Code
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
Yes
N/A
No
Yes
N/A
No
Yes
No
Yes
No
Yes
2..5
No
Yes
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Description
/TrackResponse/Shipment/ShipmentWeight/UnitO fMeasurement/Description
String
No
String
Yes
Yes
Weight
/TrackResponse/Shipment/ShipmentWeight/Weig ht
Shipments total weight. Set to 0 for shipment with package type of letter.
Container
*Yes
Yes
Yes
Service
/TrackResponse/Shipment/Service
Code
/TrackResponse/Shipment/Service/Code
Container tag for UPS service associated with the shipment. For small package Values are: 01 = Next Day Air 02 = 2nd Day Air 03 = Ground 07 = International Express 08 = International Expedited 11 = International Standard 12 = 3 Day Select 13 = Next Day Air Saver 14 = Next Day Air Early AM; 31 = Basic; 54 = International Express Plus 59 = 2 Day Air A.M. 60 = UPS Select 65 = UPS Saver 82 = UPS Today Standard 83 = UPS Today Dedicated Courier 84 = UPS Today Intercity 85 = UPS Today Express 86 = UPS Today Express Saver. 92 = LWS Standard Parcel; 93 = LWS Parcel Select; 94 = LWS Bound Printed Matter; 95 = LWS Media Mail. For Freight Values returned are: TDCB Trade Direct Cross Border TDA Trade Direct Air TDO Trade Direct Ocean 308 UPS Freight LTL 309 UPS Freight LTL Guaranteed 310 UPS Freight LTL Urgent For Mail Innovations value is : '701' - UPS Mail Innovations
String
*Yes
Yes
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 46
Yes
Yes
N/A
Yes
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
Description
/TrackResponse/Shipment/Service/Description
DESCRIPTION Description of the service. For small package Values are: 01 = Next Day Air 02 = 2nd Day Air 03 = Ground 07 = International Express 08 = International Expedited 11 = International Standard 12 = 3 Day Select 13 = Next Day Air Saver 14 = Next Day Air Early AM 31 = Basic; 54 = International Express Plus 59 = 2 Day Air A.M. 60 = UPSSelect 65 = UPS Saver 82 = UPS Today Standard 83 = UPS Today Dedicated Courier 84 = UPS Today Intercity 85 = UPS Today Express 86 = UPS Today Express Saver. 92 = LWS Standard Parcel; 93 = LWS Parcel Select; 94 = LWS Bound Printed Matter; 95 = LWS Media Mail. For Freight Values returned are: TDCB Trade Direct Cross Border TDA Trade Direct Air TDO Trade Direct Ocean 308 UPS Freight LTL 309 UPS Freight LTL Guaranteed 310 UPS Freight LTL Urgent For Mail Innovations value is : '701' - UPS Mail Innovations
VALIDATION RULES
String
1..35
Yes
Yes
Container
Yes
Yes
ReferenceNumber
/TrackResponse/Shipment/ReferenceNumber
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 47
Yes
N/A
No
Yes
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
Code
/TrackResponse/Shipment/ReferenceNumber/Co de
DESCRIPTION Reference number type code, for signifying PO #s, Invoice #s, etc, for the entire shipment. For small package the codes returned are:- 28 Purchase Order No. 33- Model Number 34- Part Number 35 Serial Number 50- Department Number 51 -Store Number 54 FDA Product Code 55 -Acct. Rec. Customer Acct. 56 -Appropriation Number 57- Bill of Lading Number 59 -Invoice Number 60 -Manifest Key Number 61- Dealer Order Number 62 -Production Code 63 Purchase Req. Number 64 Salesperson Number 67 Transaction Ref. No. RZ -RMA 9V- COD Number For freight this can be BL or PO For Mail Innovations values are : '91' - 'USPS PIC' '93' 'USPS 30 char Concatenated barcode number' '94' - 'MailManifest System Number (MMS)' '95' - 'Mail Manifest ID (MMI)' '96' - 'Mail Innovations reference number (customer package id - (PID))'
VALIDATION RULES
String
Yes
Yes
Description
/TrackResponse/Shipment/ReferenceNumber/De scription
String
String
No
1..35
*Yes
Yes
Yes
Value
/TrackResponse/Shipment/ReferenceNumber/Val ue
Container
Cond
CurrentStatus
/TrackResponse/Shipment/CurrentStatus
Yes
N/A
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
Yes
Yes
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
Code
/TrackResponse/Shipment/CurrentStatus/Code
Description
/TrackResponse/Shipment/CurrentStatus/Descript ion
DESCRIPTION Code for the current status of the shipment. For Freight only: The values are:- 001 - Billing Information Received 002 - In Transit 003 - Exception 004 Delivered Origin CFS 005 - Delivered Destination CFS 006 - Warehousing 007 - Out For Delivery 011 Delivered 111 - Not Available 222 - Not Available Description for the current status of the shipment. The values are:- 001 - Billing Information Received 002 - In Transit 003 - Exception 004 - Delivered Origin CFS 005 - Delivered Destination CFS 006 - Warehousing 007 - Out For Delivery 011 - Delivered 111 - Not Available 222 - Not Available
VALIDATION RULES
String
*Yes
Yes
No
String
1..35
*Yes
Yes
No
String
Yes
Yes
PickupDate
/TrackResponse/Shipment/PickupDate
Container
Yes
N/A
No
No
DeliveryDetails
/TrackResponse/Shipment/DeliveryDetails
Container
DeliveryDate
/TrackResponse/Shipment/DeliveryDetails/Deliver yDate
Yes
N/A
No
No
String
Yes
Date
/TrackResponse/Shipment/DeliveryDetails/Deliver yDate/Date
Yes
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 49
No
No
No
Yes
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
Time
/TrackResponse/Shipment/DeliveryDetails/Deliver yDate/Time
Yes
No
No
Container
ServiceCenter
/TrackResponse/Shipment/DeliveryDetails/Servic eCenter
Yes
N/A
No
No
String
1..30
*Yes
City
/TrackResponse/Shipment/DeliveryDetails/Servic eCenter/City
Yes
No
String
*Yes
StateProvinceCode
/TrackResponse/Shipment/DeliveryDetails/Servic eCenter/StateProvinceCode
Yes
2..6
No
unbounded
Container
Cond
DeliveryDateTime
/TrackResponse/Shipment/DeliveryDateTime
Container
Yes
Type
/TrackResponse/Shipment/DeliveryDateTime/Typ e
String
Yes
Code
/TrackResponse/Shipment/DeliveryDateTime/Typ e/Code
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
No
No
Yes
N/A
No
No
Yes
N/A
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
1..35
Description
/TrackResponse/Shipment/DeliveryDateTime/Typ e/Description
String
Yes
Date
/TrackResponse/Shipment/DeliveryDateTime/Dat e
String
Time
/TrackResponse/Shipment/DeliveryDateTime/Tim e
Future use
Container
Volume
/TrackResponse/Shipment/Volume
Yes
N/A
No
No
String
Code
/TrackResponse/Shipment/Volume/Code
Yes
No
No
String
Description
/TrackResponse/Shipment/Volume/Description
Yes
No
No
String
1..35
*Yes
Value
/TrackResponse/Shipment/Volume/Value
Yes
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
Yes
No
No
No
Yes
No
No
Yes
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
1..35
BillToName
/TrackResponse/Shipment/BillToName
Yes
No
No
Container
PickUpServiceCenter
/TrackResponse/Shipment/PickUpServiceCenter
Yes
N/A
No
No
String
1..30
*Yes
City
/TrackResponse/Shipment/PickUpServiceCenter/ City
Yes
No
String
*Yes
StateProvinceCode
/TrackResponse/Shipment/PickUpServiceCenter/ StateProvinceCode
Yes
2..5
No
String
1..15
Yes
No
No
NumberOfPieces
/TrackResponse/Shipment/NumberOfPieces
String
1..15
Yes
No
No
NumberOfPallets
/TrackResponse/Shipment/NumberOfPallets
Container
ShipmentServiceOptions
/TrackResponse/Shipment/ShipmentServiceOptio ns
Container for Shipment Service Options. Currently contains COD only. Page 52
Yes
N/A
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
COD
/TrackResponse/Shipment/ShipmentServiceOptio ns/COD
Yes
N/A
No
No
Container
CODAmount
/TrackResponse/Shipment/ShipmentServiceOptio ns/COD/CODAmount
Yes
N/A
No
No
String
*Yes
CurrencyCode
/TrackResponse/Shipment/ShipmentServiceOptio ns/COD/CODAmount/CurrencyCode
Yes
No
String
1..30
*Yes
MonetaryValue
/TrackResponse/Shipment/ShipmentServiceOptio ns/COD/CODAmount/MonetaryValue
Yes
No
Container
EstimatedDeliveryDetails
/TrackResponse/Shipment/EstimatedDeliveryDeta ils
Yes
N/A
No
No
String
Date
/TrackResponse/Shipment/EstimatedDeliveryDeta ils/Date
Yes
No
No
Container
ServiceCenter
/TrackResponse/Shipment/EstimatedDeliveryDeta ils/ServiceCenter
Yes
N/A
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
1..30
*Yes
City
/TrackResponse/Shipment/EstimatedDeliveryDeta ils/ServiceCenter/City
Yes
No
String
*Yes
StateProvinceCode
/TrackResponse/Shipment/EstimatedDeliveryDeta ils/ServiceCenter/StateProvinceCode
Yes
2..8
No
String
1..35
Yes
No
No
SignedForByName
/TrackResponse/Shipment/SignedForByName
Container
Many
Yes
N/A
No
No
Activity
/TrackResponse/Shipment/Activity
Container
Many
ActivityLocation
/TrackResponse/Shipment/Activity/ActivityLocatio n
Yes
N/A
No
No
Container
Many
Address
/TrackResponse/Shipment/Activity/ActivityLocatio n/Address
Yes
N/A
No
No
String
1..30
City
/TrackResponse/Shipment/Activity/ActivityLocatio n/Address/City
Yes
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
StateProvinceCode
/TrackResponse/Shipment/Activity/ActivityLocatio n/Address/StateProvinceCode
Yes
2..5
No
No
Activity State.
516
String
PostalCode
/TrackResponse/Shipment/Activity/ActivityLocatio n/Address/PostalCode
Yes
No
No
String
23
CountryCode
/TrackResponse/Shipment/Activity/ActivityLocatio n/Address/CountryCode
Yes
No
No
1..512
String
Yes
No
No
Description
/TrackResponse/Shipment/Activity/Description
String
Yes
No
No
Date
/TrackResponse/Shipment/Activity/Date
String
Yes
No
No
Time
/TrackResponse/Shipment/Activity/Time
String
1..30
Yes
No
No
Trailer
/TrackResponse/Shipment/Activity/Trailer
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
Yes
N/A
No
No
OriginPortDetails
/TrackResponse/Shipment/OriginPortDetails
String
1..35
OriginPort
/TrackResponse/Shipment/OriginPortDetails/Origi nPort
Yes
No
No
Container
EstimatedDeparture
/TrackResponse/Shipment/OriginPortDetails/Esti matedDeparture
Yes
N/A
No
No
String
Date
/TrackResponse/Shipment/OriginPortDetails/Esti matedDeparture/Date
Date of the Estimated Departure Time Stamp at the origin port. YYYYMMDD format 6
*Yes
Yes
No
String
Time
/TrackResponse/Shipment/OriginPortDetails/Esti matedDeparture/Time
Time of the Estimated Departure Time Stamp at the origin port. HHMMSS format
Yes
No
No
Container
DestinationPortDetails
/TrackResponse/Shipment/DestinationPortDetails
Yes
N/A
No
No
String
1..35
DestinationPort
/TrackResponse/Shipment/DestinationPortDetails/ DestinationPort
Yes
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
EstimatedArrival
/TrackResponse/Shipment/DestinationPortDetails/ EstimatedArrival
Yes
N/A
No
No
String
Date
/TrackResponse/Shipment/DestinationPortDetails/ EstimatedArrival/Date
Date of the Estimated Arrival Time Stamp at the Destination Port. YYYYMMDD format 6
*Yes
Yes
No
String
Time
/TrackResponse/Shipment/DestinationPortDetails/ EstimatedArrival/Time
Time of the Estimated Arrival Time Stamp at the Destination Port. HHMMSS format
Yes
No
No
1..512
String
Yes
No
No
DescriptionOfGoods
/TrackResponse/Shipment/DescriptionOfGoods
Container
CargoReady
/TrackResponse/Shipment/CargoReady
Yes
No
N/A
No
String
*Yes
Date
/TrackResponse/Shipment/CargoReady/Date
Yes
No
String
Time
/TrackResponse/Shipment/CargoReady/Time
Yes
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
Yes
N/A
No
No
Manifest
/TrackResponse/Shipment/Manifest
String
*Yes
Date
/TrackResponse/Shipment/Manifest/Date
Yes
No
String
Time
/TrackResponse/Shipment/Manifest/Time
Yes
No
No
Container
Many
CarrierActivityInformation
/TrackResponse/Shipment/CarrierActivityInformati on
Yes
N/A
No
No
String
1..30
CarrierId
/TrackResponse/Shipment/CarrierActivityInformati on/CarrierId
Yes
No
No
String
1..35
Description
/TrackResponse/Shipment/CarrierActivityInformati on/Description
Yes
No
No
String
1..35
Status
/TrackResponse/Shipment/CarrierActivityInformati on/Status
Yes
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
Arrival
/TrackResponse/Shipment/CarrierActivityInformati on/Arrival
Yes
N/A
No
No
String
*Yes
Date
/TrackResponse/Shipment/CarrierActivityInformati on/Arrival/Date
Yes
No
String
Time
/TrackResponse/Shipment/CarrierActivityInformati on/Arrival/Time
Yes
No
No
Container
Departure
/TrackResponse/Shipment/CarrierActivityInformati on/Departure
Yes
N/A
No
No
String
*Yes
Date
/TrackResponse/Shipment/CarrierActivityInformati on/Departure/Date
Yes
No
String
Time
/TrackResponse/Shipment/CarrierActivityInformati on/Departure/Time
Yes
No
No
String
1..30
OriginPort
/TrackResponse/Shipment/CarrierActivityInformati on/OriginPort
Yes
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
1..30
DestinationPort
/TrackResponse/Shipment/CarrierActivityInformati on/DestinationPort
Yes
No
No
String
ScheduledDeliveryDate
/TrackResponse/Shipment/ScheduledDeliveryDat e
Date shipment was originally scheduled for delivery. Will be returned when available. YYYYMMDD. 6
Yes
Yes
No
String
Yes
ScheduledDeliveryTime
/TrackResponse/Shipment/ScheduledDeliveryTim e
Yes
No
HHMMSS.
String
1..30
Yes
No
No
FileNumber
/TrackResponse/Shipment/FileNumber
Container
Yes
N/A
No
No
Appointment
/TrackResponse/Shipment/Appointment
Appointment Details.
Container
Made
/TrackResponse/Shipment/Appointment/Made
Yes
N/A
No
No
String
Date
/TrackResponse/Shipment/Appointment/Made/Da te
Yes
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
Time
/TrackResponse/Shipment/Appointment/Made/Ti me
Yes
No
No
Container
Requested
/TrackResponse/Shipment/Appointment/Requeste d
Yes
N/A
No
No
String
Date
/TrackResponse/Shipment/Appointment/Requeste d/Date
Yes
No
No
String
Time
/TrackResponse/Shipment/Appointment/Requeste d/Time
Yes
No
No
String
BeginTime
/TrackResponse/Shipment/Appointment/BeginTim e
Yes
No
No
String
Yes
No
No
EndTime
/TrackResponse/Shipment/Appointment/EndTime
Container
Yes
Package
/TrackResponse/Shipment/Package
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
N/A
No
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
134
String
Yes
TrackingNumber
/TrackResponse/Shipment/Package/TrackingNum ber
String
RescheduledDeliveryDate
/TrackResponse/Shipment/Package/Rescheduled DeliveryDate
Yes
No
No
String
RescheduledDeliveryTime
/TrackResponse/Shipment/Package/Rescheduled DeliveryTime
Reroute
/TrackResponse/Shipment/Package/Reroute
The delivery is rescheduled to this time. When a requestor to intercept US50/PR package at the destination center at any time before it has been delivered, Consignees Reroute Container Tag is provided in the track response. .
Yes
No
No
Container
Yes
N/A
No
No
Container
Address
/TrackResponse/Shipment/Package/Reroute/Addr ess
Yes
N/A
No
No
String
1..30
AddressLine1
/TrackResponse/Shipment/Package/Reroute/Addr ess/AddressLine1
Yes
No
No
String
1..30
AddressLine2
/TrackResponse/Shipment/Package/Reroute/Addr ess/AddressLine2
Yes
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
Yes
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
1..30
AddressLine3
/TrackResponse/Shipment/Package/Reroute/Addr ess/AddressLine3
Yes
No
No
String
1..30
City
/TrackResponse/Shipment/Package/Reroute/Addr ess/City
Yes
No
No
Consignees City.
String
StateProvinceCode
/TrackResponse/Shipment/Package/Reroute/Addr ess/StateProvinceCode
Yes
2..5
No
No
516
String
PostalCode
/TrackResponse/Shipment/Package/Reroute/Addr ess/PostalCode
Yes
No
No
String
23
CountryCode
/TrackResponse/Shipment/Package/Reroute/Addr ess/CountryCode
Yes
No
No
Container
ReturnTo
/TrackResponse/Shipment/Package/ReturnTo
Return to Container tag that will contain the address information of who the package is returned to.
Yes
N/A
No
No
Container
Address
/TrackResponse/Shipment/Package/ReturnTo/Ad dress
Yes
N/A
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
AddressLine1
/TrackResponse/Shipment/Package/ReturnTo/Ad dress/AddressLine1
0..35
Yes
No
No
String
AddressLine2
/TrackResponse/Shipment/Package/ReturnTo/Ad dress/AddressLine2
0..35
Yes
No
No
String
0..35
AddressLine3
/TrackResponse/Shipment/Package/ReturnTo/Ad dress/AddressLine3
Yes
No
No
Return to AddressLine3
String
0..30
City
/TrackResponse/Shipment/Package/ReturnTo/Ad dress/City
Yes
No
No
String
StateProvinceCode
/TrackResponse/Shipment/Package/ReturnTo/Ad dress/StateProvinceCode
Yes
0..5
No
No
016
String
PostalCode
/TrackResponse/Shipment/Package/ReturnTo/Ad dress/PostalCode
Yes
No
No
String
03
CountryCode
/TrackResponse/Shipment/Package/ReturnTo/Ad dress/CountryCode
Yes
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
PackageServiceOptions
/TrackResponse/Shipment/Package/PackageServ iceOptions
Yes
N/A
No
No
Container
SignatureRequired
/TrackResponse/Shipment/Package/PackageServ iceOptions/SignatureRequired
Code
/TrackResponse/Shipment/Package/PackageServ iceOptions/SignatureRequired/Code
Container tag for SignatureRequired option. Client Application receives Special Instructions via the package detail response indicating Signature Required or Adult Signature Required when a package is delivered. Valid Values: A=Adult Signature Required S=Signature Required
Yes
N/A
No
No
String
*Yes
Yes
No
String
1..35
*Yes
Description
/TrackResponse/Shipment/Package/PackageServ iceOptions/SignatureRequired/Description
ImportControl
/TrackResponse/Shipment/Package/PackageServ iceOptions/ImportControl
Description of the Signature Required. (Currently not populated). Import Control Indication is used to designate that the shipment is an Import Control shipment. If the shipment is an import control shipment then this element will have value Y. For non import shipment this indicator will not appear.
String
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 65
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
CommercialInvoiceRemoval
/TrackResponse/Shipment/Package/PackageServ iceOptions/CommercialInvoiceRemoval
UPScarbonneutral
/TrackResponse/Shipment/Package/PackageServ iceOptions/UPScarbonneutral
DESCRIPTION Commercial Invoice Removal (CIR) is an accessorial or indication that will allow a shipper to dictate that UPS remove the Commercial Invoice from the user's shipment before the shipment is delivered to the ultimate consignee. When RequestOption value is 0-1 this element will have value R and for RequestOption 2-15 this element will have value R S indicating the status of the CIR. R stands for CIR requested. S stands for CIR removal successful. Carbon Neutral is a term used to reflect a generic term for the tagging to be included on any document, label, email, etc. used to identify that the carbon neutral fee is applied. This element will appear only when shipment is carbon neutral with value Y. For non carbon neutral shipping this element wont appear.
VALIDATION RULES
String
No
String
No
USPSPICNumber
/TrackResponse/Shipment/Package/PackageServ iceOptions/USPSPICNumber
ExchangeBased
/TrackResponse/Shipment/Package/PackageServ iceOptions/ExchangeBased
USPSPICNumber is a USPS Package Identification code which is returned at package service options level for UPS Returns Flexible Access Shipments. UPS Returns Exchange is a roundtrip transportation offering designed to improve the exchange of merchandise between a shipper and receiver. If the shipment has a Return Exchange accessorial is applied to it the value returned will be R Exchange requested or S Exchange completed. If the shipment does not have a Return Exchange accessorial attached to it this element won't appear.
Variable
String
Cond
String
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 66
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
PackAndCollect
/TrackResponse/Shipment/Package/PackageServ iceOptions/PackAndCollect
DESCRIPTION Pack and Collect is a contractual returns solution designed for the retrieval of high-value products from the original receiver for return to the shipper or to an alternate location. This element will appear only when shipment has a pack and collect (CAR) accessorial applied to it with value Y. For non pack and collect shipments this element wont appear.
VALIDATION RULES
String
No
Container
Many
Yes
Activity
/TrackResponse/Shipment/Package/Activity
Activity information
unbounded
Container
Cond
AlternateTrackingInfo
/TrackResponse/Shipment/Package/Activity/Alter nateTrackingInfo
Alternate tracking number. This is applicable only for Mail Innovations Valid values for this are - 'P' - Package ID, 'M' -Mail Manifest ID (type of Sequence number), 'S'- MMS number(type of Sequence number), 'T'Postal service Tracking ID
String
Yes
Type
/TrackResponse/Shipment/Package/Activity/Alter nateTrackingInfo/Type
String
Description
/TrackResponse/Shipment/Package/Activity/Alter nateTrackingInfo/Description
Future use
String
1..34
Yes
Value
/TrackResponse/Shipment/Package/Activity/Alter nateTrackingInfo/Value
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 67
Yes
No
No
Yes
N/A
No
No
No
Yes
No
No
Yes
N/A
No
No
Yes
N/A
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
Yes
ActivityLocation
/TrackResponse/Shipment/Package/Activity/Activi tyLocation
Location of activity.
Container
Yes
Address
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Address
Address information
130
String
AddressLine1
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Address/AddressLine1
Yes
No
No
130
String
AddressLine2
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Address/AddressLine2
Yes
No
No
String
1..30
AddressLine3
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Address/AddressLine3
Yes
No
No
String
1..30
Yes
City
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Address/City
String
StateProvinceCode
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Address/StateProvinceCode
Activity locations state of province code. This is optional field for Mail Innovations Page 68
25
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
No
No
Yes
No
No
No
No
No
Yes
N/A
No
No
Yes
N/A
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
116
String
Yes
PostalCode
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Address/PostalCode
Activity Locations postal codes. This will be available for Mail Innovations
String
*Yes
Yes
CountryCode
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Address/CountryCode
Activity locations country code. This will be available for Mail Innovations
Container
AddressArtifactFormat
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/AddressArtifactFormat
Yes
N/A
No
No
Address location.
StreetNumberLow
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/AddressArtifactFormat/StreetNumberL ow
010
String
Yes
No
No
String
StreetPrefix
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/AddressArtifactFormat/StreetPrefix
Yes
No
No
Street Prefix.
String
0..50
StreetName
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/AddressArtifactFormat/StreetName
Yes
No
No
Street Name.
String
StreetSuffix
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/AddressArtifactFormat/StreetSuffix
Yes
No
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
Yes
No
Yes
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
StreetType
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/AddressArtifactFormat/StreetType
String
No
PoliticalDivision2
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/AddressArtifactFormat/PoliticalDivision 2
String
5..16
Yes
No
No
PoliticalDivision1
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/AddressArtifactFormat/PoliticalDivision 1
String
0..30
Yes
No
No
PoliticalDivision1State province.
PostcodePrimaryLow
String
5..16
Yes
No
No
Postal Code.
String
CountryCode
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/AddressArtifactFormat/CountryCode
Yes
No
No
Container
TransportFacility
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/TransportFacility
This container is for storing the type and code of the transport facility of the Mail Innovations activity
String
Type
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/TransportFacility/Type
Type of facility for Mail Innovations shipment. valid values are 'IC' for USPS and 'VT' for MI. Page 70
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
No
No
Yes
N/A
No
No
No
No
No
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
Code
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/TransportFacility/Code
String
*Yes
Code
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Code
Yes
No
String
1..35
*Yes
Description
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/Description
Yes
No
015
String
SignedForByName
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/SignedForByName
Yes
No
No
PODLetter
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/PODLetter
Container
No
HTMLImage
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/PODLetter/HTMLImage
String
No
Container
ElectronicDeliveryNotificatio n
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/ElectronicDeliveryNotification
Container to hold the Name of the customer who authorized the package release Page 71
No
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
No
No
No
No
No
No
Yes
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
1..35
Yes
Name
/TrackResponse/Shipment/Package/Activity/Activi tyLocation/ElectronicDeliveryNotification/Name
Container
Yes
Status
/TrackResponse/Shipment/Package/Activity/Statu s
Container
Yes
StatusType
/TrackResponse/Shipment/Package/Activity/Statu s/StatusType
Container tag for activity Status type. Code for status type of activity I = In Transit D = Delivered X = Exception P = Pickup M = Manifest Pickup For Mail Innovations only D, I, M, P and X are applicable.
String
Yes
Code
/TrackResponse/Shipment/Package/Activity/Statu s/StatusType/Code
120
String
Yes
Description
/TrackResponse/Shipment/Package/Activity/Statu s/StatusType/Description
Container
01
Yes
StatusCode
/TrackResponse/Shipment/Package/Activity/Statu s/StatusCode
String
Code
/TrackResponse/Shipment/Package/Activity/Statu s/StatusCode/Code
Code for status code of activity. Describes the activity status type in greater detail Page 72
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
No
No
Yes
No
No
Yes
No
No
Yes
No
No
Yes
0..1
No
No
Yes
N/A
No
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
Yes
Date
/TrackResponse/Shipment/Package/Activity/Date
String
Yes
Time
/TrackResponse/Shipment/Package/Activity/Time
Container
Many
Yes
Message
/TrackResponse/Shipment/Package/Message
Code
/TrackResponse/Shipment/Package/Message/Co de
Container provided when the package has additional delivery information. Code describing what type of message the customer can provide: Valid values: 01 On Time 02 Rescheduled 03 Returned To Shipper Suggested text to provide to the customer when the code equals 01 is 'On Time'. Suggested Text to provide to the customer when the code equals 02 is 'Rescheduled'. Suggested Text to provide to the customer when the code equals 03 is 'Returned To Shipper'. For Mail Innovations only '01' is applicable.
String
*Yes
02
Yes
String
15
Description
/TrackResponse/Shipment/Package/Message/De scription
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 73
Yes
No
No
Yes
No
Yes
N/A
No
No
Yes
No
No
Yes
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
Container
PackageWeight
/TrackResponse/Shipment/Package/PackageWei ght
Container
Yes
UnitOfMeasurement
/TrackResponse/Shipment/Package/PackageWei ght/UnitOfMeasurement
String
*Yes
Yes
Code
/TrackResponse/Shipment/Package/PackageWei ght/UnitOfMeasurement/Code
String
1..35
Yes
Description
/TrackResponse/Shipment/Package/PackageWei ght/UnitOfMeasurement/Description
String
7.2
Yes
Weight
/TrackResponse/Shipment/Package/PackageWei ght/Weight
Container
Many
Yes
ReferenceNumber
/TrackResponse/Shipment/Package/ReferenceNu mber
String
Yes
Code
/TrackResponse/Shipment/Package/ReferenceNu mber/Code
Reference number type code, for signifying PO #s, Invoice #s, etc. Page 74
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
No
No
Yes
N/A
No
No
Yes
No
No
Yes
No
No
Yes
No
Yes
N/A
No
No
Yes
N/A
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION
VALIDATION RULES
String
1..35
*Yes
Yes
Value
/TrackResponse/Shipment/Package/ReferenceNu mber/Value
Container
ProductType
/TrackResponse/Shipment/Package/ProductType
Yes
N/A
No
No
Code
/TrackResponse/Shipment/Package/ProductType/ Code
Code indicating the type of the Product. Its value is returned from the Tracking Component. (Currently not populated). Description of the type of the Product. Valid Value: World Ease (when a shipment with single/multiple packages is associated with World Ease movement).
String
Yes
No
No
String
1..35
*Yes
Description
/TrackResponse/Shipment/Package/ProductType/ Description
Yes
No
String
LocationAssured
/TrackResponse/Shipment/Package/LocationAssu red
AlternateTrackingNumber
/TrackResponse/Shipment/Package/AlternateTrac kingNumber
Indication of Location Assured Service. Valid Value: 1 = Location Assured If any other tracking number is associated with the package. This generally happens if the package is returned or some other exception has occurred and another new tracking number is assigned to it.
Yes
No
No
unbounded
11..21
String
No
unbounded
Container
AlternateTrackingInfo
/TrackResponse/Shipment/Package/AlternateTrac kingInfo
Alternate tracking number returned for this package. This is applicable only for Mail Innovations Page 75
Cond
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Yes
N/A
No
No
No
No
No
No
No
Yes
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
MAX ALLOWED
NAME
XPATH
DESCRIPTION Valid values for this are - 'P' - Package ID, 'M' -Mail Manifest ID (type of Sequence number), 'S'- MMS number(type of Sequence number), 'T'Postal service Tracking ID
VALIDATION RULES
String
Yes
Type
/TrackResponse/Shipment/Package/AlternateTrac kingInfo/Type
String
Description
/TrackResponse/Shipment/Package/AlternateTrac kingInfo/Description
Future use
String
1..34
Yes
Value
/TrackResponse/Shipment/Package/AlternateTrac kingInfo/Value
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 76
Yes
No
No
Yes
N/A
No
No
No
Yes
No
No
MAIL INNOVATIONS
REQUIRED
SMALL PACKAGE
FREIGHT
LENGTH
TYPE
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 77
Tracking - XML
7/11/2011
Evenly distribute you information requests over the remaining 19 hour window. Make every attempt to limit requests for information to no more than 2000 per hour (evenly distributed throughout the hour). Do not track the same numbers continually throughout the day. Any less than 50% unique numbers in a given 24 hour period can result in termination. For example, if a service level indicates a guaranteed delivery time of 10:30 AM for your delivery address and the tracking information guarantee is for 30 minutes after delivery, you should track that shipment after 11:00 AM. If daily/weekly tracking requests exceed daily shipping volume by a large margin, UPS will reserve the right to suspend tracking for hat account until the situation is rectified. If a resolution can not be found and implemented, tracking for that account may be terminated.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 78
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 79
Tracking - XML
7/11/2011
Error Code 151086 151091 151602 152012 152100 152110 152315 154010 154030 154040 154050 154070 154080 154081 154082 154083 150084 150085 154086 20011 9150001 9150002 9150003 9150004 9150006 9150007 9150007 9150007
Severity Hard Hard Hard Hard Hard Hard Hard Hard Hard Hard Hard Hard Warning warning Hard HARD Hard Hard Hard Hard Hard Hard Hard Hard Hard Hard Hard Hard
Description Maximum candidate exceeded for Reference number search. Use the tracking number search Multiple reference numbers found, it may be possible to narrow the search with additional data. Destination Country Code must be entered Number of records selected exceeds limit of 175 Enter shipper number - additional shippers used the reference No information found for reference number Multiple reference numbers found, it is not possible to qualify further. Invalid inquiry number No information for this tracking number Invalid tracking type Non-unique BCD number - Candidate List returned Signature Tracking Options not available without successful login Could not verify Signature rights Your search returned multiple Shipments. Please select from the provided results. The supplied Candidate Bookmark fails validation Specific Tracking data could not be found. It may be possible to narrow the search with additional data. Invalid origin postal code length Invalid origin country code length Missing origin country code when origin postal code is supplied The Integration indicator is no longer supported Invalid access license number for tracking request option Invalid or missing inquiry number - TrackingNumber, ShipmentIdentificationNumber, or ReferenceNumber Invalid Candidate Bookmark Shipment Type should be specified when tracking by Reference Number CountryCode should be specified when ShipperAccountInfo container is present. Missing Recipient Email Address Missing Failure Email Address Missing Language information. Either ExceptionNotificationIndicator or DeliveryNotificationIndicator has to be supplied with Quantum View Notification request. Invalid Tracking Request Document Mail Innovations Tracking Service Unavailable. Mail Innovations Tracking Information not found. Invalid request option for Mail Innovations.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 80
Tracking - XML
7/11/2011
Description Max size of the candidate list is exceeded. Invalid country code for Mail Innovations. Invalid postal code for Mail Innovations. Invalid data found or the combination of data elements is invalid
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 81
Tracking - XML
7/11/2011
Country Name Afghanistan land Islands Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbados Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia and Herzegovina Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam
Yes
Yes
Yes Yes
Yes Yes
Yes
Yes
Yes
Yes
Yes
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 82
Tracking - XML
7/11/2011
Country Code BG BF BI KH CM CA CV KY CF TD CL CN CX CC CO KM CG CD CK CR CI HR CU CY CZ DK DJ DM DO EC EG SV GQ ER EE ET FK FO FJ FI FR GF PF
Country Name Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Chad Chile China Christmas Island Cocos (Keeling) Islands Colombia Comoros Congo Congo, The Democratic Republic of Cook Islands Costa Rica Cte Divoire Croatia Cuba Cyprus Czech Republic Denmark Djibouti Dominica Dominican Republic Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland Islands (Malvinas) Faroe Islands Fiji Finland France French Guiana French Polynesia
Forward Origin
Yes
Yes
Yes Yes
Yes Yes
Yes
Yes
Yes Yes
Yes
Yes
Yes Yes
Yes Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 83
Tracking - XML
7/11/2011
Country Code TF GA GM GE DE GH GI GR GL GD GP GU GT GG GN GW GY HT HM VA HN HK HU IS IN ID IR IQ IE IM IL IT JM JP JE JO KZ KE KI KP KR
Country Name French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guernsey Guinea Guinea-Bissau Guyana Haiti Heard Island and McDonald Islands Holy See (Vatican City State) Honduras Hong Kong Hungary Iceland India Indonesia Iran, Islamic Republic of Iraq Ireland Isle of Man Israel Italy Jamaica Japan Jersey Jordan Kazakhstan Kenya Kiribati Korea, Democratic Peoples Republic of Korea, Republic of
Forward Origin
Return Origin
Yes
Yes
Yes
Yes Yes
Yes Yes
Yes Yes
Yes
Yes
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 84
Tracking - XML
7/11/2011
Country Code KW KG LA LV LB LS LR LY LI LT LU MO MK MG MW MY MV ML MT MH MQ MR MU YT MX FM MD MC MN ME MS MA MZ MM NA NR NP NL AN NC NZ
Country Name Kuwait Kyrgyzstan Lao Peoples Democratic Republic Latvia Lebanon Lesotho Liberia Libyan Arab Jamahiriya Liechtenstein Lithuania Luxembourg Macao Macedonia, The Former Yugoslav Republic of Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Martinique Mauritania Mauritius Mayotte Mexico Micronesia, Federated States of Moldova, Republic of Monaco Mongolia Montenegro Montserrat Morocco Mozambique Myanmar Namibia Nauru Nepal Netherlands Netherlands Antilles New Caledonia New Zealand
Forward Origin
Yes Yes
Yes
Yes
Yes
Yes Yes
Yes
Yes
Yes
Yes
Yes
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 85
Tracking - XML
7/11/2011
Country Code NI NE NG NG NU NF MP NO OM PK PW PS PA PG PY PE PH PN PL PT PR QA RE RO RU RW SH KN LC PM VC WS SM ST SA SN RS SC SL SG SK SI
Country Name Nicaragua Niger Nigeria Nigeria Niue Norfolk Island Northern Mariana Islands Norway Oman Pakistan Palau Palestinian Territory, Occupied Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Qatar Runion Romania Russian Federation Rwanda Saint Helena Saint Kitts and Nevis Saint Lucia Saint Pierre and Miquelon Saint Vincent and The Grenadines Samoa San Marino Sao Tome and Principe Saudi Arabia Senegal Serbia Seychelles Sierra Leone Singapore Slovakia Slovenia
Forward Origin
Yes
Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes
Yes Yes
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 86
Tracking - XML
7/11/2011
Country Code SB SO ZA
Country Name Solomon Islands Somalia South Africa South Georgia and The South Sandwich Islands Spain Sri Lanka Sudan Suriname Svalbard and Jan Mayen Swaziland Sweden Switzerland Syrian Arab Republic Taiwan, Province of China Tajikistan Tanzania, United Republic of Thailand Timor-Leste Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos Islands Tuvalu Uganda Ukraine United Arab Emirates United Kingdom United States United States Minor Outlying Islands Uruguay Uzbekistan Vanuatu Venezuela Viet Nam Virgin Islands, British Virgin Islands, U.S. Wallis and Futuna
Forward Origin
Return Origin
Yes
GS ES LK SD SR SJ SZ SE CH SY TW TJ TZ TH TL TG TK TO TT TN TR TM TC TV UG UA AE GB US UM UY UZ VU VE VN VG VI WF
Yes
Yes
Yes
Yes
Yes Yes
Yes
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 87
Tracking - XML
7/11/2011
Country Code EH YE ZM ZW
Forward Origin
Return Origin
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 88
Tracking - XML
7/11/2011
Country/Region Afghanistan Albania Algeria American Samoa Andorra Angola Anguilla Antigua And Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin
Currency Name Afghani Lek Algerian Dinar US Dollar Euro Kwanza East Caribbean Dollar East Caribbean Dollar Argentine Peso Armenian Dram Aruban Guilder Australian Dollar Euro Azerbaijanian Manat Bahamian Dollar Bahraini Dinar Taka Barbados Dollar Belarussian Ruble Euro Belize Dollar CFA Franc BCEAO Bermudian Dollar (customarily known as Bermuda Dollar) Indian Rupee Ngultrum Boliviano Mvdol Convertible Marks Pula Norwegian Krone
Currency Code AFN ALL DZD USD EUR AOA XCD XCD ARS AMD AWG AUD EUR AZN BSD BHD BDT BBD BYR EUR BZD XOF
Bermuda Bhutan Bhutan Bolivia Bolivia Bosnia and Herzegovina Botswana Bouvet Island
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 89
Tracking - XML
7/11/2011
Country/Region Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Chad Chile Chile China Christmas Island Cocos (Keeling) Islands Colombia Colombia Comoros Congo Congo, The Democratic Republic of Cook Islands Costa Rica Cte Divoire Croatia Cuba Cyprus Czech Republic Denmark Djibouti Dominica Dominican Republic Ecuador Egypt El Salvador El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland Islands (Malvinas) Faroe Islands
Currency Name Brazilian Real US Dollar Brunei Dollar Bulgarian Lev CFA Franc BCEAO Burundi Franc Riel CFA Franc BEAC Canadian Dollar Cape Verde Escudo Cayman Islands Dollar CFA Franc BEAC CFA Franc BEAC Chilean Peso Unidades de formento Yuan Renminbi Australian Dollar Australian Dollar Colombian Peso Unidad de Valor Real Comoro Franc CFA Franc BEAC Franc Congolais New Zealand Dollar Costa Rican Colon CFA Franc BCEAO Croatian Kuna Cuban Peso Euro Czech Koruna Danish Krone Djibouti Franc East Caribbean Dollar Dominican Peso US Dollar Egyptian Pound El Salvador Colon US Dollar CFA Franc BEAC Nakfa Kroon Ethiopian Birr Falkland Islands Pound Danish Krone
Currency Code BRL USD BND BGN XOF BIF KHR XAF CAD CVE KYD XAF XAF CLP CLF RMB AUD AUD COP COU KMF XAF CDF NZD CRC XOF HRK CUP EUR CZK DKK DJF XCD DOP USD EGP SVC USD XAF ERN EEK ETB FKP DKK
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 90
Tracking - XML
7/11/2011
Country/Region Fiji Finland France French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guernsey Guinea Guinea-Bissau Guinea-Bissau Guyana Haiti Haiti Heard Island ond Mcdonald Islands Holy See (Vatican City State) Honduras Hong Kong Hungary Iceland India Indonesia Iran (Islamic Republic of) Iraq Ireland Israel Italy Jamaica Japan Jersey Jordan Kazakhstan
Currency Name Fiji Dollar Euro Euro Euro CFP Franc Euro CFA Franc BEAC Dalasi Lari Euro Cedi Gibraltar Pound Euro Danish Krone East Caribbean Dollar Euro US Dollar Quetzal Pound Sterling Guinea Franc Guinea-Bissau Peso CFA Franc BCEAO Guyana Dollar Gourde US Dollar Australian Dollar Euro Lempira Hong Kong Dollar Forint Iceland Krona Indian Rupee Rupiah Iranian Rial Iraqi Dinar Euro New Israeli Sheqel Euro Jamaican Dollar Yen Pound Sterling Jordanian Dinar Tenge
Currency Code FJD EUR EUR EUR XPF EUR XAF GMD GEL EUR GHC GIP EUR DKK XCD EUR USD GTQ GBP GNF GWP XOF GYD HTG USD AUD EUR HNL HKD HUF ISK INR IDR IRR IQD EUR ILS EUR JMD JPY GBP JOD KZT
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 91
Tracking - XML
7/11/2011
Country/Region Kenya Kiribati Korea, Democratic Peoples Republic of Korea, Republic of Kuwait Kyrgyzstan Lao Peoples Democratic Republic Latvia Lebanon Lesotho Lesotho Liberia Libyan Arab Jamahiriya Liechtenstein Lithuania Luxembourg Macao Macedonia, The Former Yugoslav Republic of Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Martinique Mauritania Mauritius Mayotte Mexico Mexico Micronesia (Federated States of) Moldova, Republic of Monaco Mongolia Montenegro Montserrat Morocco Mozambique Myanmar
Currency Name Kenyan Shilling Australian Dollar North Korean Won Won Kuwaiti Dinar Som Kip Latvian Lats Lebanese Pound Rand Loti Liberian Dollar Libyan Dinar Swiss Franc Lithuanian Litas Euro Pataca Denar Malagascy Ariary Kwacha Malaysian Ringgit Rufiyaa CFA Franc BCEAO Euro US Dollar Euro Ouguiya Mauritius Rupee Euro Mexican Peso Mexican Unidad de Inversion (UID) US Dollar Moldovan Leu Euro Tugrik Euro East Caribbean Dollar Moroccan Dirham Metical Kyat
Currency Code KES AUD KPW KRW KWD KGS LAK LVL LBP ZAR LSL LRD LYD CHF LTL EUR MOP MKD MGA MWK MYR MVR XOF EUR USD EUR MRO MUR EUR MXN MXV USD MDL EUR MNT EUR XCD MAD MZN MMK
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 92
Tracking - XML
7/11/2011
Country/Region Namibia Namibia Nauru Nepal Netherlands Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island Northern Mariana Islands Norway Oman Pakistan Palau Panama Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Qatar Runion Romania Russian Federation Rwanda Saint Helena Saint Kitts and Nevis Saint Lucia Saint Pierre and Miquelon Saint Vincent and The Grenadines Samoa San Marino So Tome and Principe Saudi Arabia Senegal
Currency Name Rand Namibian Dollar Australian Dollar Nepalese Rupee Euro Netherlands Antillian Guilder CFP Franc New Zealand Dollar Cordoba Oro CFA Franc BCEAO Naira New Zealand Dollar Australian Dollar US Dollar Norwegian Krone Rial Omani Pakistan Rupee US Dollar Balboa US Dollar Kina Guarani Nuevo Sol Philippine Peso New Zealand Dollar Zloty Euro US Dollar Qatari Rial Euro New Leu Russian Ruble Rwanda Franc Saint Helena Pound East Caribbean Dollar East Caribbean Dollar Euro East Caribbean Dollar Tala Euro Dobra Saudi Riyal CFA Franc BCEAO
Currency Code ZAR NAD AUD NPR EUR ANG XPF NZD NIO XOF NGN NZD AUD USD NOK OMR PKR USD PAB USD PGK PYG PEN PHP NZD PLN EUR USD QAR EUR RON RUB RWF SHP XCD XCD EUR XCD WST EUR STD SAR XOF
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 93
Tracking - XML
7/11/2011
Country/Region Serbia Seychelles Sierra Leone Singapore Slovakia Slovenia Solomon Islands Somalia South Africa Spain Sri Lanka Sudan Suriname Svalbard and Jan Mayen Swaziland Sweden Switzerland Switzerland Switzerland Syrian Arab Republic Taiwan, Province of China Tajikistan Tanzania, United Republic of Thailand Timor-Leste Togo Tokelau Tonga Trinidad And Tobago Tunisia Turkey Turkmenistan Turks And Caicos Islands Tuvalu Uganda Ukraine United Arab Emirates United Kingdom United States United States Minor Outlying Islands Uruguay
Currency Name Serbian Dinar Seychelles Rupee Leone Singapore Dollar Euro Euro Solomon Islands Dollar Somali Shilling Rand Euro Sri Lanka Rupee Sudanese Dinar Surinam Dollar Norwegian Krone Lilangeni Swedish Krona Swiss Franc WIR Franc WIR Euro Syrian Pound New Taiwan Dollar Somoni Tanzanian Shilling Baht US Dollar CFA Franc BCEAO New Zealand Dollar Paanga Trinidad and Tobago Dollar Tunisian Dinar New Turkish Lira Manat US Dollar Australian Dollar Uganda Shilling Hryvnia UAE Dirham Pound Sterling US Dollar US Dollar Peso Uruguayo
Currency Code RSD SCR SLL SGD EUR EUR SBD SOS ZAR EUR LKR SDD SRD NOK SZL SEK CHF CHW CHE SYP TWD TJS TZS THB USD XOF NZD TOP TTD TND TRY TMM USD AUD UGX UAH AED GBP USD USD UYU
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 94
Tracking - XML
7/11/2011
Country/Region
Currency Name Uruguay Peso en Unidades Indexadas Uzbekistan Sum Vatu Bolivar Dong US Dollar US Dollar CFP Franc Moroccan Dirham Yemeni Rial Kwacha Zimbabwe Dollar
Currency Code
Uruguay Uzbekistan Vanuatu Venezuela Viet Nam Virgin Islands (British) Virgin Islands (US) Wallis And Futuna Western Sahara Yemen Zambia Zimbabwe
UYI UZS VUV VEB VND USD USD XPF MAD YER ZMK ZWD
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 95
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 96
Tracking - XML
7/11/2011
Service Code 001 001 001 001 001 001 001 001 001 001 001 001 001 001 001 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 002 004 004 004
Description 1DA LOC ASRD SHIPPER REL SAT DEL 1DA LOC ASRD SHIP REL DEL CONF SAT NEXT DAY AIR SATURDAY RETURN SVC UPS 1DA 1 PICKUP ATTEMPT UPS 1DA 1 PICKUP ATTEMPT SAT DELIV UPS 1DA 3 PICKUP ATTEMPTS UPS 1DA 3 PICKUP ATTEMPTS SAT DELIV UPS EXPRESS (NA1) ADULT SIGNATURE UPS EXPRESS (NA1) SATURDAY DELIVERY UPS NEXT DAY AIR UPS NEXT DAY AIR SATURDAY DELIVERY UPS NEXT DAY AIR ADULT SIGNATURE UPS NEXT DAY AIR SAT DEL ADULT SIG UPS NEXT DAY AIR SHIPPER RELEASE UPS NEXT DAY AIR SAT DEL SHR RELEAS 2ND DAY AIR 2ND DAY AIR DELIVERY CONFIRMATION EXPEDITED 2ND DAY AIR A.R.S. 2ND DAY AIR RETURN SERVICE EXPEDITED COD EXPEDITED DELIVERY CONFIRMATION SECOND DAY AIR SHIPPER RELEASE SECOND DAY SHIP RELEASE DEL CONFIRM 2ND DAY AIR SAT DEL 2ND DAY AIR SAT DEL - DC-NO SIG 2ND DAY AIR SAT DEL - SIG REG. 2ND DAY AIR SAT DEL - ADULT SIG REG 2ND DAY AIR SAT DEL - COD 2ND DAY AIR SAT DEL - SHIPPER RELEA 2ND DAY AIR SAT DEL - DC-NO SIG./SH 2ND DAY AIR SATURDAY RETURN SVC UPS 2ND DAY AIR UPS 2ND DAY AIR SATURDAY DELIVERY UPS 2ND DAY AIR ADULT SIGNATURE UPS 2ND DAY AIR SAT DEL ADULT SIG UPS 2ND DAY AIR SHIPPER RELEASE UPS 2ND DAY AIR SAT DEL SHR RELEASE UPS 2DA 1 PICKUP ATTEMPT UPS 2DA 1 PICKUP ATTEMPT SAT DELIV UPS 2DA 3 PICKUP ATTEMPTS UPS 2DA 3 PICKUP ATTEMPTS SAT DELIV STANDARD GROUND DELIVERY TRACII
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 97
Tracking - XML
7/11/2011
Service Code 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 004 007 007 007 007 007 007 007 007 007 007 007 007 007 007 007 007 007 007 007
Description GROUND A.R.S. ECONOMY GROUND RETURN SERVICE GROUND DELIVERY CONFIRMATION GROUND CALL TAG CANADA SURFACE ISPS STANDARD ARS STANDARD RETURN SERVICE STANDARD SAMMEL STANDARD COD STANDARD DELIVERY CONFIRMATION GROUND SHIPPER RELEASE GROUND SHIPPER RELEASE DELV CONFIRM GROUND LOCATION ASSURED GND LOCATION ASSURED DELIVERY CONF GND LOCATION ASSURED SIG REQUIRED GND LOCATION ASSURED ADULT SIG REQ GROUND LOCATION ASSURED COD GND LOC ASSURED COD ADULT SIG REQ GND LOCATION ASSURED SHIPPER REL GND LOC ASRD SHIPPER REL DEL CONF UPS GROUND 1 PICKUP ATTEMPT UPS GROUND 3 PICKUP ATTEMPTS UPS GROUND UPS GROUND ADULT SIGNATURE UPS GROUND SHIPPER RELEASE WORLDWIDE EXPRESS SVC WORLDWIDE EXPRESS SVC SAT DELIVERY EXPRESS EXPRESS ARS EXPRESS REURN SERVICE EXPRESS EXCHANGE COLLECT EXPRESS EXCHANGE COLLECT SAT. DEL. EXPRESS EXCHANGE COLLECT DELV CONF EXPRESS COD EXPRESS COD DELIVERY CONFIRM EXPRESS COD SAT/DEL DELIV CONFIRM EXPRESS COD SATURDAY DELIVERY EXPRESS RETURN SERVICE PROACTIVE EXPRESS SATURDAY RETURN SERVICE EXPRESS SAT RETURN SVC PROACTIVE UPS EXPRESS UPS EXPRESS SATURDAY DELIVERY UPS EXPRESS ADULT SIGNATURE UPS EXPRESS SAT DEL ADULT SIGNATURE
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 98
Tracking - XML
7/11/2011
Service Code 007 007 007 007 007 007 007 008 008 008 008 008 008 008 008 008 008 008 008 008 011 011 011 011 011 011 011 011 011 011 012 012 012 012 012 012 012 012 012 012 012 012 012 012 013
Description UPS EXPRESS SHIPPER RELEASE UPS EXPRESS SAT DEL SHIPPER RELEASE UPS EXPRESS 1 PICKUP ATTEMPT UPS EXPRESS 1 PICKUP ATTMPT SAT DEL UPS EXPRESS 3 PICKUP ATTEMPTS UPS EXPRESS 3 PICKUP ATTMPT SAT DEL UPS EXPRESS (NA1) WORLDWIDE EXPEDITED SVC WORLDWIDE EXPEDITED WORLDWIDE EXPEDITED EXPEDITED ARS EXPEDITED RETURN SERVICE EXPEDITED EXCHANGE COLLECT EXPEDITED EXCHANGE COLLECT DEL CONF EXPEDITED COD EXPEDITED COD DELIVERY CONFIRMATION UPS EXPEDITED 1 PICKUP ATTEMPT UPS EXPEDITED 3 PICKUP ATTEMPTS UPS EXPEDITED UPS EXPEDITED ADULT SIGNATURE WORLDWIDE SERVICES-STANDARD STANDARD EXCHANGE COLLECT STANDARD EXCHANGE COLLECT DEL CONF INTERNATIONAL STANDARD COD INTERNATIONL STANDARD COD DEL CONFM UPS STANDARD UPS STANDARD ADULT SIGNATURE UPS STANDARD SHIPPER RELEASE UPS STANDARD 1 PICKUP ATTEMPT UPS STANDARD 3 PICKUP ATTEMPTS 3 DAY SELECT 3 DAY SELECT DELIVERY CONFIRMATION 3 DAY SELECT A.R.S. 3 DAY SELECT RETURN SERVICE 3 DAY SELECT EXCHANGE COLLECT 3 DAY EXCHANGE COLLECT DEL CONFIRM THREE DAY SELECT COD 3 DAY SELECT COD DELIVERY CONFIRM THREE DAY SELECT SHIPPER RELEASE THREE DAY SHIP RELEASE DELV CONFIRM UPS 3 DAY SELECT UPS 3 DAY SELECT ADULT SIGNATURE UPS 3 DAY SELECT 1 PICKUP ATTEMPT UPS 3 DAY SELECT 3 PICKUP ATTEMPTS NEXT DAY AIR SAVER
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 99
Tracking - XML
7/11/2011
Service Code 013 013 013 013 013 013 013 013 013 013 013 013 013 013 013 013 013 013 014 014 014 014 014 014 014 014 014 014 014 014 014 014 014 014 014 014 014 014 014 015 016 021 031 054 054
Description NEXT DAY AIR SAVER DELIVERY CONF. UPS SAVER COD SATURDAY DELIVERY UPS SAVER COD SATURDAY DELIVERY UPS SAVER COD SATURDAY DELIVERY UPS SAVER COD SATURDAY DELIVERY UPS SAVER COD UPS SAVER - COD DELV CONF SIGN REQ UPS SAVER - COD D/C ADULT SIGN REQ UPS SAVER DELIVERY CONFIRMATION UPS SAVER DELIVERY CONFIRMATION UPS SAVER DELIVERY CONFIRMATION UPS SAVER DELIVERY CONFIRMATION UPS SAVER DELIVERY CONFIRMATION UPS SAVER DELIVERY CONFIRMATION NEXT DAY AIR SAVER SHIPPER RELEASE NEXT DAY SAVER SHIP RELEAS DEL CONF UPS NEXT DAY AIR SAVER UPS NEXT DAY AIR SAVER ADULT SIG NEXT DAY AIR EARLY AM NEXT DAY AIR EARLY AM/EXPRESS EAM 1DA EAM / EXPRESS EAM NEXT DAY AIR EARLY AM SATURDAY DEL EXPRESS PLUS EXPRESS PLUS COD EXPRESS PLUS COD SATURDAY DELIVERY EXPRESS PLUS DELIVERY CONFIRMATION NEXT DAY EARLY AM SHIPPER RELEASE NEXT DAY AM SHIP RELEASE SAT DELV NEXT DAY EARLY AM RETURN SERVICE UPS EARLY AM RETURN SRVC PROACTIVE NEXT DAY EARLY AM SAT RETURN SVC UPS EARLY AM UPS EARLY AM ADULT SIGNATURE UPS EARLY AM SATURDAY DELIVERY UPS EARLY AM SAT DELIVERY ADULT SIG UPS EARLY A.M. 1 PICKUP ATTEMPT UPS EARLY A.M. 1 PICKUP ATT SAT DEL UPS EARLY A.M. 3 PICKUP ATTEMPTS UPS EARLY A.M. 3 PICKUP ATT SAT DEL UPS SONIC AIR UNISTAR ECONOMY COD BASIC EXPRESS PLUS EXPRESS PLUS RETURN SERVICE
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 100
Tracking - XML
7/11/2011
Service Code 054 054 054 054 054 054 054 054 054 054 054 054 054 059 059 059 059 059 059 064 064 064 064 064 064 064 064 065 065 065 065 065 065 065 065 065 065 065 082 082 083 083 084 085 085
Description EXPRESS PLUS DELIVERY CONFIRMATION EXPRESS PLUS COD EXPRESS PLUS COD SATURDAY DELIVERY EXPRESS PLUS SATURDAY DELIVERY EXPRESS PLUS COD DELIVERY CONFIRM EXPRESS PLUS COD SAT/DEL DEL CONFRM EXPRESS PLUS RETURN SVC PROACTIVE UPS EXPRESS PLUS UPS EXPRESS PLUS SATURDAY DELIVERY UPS EXPRESS PLUS ADULT SIGNATURE UPS EXPRESS PLUS SAT DEL ADULT SIG UPS EXPRESS PLUS 1 PICKUP ATTEMPT UPS EXPRESS PLUS 3 PICKUP ATTEMPTS 2ND DAY AIR A.M. 2ND DAY AIR A.M. DELIVERY CONFIRM. SECOND DAY AIR AM SHIPPER RELEASE SECOND DAY AM SHIP RELSE DELV CONFM UPS 2ND DAY AIR A.M. UPS 2ND DAY AIR AM ADULT SIGNATURE EXPRESS EXPRESS DELIVERY CONFIRMATION EXPRESS SATURDAY DELIVERY EARLY PICKUP EXPRESS RETURN SERVICE EARLY PICKUP EXPRESS RET SVC PROACT EARLY PICKUP EXPRESS SAT RETURN SVC EARLY PICKUP EXPRESS SAT RET PROACT UPS EXP (NA1) SAT DEL ADULT SIG REQ UPS SAVER UPS SAVER - COD UPS SAVER ARS UPS SAVER RETURN SERVICE UPS SAVER - COD DELV CONF SIGN REQ UPS SAVER - COD D/C ADULT SIGN REQ UPS SAVER RETURN SERVICE PROACTIVE UPS SAVER UPS SAVER ADULT SIGNATURE UPS SAVER 1 PICKUP ATTEMPT UPS SAVER 3 PICKUP ATTEMPTS UPS TODAY STANDARD UPS TODAY STANDARD - COD UPS TODAY DEDICATED COURIER UPS TODAY DEDICATED COURIER - COD UPS TODAY INTERCITY UPS TODAY EXPRESS UPS TODAY EXPRESS - COD
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 101
Tracking - XML
7/11/2011
Service Code 086 086 092 092 093 094 095 64 A& J& K& M& W& 74 10 45 46 48 49 53 61 63 Y& 1 24 25 28 14 27 55 44 47 58 22 59 60 75 76 C& 9 84 A2 A3 A9 AC
Description UPS TODAY EXPRESS SAVER UPS TODAY EXPRESS SAVER - COD STANDARD PARCEL, UPS DELIVERY STANDARD PARCEL, USPS DEL, REQ SUBPARCEL SELECT, UPS DELIVERY BOUND PRINTED MATTER, UPS DELIVERY MEDIA MAIL, UPS DELIVERY UNASSIGNED CONSIGNEE BILLING BAG TRACKING SMALL BAGS TEMPORARY VEHICLES WORLDWIDE SERVICES UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED WORLDWIDE SERVICES NEXT DAY AIR NEXT DAY AIR 1 DAY DELIV. CONFIRM. NEXT DAY AIR EXPRESS NEXT DAY AIR A.R.S. EXPRESS 1 DAY SATURDAY DELIVERY 1 DAY DELV CONF SAT DEL 1 DAY DELV CONF SAT DEL NEXT DAY AIR NEXT DAY AIR 1 DAY SATURDAY DELIVERY EXPRESS EXPRESS SATURDAY DELIV EXPRESS 1 DAY RETURN SERVICE 1 DAY RETURN SERVICE NEXT DAY AIR NEXT DAY AIR NEXT DAY AIR EARLY AM NEXT DAY AIR
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 102
Tracking - XML
7/11/2011
Description NEXT DAY AIR WORLDWIDE SERVICES EXPRESS COD EXPRESS COD EXPRESS COD EXPRESS COD SAT DEL EXPRESS COD SAT DEL EXPRESS COD SAT DEL EXPRESS DELIVERY CONF. EXPRESS DELIVERY CONF. EXPRESS DELIVERY CONF. EXPRESS DELIVERY CONF. EXPRESS DELIVERY CONF. EXPRESS DELIVERY CONF. EXPRESS NEXT DAY SHIPPER RELEASE NEXT DAY SHIP/RLS DLV CN NEXT DAY SHIP REL SAT/DL NEXT DAY SHIP RLS SAT/DL NEXT DAY AIR RET SVC PRO NEXT DAY AIR LOCATN ASRD 1 DAY LOCT ASRD DLV CNFM 1 DAY LOCT ASRD DLV CNFM 1 DAY LOCT ASRD DLV CNFM 1 DAY LOCT ASRD SAT DELV 1 DAY LOCT ASRD SAT DELV 1 DAY LOCT ASRD SAT DELV 1 DAY LOCT ASRD SAT DELV NEXT DAY LOCT ASRD COD 1 DAY LOCT ASRD COD DELV 1 DAY LOCT ASRD COD SAT 1 DAY LOCT ASRD COD SAT 1 DAY LOCT ASRD SHIP REL 1 DAY LOCT ASRD SHIP REL 1 DAY LOCT ASRD SHIP SAT 1 DAY LOCT ASRD SHIP SAT NEXT DAY SAT RETURN SVC NEXT DAY SAT RETURN SVC NEXT DAY SAT RETURN SVC UPS 1DA 1 PICKUP ATTEMPT UPS 1DA 1 PU ATT SAT DEL UPS 1DA 3 PICKUP ATTEMPT UPS 1DA 3 PU ATT SAT DEL EXPRESS (NA1) ADULT SIG UPS EXPRESS NA1 SAT DEL
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 103
Tracking - XML
7/11/2011
Service Code 7N 7P 7T 7W 7Y 8A 2 35 36 17 38 52 37 70 11 87 A6 AG CK CL CM DF DG DH NY P6 PW PY T0 T1 T2 T3 T6 T7 Y3 Y4 Y5 8T 8W 8Y 9A 9G 9H 4N 4T
Description UPS NEXT DAY AIR UPS NEXT DAY AIR SAT DEL UPS NEXT DAY AIR ADT SIG NDA AIR SAT DEL ADT SIG UPS NEXT DAY AIR SHR REL UPS NDA SAT DEL SHR REL 2ND DAY AIR 2 DAY DELIVERY CONFIRM 2 DAY DELIVERY CONFIRM EXPEDITED 2ND DAY AIR A.R.S. 2ND DAY AIR 2ND DAY AIR 2ND DAY AIR 2 DAY RETURN SERVICE 2 DAY RETURN SERVICE 2ND DAY AIR 2ND DAY AIR EXPEDITED COD EXPEDITED COD EXPEDITED COD EXPEDITED DELIVERY CONF. EXPEDITED DELIVERY CONF. EXPEDITED DELIVERY CONF. SECOND DAY SHIP RELEASE SECOND DAY SHIP RELEASE 2ND DAY AIR SAT DEL 2ND DAY AIR SAT DEL - DC 2ND DAY AIR SAT DEL - SI 2ND DAY AIR SAT DEL - AD 2ND DAY AIR SAT DEL - CO 2ND DAY AIR SAT DEL - SH 2ND DAY AIR SAT DEL - AD 2ND DAY AIR SAT DEL - DC 2ND DAY AIR SAT RETURN 2ND DAY AIR SAT RETURN 2ND DAY AIR SAT RETURN UPS 2ND DAY AIR UPS 2ND DAY AIR SAT DEL UPS 2ND DAY AIR ADT SIG UPS 2DA SAT DEL ADT SIG UPS 2ND DAY AIR SHR REL UPS 2DA SAT DEL SHR REL UPS 2DA 1 PICKUP ATTEMPT UPS 2DA 1 PU ATT SAT DEL
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 104
Tracking - XML
7/11/2011
Description UPS 2DA 3 PICKUP ATTEMPT UPS 2DA 3 PU ATT SAT DEL STANDARD STANDARD GROUND GROUND GROUND A.R.S ECONOMY GROUND GROUND DELIVERY CONFIRM GROUND DELIVERY CONFIRM GROUND GROUND STANDARD CANADA DOMESTIC SERVICE CANADA SURFACE GROUND RETURN SERVICE STANDARD A.R.S. GROUND STANDARD STANDARD STANDARD GROUND GROUND STANDARD SAMMEL GROUND GROUND GROUND STANDARD COD STANDARD COD STANDARD COD STANDARD DELIVERY CON STANDARD DELIVERY CON STANDARD DELIVERY CON GROUND SHIPPER RELEASE GROUND SHIP REL DELV CON GROUND LOCATION ASSURED GROUND LOCT ASRD DLV CON GROUND LOCT ASRD DLV CON GROUND LOCT ASRD DLV CON GROUND LOCATION ASRD COD GROUND LOCT ASRD COD DLV GROUND LOCT ASRD SHIP RL GROUND LOCT ASRD SHIP RL UPS GROUND 1 PICKUP ATT
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 105
Tracking - XML
7/11/2011
Description UPS GROUND 3 PICKUP ATT UPS GROUND UPS GROUND ADULT SIG UPS GROUND SHIPPER REL WORLDWIDE EXPRESS SVC WW EXP SVC SAT DELIVERY EXPRESS EXPRESS A.R.S. EXPRESS RETURN SERVICE EXPRESS RETURN SERVICE EXPRESS RETURN SERVICE EXPRESS EXCHANGE COLL. EXPR EXCHG COLLECT SAT EXPR EXCHG COLL DEL CONF EXPR EXCHG COLLECT SAT EXPRESS EXCHANGE COLL. EXPR EXCHG COLLECT SAT EXPRESS COD EXPRESS COD DELV CONFIRM EXPRESS COD DELV CONFIRM EXPRESS COD SAT/DELV EXPRESS COD SAT/DELV EXPRESS COD SAT/DELV EXPRESS RET SVC PROACTIV EXPRESS SATURDAY RETURN EXPRESS SATURDAY RETURN EXPRESS SATURDAY RETURN EXPRESS SAT RETRN PROACT UPS EXPRESS UPS EXPRESS SATURDAY DEL UPS EXPRESS ADULT SIG UPS EXP SAT DEL ADLT SIG UPS EXPRESS SHIPPER REL UPS EXP SAT DEL SHR REL UPS EXPRESS 1 PICKUP ATT UPS EXP 1 PU ATT SAT DEL UPS EXPRESS 3 PICKUP ATT UPS EXP 3 PU ATT SAT DEL UPS EXPRESS (NA1) WORLDWIDE EXPEDITED SVC WORLDWIDE EXPEDITED EXPEDITED EXPEDITED A.R.S. EXPEDITED RETURN SERVICE EXPEDITED
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 106
Tracking - XML
7/11/2011
Service Code 98 DP GT H2 NG NH NN 6N 6P DW DX 68 DR GW H3 N8 N9 NA DY DZ E0 6T 6W 12 39 40 57 50 71 16 89 A7 AH DT G0 GY H4 H6 H7 P1 P8 PV 9N 9P 4Y
Description EXPEDITED EXPEDITED EXCHG COLLECT EXPED EXCHG COLLECT DELV EXPED EXCHG COLLECT DELV EXPEDITED COD EXPEDITED COD DELV CONFM EXPEDITED COD DELV CONFM UPS EXPEDTD 1 PICKUP ATT UPS EXPEDTD 3 PICKUP ATT UPS EXPEDITED UPS EXPEDITED ADULT SIG WORLDWIDE STANDARD SVC STANDARD EXCHG COLLECT STANDARD EXCHG COLL DELV STANDARD EXCHG COLL DELV INTERNTIONL STANDARD COD INTERNTIONL STANDARD COD INTERNTIONL STANDARD COD UPS STANDARD UPS STANDARD ADULT SIG UPS STANDARD SHIPPER REL UPS STANDARD 1 PICKP ATT UPS STANDARD 3 PICKP ATT 3 DAY SELECT 3 DAY DELIVERY CONFIRM 3 DAY SELECT 3 DAY SELECT A.R.S. 3 DAY SELECT 3 DAY SELECT 3 DAY SELECT RETURN SVC 3 DAY SELECT RETURN SVC 3 DAY SELECT 3 DAY SELECT 3 DAY SELECT EXCHG COLL 3 DAY DELIVERY CONFIRM 3 DAY EXCHG COLL DELV 3 DAY EXCHG COLL DELV THREE DAY SELECT COD 3 DAY SELECT COD DEL CON THREE DAY SHIPPR RELEASE 3 DAY SHIP RELS DELV CON 3 DAY SELECT COD DEL CON UPS 3 DAY SELECT UPS 3 DAY SELECT ADT SIG UPS 3DS 1 PICKUP ATTEMPT
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 107
Tracking - XML
7/11/2011
Service Code 5A 13 29 30 23 62 A4
Description UPS 3DS 3 PICKUP ATTEMPT NEXT DAY AIR SAVER 1 DAY SAVER DEL CONFIRM 1 DAY SAVER DEL CONFIRM NEXT DAY AIR SAVER NEXT DAY AIR SAVER NEXT DAY AIR SAVER
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 108
Tracking - XML
7/11/2011
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 109
Tracking - XML
7/11/2011
State Province Name South Dakota Tennessee Texas Utah Virginia Vermont Washington Wisconsin West Virginia Wyoming Alberta British Columbia Manitoba New Brunswick Newfoundland and Labrador Nova Scotia Northwest Territories Nunavut Ontario Prince Edward Island Quebec Saskatchewan Yukon Territory
Code SD TN TX UT VA VT WA WI WV WY AB BC MB NB NL NS NT NU ON PE QC SK YT
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 110
Tracking - XML
7/11/2011
Proof of Delivery
COD Info
Receiver Address
All Activity
X
Last Activity
X
X X X X X X
X X X X X X
X X X X
X X
X X X X X
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 111
Tracking - XML
7/11/2011
Shipping
None (Last)
Delivered
Tracking Tracking Tracking Tracking Tracking Tracking MI Tracking Number MI Reference Number
None (Last) Activity (All) None (Last) None (Last) Activity (All) Activity (All) None (Last) None (Last)
Transit 2nd Delivery attempt Invalid Tracking Number No Tracking Information Available
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 112
Tracking - XML
7/11/2011
Type Tracking
Value 1Z12345E6605272234 1Z12345E0305271640 (Second Package: 1Z12345E0393657226) 1Z12345E1305277940 1Z12345E6205277936 1Z12345E020527079 1Z12345E1505270452
Service World Wide Express Ground Next Day Air Saver Next Day Air Saver Delivered
Response
Shipping
None (Last)
Delivered
None (Last) Activity (All) None (Last) None (Last) Activity (All) Activity (All) None (Last) None (Last)
Transit 2nd Delivery attempt Invalid Tracking Number No Tracking Information Available
Tracking
990728071
Delivered
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 113
Tracking - XML
7/11/2011
API Tracking
Tracking
Scan Types
Tracking
Tracking
Scheduled Delivery Date (SDD) and Rescheduled Delivery Date (RSD) Tracking
Question I would like to use the HTML Tracking API. We have multiple account numbers. Do we have to know and pass the origin UPS Account Number even if all accounts are listed in their MYUPS.com profile that is associated with their access key? Does a scan type display when a driver scans a Pickup Summary Barcode (PSB) in the Tracking API? Does the Tracking API provide a Scheduled Delivery Date?
Answer Sender shipper account number is an optional field in the tracking of a reference number with the HTML API. This is to narrow down the possible results as one reference number can correspond with many candidate shipments. If this field is used the country should also be included. For tracking 1Z or PTN tracking numbers, the HTML request does not include their accounts in their MyUPS profile.
UPS receives PSB scans at the shipment level (when available), but we don't display the information within our tracking systems. Yes. ScheduledDeliveryDate container described within the Developer Guide. If the SDD changes then a date is returned within the RescheduledDeliveryDate container.
Tracking
Tracking
How much does the UPS Tracking API cost? What is the difference between Tracking API and Signature Tracking API? Can I track freight shipments with UPS Tracking API?
Tracking
Tracking
Tracking
Tracking
UPS Tracking API is an Internet-based application that adds a new level of customer service throughout your company and functionality to your e-commerce Web site or enterprise application. With UPS Tracking API, your customers can track products they have purchased online more efficiently than ever before. The APIs are: UPS Tracking API: Provide up-to-the-minute shipment status - from origin to delivery - to your online customers. UPS Signature Tracking API: Obtain proof of delivery containing a digitized signature and delivery address. UPS Tracking API is free to license. There are no hidden fees or charges, though you may require IT resources or 3rd party developers depending on how complex your integration application is. Basically the Tracking and Signature Tracking API is the same, with the exception for authorization to see full Delivery address, 'delivered to' name, and Signature image. Yes. Consult the developers guide for the appropriate XML request.
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 114
Tracking - XML
7/11/2011
API Tracking
Category Tracking
Question Is Pre Pickup Visibility available when tracking freight shipments with UPS Tracking API Can I use Tracking information in a Frame on my own site? Why can't I see my freight reference number in the XML response? Why is the Tracking Online Tools now called UPS Tracking API? Could my Tracking API license be revoked? Why am I not receiving a response on my tracking number that I just created? Information unavailable.
Tracking Tracking
Tracking Tracking
Answer No. UPS Freight must bill the shipment before information is passed to UPS.com or QVM. UPS has a rule that header information must be established before the shipment can be displayed. Header information is established at the billing point, and that usually occurs the night of the shipment. UPS strongly discourage the use of Framed information. See the UPS.Com Terms and Conditions accepted by all registered users. The Tracking API supports 2 reference numbers per freight shipment. However, freight shipments may contain many more reference numbers, the API is limited to 2. Online Tools described many different APIs. UPS Tracking API describes the Tracking API and registering for it is now simple and easier to use. UPS retains the right to revoke an access key or block access from any user that abuse the tracking system. If a shipment was created with the UPS Shipping API, UIS or UIFS, do not attempt to track it immediately because it will not be available until the UPS database has been populated with the manifest details, usually 5 to 10 minutes. If a shipper used a shipping system like WorldShip and fails to upload manifest details by completing EOD, UPS will not have the manifest information, and Tracking will not be able to return a response until a subsequent event, example: origin scan. To add shipper account for Signature tracking the user can access myUPS on UPS.Com by logging in with the user ID and password associated with the access key, and adding the account to the account summary. A recent invoice will be needed to provide the latest invoice date, amount, and control number (if applicable) All modes of transport are available within the Tracking API for; package, LTL Freight, Air Freight, and Ocean Freight. Yes, we display tracking info for BASIC on ups.com and in XOLT just like for any other small package service. However it is important to remember that the Delivery is made by the post office and a delivery scan may be delayed or not available at all. SDD/RDD is NOT displayed with Basic services tracking statuses. As for an In Transit status, the status is triggered by a movement scan, just like for our other small package offerings. An origin, pickup, arrival or departure scan will display In Transit status. Here is an example 1Z in production if you want to check: 1Z2W99W3PP20791577
Tracking
Tracking
How do I add shipper accounts for authorization to Signature Tracking API? What transport modes are available within the Tracking API? Does the Tracking API support Basic service?
Tracking Tracking
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 115
Tracking - XML
7/11/2011
API Tracking
All
API availability
Question If a customer processes 7 packages in one shipment will reference number tracking in the Tracking API play-back all seven packages or just the lead package or any one of the packages in some type of order? Within what countries are the Developer APIs available?
Answer You can track a shipment through reference 1 or reference 2 only. When tracking a multiple-piece shipment if you use the lead number it will show you the information for all the packages within that shipment however, if you track with other than the lead number it will only show the tracking information for that individual package.
The Developer APIs are available in the countries listed at ups.com by API and by country under the UPS Developer Kit - Developer APIs. Click on any particular API to go to the API page and scroll to the bottom of the page to get the country listing for that particular API. Customers are not routinely provided these UPS shield graphics without having a design/layout submitted to UPS Brand Management for approval. The customer needs to visit: https://www.upsbrandexchange.com/brandHome.awsp This site will take them through the process for downloading a limited set of sample images for layout, and how to secure an approval for customer use, as well as the high-resolution graphics. No. XPCI stands for XML Package Carrier Interface (XPCI) and defines a vocabulary and structure for describing packages, shipments, and the activity details for package carriers and their customers. XPCI is a set of DTDs that defines the terminology, transaction enveloping, and XML message definitions. For a client to be XPCIcompliant, the client must generate a well-formed XML message that validates against the XPCI DTDs. Several DTDs, organized into three categories, define XPCI: Vocabulary This DTD defines the basic business vocabulary of XPCI. All tags used in a message are defined in this DTD. Interchange This DTD defines the transactionenveloping scheme. Every message includes transaction information. Message Each message has an associated DTD that defines the vocabulary of the message. The version and date would have been related to versioning however the APIs were not versioned so they
All
How do I get access to higher resolution logos than what are available within the downloads for the UPS Developer Kit Developer APIs?
All All
Is XPCI a required field within the email support form? From where is XPCI version number obtained and what does it mean?
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 116
Tracking - XML
7/11/2011
API
Category
Question
Answer currently do not carry significance. They remain as part of the APIs so that in the event they are versioned, we have these elements just in case.
All
How do I get technical support for the APIs at ups.com? Can Japanese Kanji character be recognized by UPS Developer APIs? Do any of the Developer APIs support Basic service?
Go to the Developer Resource Center and select email support under the UPS Developer Kit Support Column. No.
All
All
Basic
No. Basic is not supported within the Rating or Shipping APIs but is supported within the Tracking API available within the UPS Developer Kit - Developer APIs.
All
System DownTimes
Are there any designated system down times for the Developer APIs?
Yes. The overall reserved downtime for the CGI servers is Saturday 10:00 PM ET through Sunday 12:00 PM ET. However, often the window is shortened to two 15 minute intervals with one starting at 11:00 PM and the other occurring sometime between 01:00 AM and 03:00 AM ET Sunday morning for most weekends. The back end goes through numerous updates typically beginning at 11:00 PM Saturday through 4:00 AM Sunday. Typically traffic is handled in such a way that there is very little impact to customers, and any impact which does occur does so in the small 15 minute intervals mentioned previously. Having said this as this entire time is reserved for maintenance we inform customers of the possibility of experiencing issues throughout this time period so that if there are any issues which occur during maintenance we have a time window to troubleshoot and perform measures to resolve. On Sunday, the maintenance is really relegated to just ABR and freight. No. All Web Services are XML based. This is described in the section 'UPS OnLine Tools Technologies' of every developer's guide
All
ASMX
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 117
Tracking - XML
7/11/2011
API All
Category Web Services Empty folders within the documentation zip file.
All
Question The ship_dev_guide and Ship_Reference_guide folders have some sub folders that look like they should contain some code examples / samples but they are all empty? XML_Samples Visual_Basic Code_samples All empty? I keep getting, "XML document is well formed but the document is not valid." error message. What am I doing wrong?
Answer Unfortunately code samples are not provided with the Shipping API - Web Services version. The reason being is that a WSDL is included which provides all of the necessary information needed to successfully implement the API. These folders are typically utilized in the XML version of the APIs as there is no WSDL present. If the customer wishes to view the samples contained in the Shipping API they can download the documentation by logging into UPS.com, navigating to the UPS Developer Kit, and then clicking on the Shipping API link. The "XML document is well formed but the document is not valid" error message is generally returned when an element in the XML request does not adhere to the formatting defined within the Xpath section of that API's developer guide. When the API returns this error it indicates the field which is not valid in the ErrorLocationElementName element in the XML response. When we test the XML provided by you earlier in this email chain we are able to receive a successful response. This would indicate that you may be posting to an incorrect URL. The error message returned from the API should have contained a line similar to the following: <ErrorLocationElementName>XPATH TO FIRST ELEMENT WHERE XML DOESNT MATCH EXPECTED FORMAT</ErrorLocationElementName> As previously stated, this element is included in the XML error response to point you to the element of the posted request which is not valid for the Tool. When further clarification is needed you can look up the element in question in the Xpath section of the Developer Guide for the particular API. If this element lists another APIs request such as TrackRequest it would indicate that you are posting to that APIs URL and need to adjust the URL you are sending your XML to. Yes. Phone support is provided at 1st Level only and for basic API questions. This includes integration questions and production questions. However, customers questions that cannot be answered verbally will be directed to the email support form at ups.com to escalate to 3rd level via email. Phone Support Hours: MON-FRI 07:30 AM 09:00 PM EST SAT-SUN 09:00 AM 06:00 PM EST 877.289.6420
All
Phone Support
Is phone support provided for the UPS Developer Kit Developer APIs? If so, what is the number and what are the hours of operation?
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 118
Tracking - XML
7/11/2011
API All
Question Are there any examples of implementations that we can review to understand how best to utilize the APIs?
Answer We do not share customer implementations of our tools amongst customers. On occasion we do post case studies on ups.com and articles in customer-facing newsletters, but that is only after gaining permission from the customer and working with Legal, Customer Communications, etc. Please understand that the XML tool is only data, which is transparent to the end user. How the developer implements the tool and presents results back to the end user can vary from web site to web site. These web sites may not highlight the full functionality of the tool. We need to be able to describe the value proposition of the tool without depending on another customers usage. No. We do not currently support PHP or Perl with sample code.
All
Do the APIs support PHP or Perl with code sample within the Developer Guides or the developer kit zip files?
2011 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
Page 119