Sample Tracking Responses

UPS

Example:

Array
(
    [Meta] => Array
        (
            [Code] => 200
            [ErrorMessage] =>
        )

    [Data] => Array
        (
            [Errors] => Array
                (
                )

            [ShipmentId] => 1Z12345E0291980793
            [Destination] => Array
                (
                    [Addr1] => SAMPLE CONSIGNEE
                    [Addr2] => 1307 PEACHTREE STREET
                    [City] => ANYTOWN
                    [State] => GA
                    [PostalCode] => 30340
                    [Country] => US
                )

            [EstimatedDelivery] =>
            [DeliveredTime] => 2010-06-10T12:00:00Z
            [Packages] => Array
                (
                    [0] => Array
                        (
                            [TrackingNumber] => 1Z12345E0291980793
                            [Activity] => Array
                                (
                                    [0] => Array
                                        (
                                            [Description] =>
                                            [Location] => Array
                                                (
                                                    [City] => ANYTOWN
                                                    [State] => GA
                                                    [PostalCode] => 30340
                                                    [Country] => US
                                                )

                                            [Time] => 2010-06-10T12:00:00Z
                                            [StatusCode] => KM
                                            [StatusDescription] => DELIVERED
                                            [Signatory] =>
                                        )

                                    [1] => Array
                                        (
                                            [Description] =>
                                            [Location] => Array
                                                (
                                                    [City] =>
                                                    [State] =>
                                                    [PostalCode] =>
                                                    [Country] => US
                                                )

                                            [Time] => 2010-06-08T12:00:00Z
                                            [StatusCode] => MP
                                            [StatusDescription] => BILLING INFORMATION RECEIVED. SHIPMENT DATE PENDING.
                                            [Signatory] =>
                                        )

                                )

                        )

                )

        )

)

FedEx

Example:

Array
(
    [Meta] => Array
        (
            [Code] => 200
            [ErrorMessage] =>
        )

    [Data] => Array
        (
            [Errors] => Array
                (
                )

            [ShipmentId] => 122816215025810
            [Destination] => Array
                (
                    [Addr1] =>
                    [Addr2] =>
                    [City] => NORTON
                    [State] => VA
                    [PostalCode] =>
                    [Country] => US
                )

            [EstimatedDelivery] =>
            [DeliveredTime] => 2014-01-09T13:31:00-05:00
            [Packages] => Array
                (
                    [0] => Array
                        (
                            [TrackingNumber] => 122816215025810
                            [Activity] => Array
                                (
                                    [0] => Array
                                        (
                                            [Description] => Delivered
                                            [Location] => Array
                                                (
                                                    [City] => Norton
                                                    [State] => VA
                                                    [PostalCode] => 24273
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-09T13:31:00-05:00
                                            [StatusCode] => DL
                                            [StatusDescription] => Delivered
                                            [Signatory] => ROLLINS
                                        )

                                    [1] => Array
                                        (
                                            [Description] => On FedEx vehicle for delivery
                                            [Location] => Array
                                                (
                                                    [City] => KINGSPORT
                                                    [State] => TN
                                                    [PostalCode] => 37663
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-09T04:18:00-05:00
                                            [StatusCode] => OD
                                            [StatusDescription] => On FedEx vehicle for delivery
                                            [Signatory] =>
                                        )

                                    [2] => Array
                                        (
                                            [Description] => At local FedEx facility
                                            [Location] => Array
                                                (
                                                    [City] => KINGSPORT
                                                    [State] => TN
                                                    [PostalCode] => 37663
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-09T04:09:00-05:00
                                            [StatusCode] => AR
                                            [StatusDescription] => At local FedEx facility
                                            [Signatory] =>
                                        )

                                    [3] => Array
                                        (
                                            [Description] => In transit
                                            [Location] => Array
                                                (
                                                    [City] => KNOXVILLE
                                                    [State] => TN
                                                    [PostalCode] => 37921
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-08T23:26:00-05:00
                                            [StatusCode] => IT
                                            [StatusDescription] => In transit
                                            [Signatory] =>
                                        )

                                    [4] => Array
                                        (
                                            [Description] => Departed FedEx location
                                            [Location] => Array
                                                (
                                                    [City] => NASHVILLE
                                                    [State] => TN
                                                    [PostalCode] => 37207
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-08T18:14:07-06:00
                                            [StatusCode] => DP
                                            [StatusDescription] => Departed FedEx location
                                            [Signatory] =>
                                        )

                                    [5] => Array
                                        (
                                            [Description] => Arrived at FedEx location
                                            [Location] => Array
                                                (
                                                    [City] => NASHVILLE
                                                    [State] => TN
                                                    [PostalCode] => 37207
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-08T15:16:00-06:00
                                            [StatusCode] => AR
                                            [StatusDescription] => Arrived at FedEx location
                                            [Signatory] =>
                                        )

                                    [6] => Array
                                        (
                                            [Description] => Arrived at FedEx location
                                            [Location] => Array
                                                (
                                                    [City] => CHICAGO
                                                    [State] => IL
                                                    [PostalCode] => 60638
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-07T00:29:00-06:00
                                            [StatusCode] => AR
                                            [StatusDescription] => Arrived at FedEx location
                                            [Signatory] =>
                                        )

                                    [7] => Array
                                        (
                                            [Description] => Left FedEx origin facility
                                            [Location] => Array
                                                (
                                                    [City] => SPOKANE
                                                    [State] => WA
                                                    [PostalCode] => 99216
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-03T19:12:30-08:00
                                            [StatusCode] => DP
                                            [StatusDescription] => Left FedEx origin facility
                                            [Signatory] =>
                                        )

                                    [8] => Array
                                        (
                                            [Description] => Arrived at FedEx location
                                            [Location] => Array
                                                (
                                                    [City] => SPOKANE
                                                    [State] => WA
                                                    [PostalCode] => 99216
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-03T18:33:00-08:00
                                            [StatusCode] => AR
                                            [StatusDescription] => Arrived at FedEx location
                                            [Signatory] =>
                                        )

                                    [9] => Array
                                        (
                                            [Description] => Picked up
                                            [Location] => Array
                                                (
                                                    [City] => SPOKANE
                                                    [State] => WA
                                                    [PostalCode] => 99216
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-03T15:00:00-08:00
                                            [StatusCode] => PU
                                            [StatusDescription] => Picked up
                                            [Signatory] =>
                                        )

                                    [10] => Array
                                        (
                                            [Description] => Shipment information sent to FedEx
                                            [Location] => Array
                                                (
                                                    [City] =>
                                                    [State] =>
                                                    [PostalCode] => 83854
                                                    [Country] => US
                                                )

                                            [Time] => 2014-01-03T14:31:00-08:00
                                            [StatusCode] => OC
                                            [StatusDescription] => Shipment information sent to FedEx
                                            [Signatory] =>
                                        )

                                )

                        )

                )

        )

)

USPS

Example:

Array
(
    [Meta] => Array
        (
            [Code] => 200
            [ErrorMessage] =>
        )

    [Data] => Array
        (
            [Errors] => Array
                (
                )

            [ShipmentId] => 9374889676090001306778
            [Destination] => Array
                (
                    [Addr1] =>
                    [Addr2] =>
                    [City] => EMERYVILLE
                    [State] => CA
                    [PostalCode] => 94608
                    [Country] => US
                )

            [EstimatedDelivery] => 2016-02-27T00:00:00Z
            [DeliveredTime] => 2016-02-24T13:51:00Z
            [Packages] => Array
                (
                    [0] => Array
                        (
                            [TrackingNumber] => 9374889676090001306778
                            [Activity] => Array
                                (
                                    [0] => Array
                                        (
                                            [Description] => Delivered, In/At Mailbox
                                            [Location] => Array
                                                (
                                                    [City] => EMERYVILLE
                                                    [State] => CA
                                                    [PostalCode] => 94608
                                                    [Country] => US
                                                )

                                            [Time] => 2016-02-24T13:51:00Z
                                            [StatusCode] => 01
                                            [StatusDescription] => Delivered, In/At Mailbox
                                            [Signatory] =>
                                        )

                                    [1] => Array
                                        (
                                            [Description] => Out for Delivery
                                            [Location] => Array
                                                (
                                                    [City] => EMERYVILLE
                                                    [State] => CA
                                                    [PostalCode] => 94608
                                                    [Country] => US
                                                )

                                            [Time] => 2016-02-24T08:50:00Z
                                            [StatusCode] => OF
                                            [StatusDescription] => Out for Delivery
                                            [Signatory] =>
                                        )

                                    [2] => Array
                                        (
                                            [Description] => Sorting Complete
                                            [Location] => Array
                                                (
                                                    [City] => EMERYVILLE
                                                    [State] => CA
                                                    [PostalCode] => 94608
                                                    [Country] => US
                                                )

                                            [Time] => 2016-02-24T08:40:00Z
                                            [StatusCode] => PC
                                            [StatusDescription] => Sorting Complete
                                            [Signatory] =>
                                        )

                                    [3] => Array
                                        (
                                            [Description] => Arrived at Post Office
                                            [Location] => Array
                                                (
                                                    [City] => EMERYVILLE
                                                    [State] => CA
                                                    [PostalCode] => 94608
                                                    [Country] => US
                                                )

                                            [Time] => 2016-02-24T08:21:00Z
                                            [StatusCode] => 07
                                            [StatusDescription] => Arrived at Post Office
                                            [Signatory] =>
                                        )

                                    [4] => Array
                                        (
                                            [Description] => Accepted at USPS Destination Facility
                                            [Location] => Array
                                                (
                                                    [City] => EMERYVILLE
                                                    [State] => CA
                                                    [PostalCode] => 94608
                                                    [Country] => US
                                                )

                                            [Time] => 2016-02-24T07:06:00Z
                                            [StatusCode] => AD
                                            [StatusDescription] => Accepted at USPS Destination Facility
                                            [Signatory] =>
                                        )

                                    [5] => Array
                                        (
                                            [Description] => Pre-Shipment Info Sent to USPS
                                            [Location] => Array
                                                (
                                                    [City] =>
                                                    [State] =>
                                                    [PostalCode] =>
                                                    [Country] => US
                                                )

                                            [Time] => 2016-02-24T00:00:00Z
                                            [StatusCode] => MA
                                            [StatusDescription] => Pre-Shipment Info Sent to USPS
                                            [Signatory] =>
                                        )

                                    [6] => Array
                                        (
                                            [Description] => Picked Up by Shipping Partner
                                            [Location] => Array
                                                (
                                                    [City] => TRENTON
                                                    [State] => NJ
                                                    [PostalCode] => 08691
                                                    [Country] => US
                                                )

                                            [Time] => 2016-02-22T08:32:00Z
                                            [StatusCode] => 80
                                            [StatusDescription] => Picked Up by Shipping Partner
                                            [Signatory] =>
                                        )

                                    [7] => Array
                                        (
                                            [Description] => Picked Up by Shipping Partner
                                            [Location] => Array
                                                (
                                                    [City] => TRENTON
                                                    [State] => NJ
                                                    [PostalCode] => 08691
                                                    [Country] => US
                                                )

                                            [Time] => 2016-02-22T08:32:00Z
                                            [StatusCode] => 80
                                            [StatusDescription] => Picked Up by Shipping Partner
                                            [Signatory] =>
                                        )

                                )

                        )

                )

        )

)