active_shipping 1.0.0.pre2 → 1.0.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +12 -0
- data/.travis.yml +14 -0
- data/.yardopts +14 -0
- data/Gemfile +3 -0
- data/Gemfile.activesupport32 +4 -0
- data/Gemfile.activesupport40 +4 -0
- data/Gemfile.activesupport41 +4 -0
- data/Gemfile.activesupport42 +4 -0
- data/Rakefile +23 -0
- data/active_shipping.gemspec +32 -0
- data/lib/active_shipping.rb +1 -1
- data/lib/active_shipping/carrier.rb +1 -1
- data/lib/active_shipping/carriers/shipwire.rb +32 -35
- data/lib/active_shipping/carriers/ups.rb +2 -2
- data/lib/active_shipping/carriers/usps.rb +103 -101
- data/lib/active_shipping/label_response.rb +1 -1
- data/lib/active_shipping/rate_estimate.rb +76 -15
- data/lib/active_shipping/rate_response.rb +20 -0
- data/lib/active_shipping/response.rb +17 -0
- data/lib/active_shipping/shipment_packer.rb +2 -2
- data/lib/active_shipping/shipping_response.rb +24 -2
- data/lib/active_shipping/tracking_response.rb +65 -17
- data/lib/active_shipping/version.rb +1 -1
- data/shipit.rubygems.yml +1 -0
- data/test/credentials.yml +47 -0
- data/test/fixtures/files/label1.pdf +0 -0
- data/test/fixtures/files/ups-shipping-label.gif +0 -0
- data/test/fixtures/json/newzealandpost/domestic_book.json +1 -0
- data/test/fixtures/json/newzealandpost/domestic_default.json +1 -0
- data/test/fixtures/json/newzealandpost/domestic_error.json +1 -0
- data/test/fixtures/json/newzealandpost/domestic_poster.json +1 -0
- data/test/fixtures/json/newzealandpost/domestic_small_half_pound.json +1 -0
- data/test/fixtures/json/newzealandpost/international_book.json +1 -0
- data/test/fixtures/json/newzealandpost/international_new_zealand_wii.json +1 -0
- data/test/fixtures/json/newzealandpost/international_small_half_pound.json +1 -0
- data/test/fixtures/json/newzealandpost/international_wii.json +1 -0
- data/test/fixtures/xml/canadapost/example_request.xml +25 -0
- data/test/fixtures/xml/canadapost/example_response.xml +130 -0
- data/test/fixtures/xml/canadapost/example_response_error.xml +16 -0
- data/test/fixtures/xml/canadapost/example_response_french.xml +122 -0
- data/test/fixtures/xml/canadapost/example_response_with_nil_value.xml +164 -0
- data/test/fixtures/xml/canadapost/example_response_with_postal_outlet.xml +155 -0
- data/test/fixtures/xml/canadapost/example_response_with_postal_outlet_french.xml +274 -0
- data/test/fixtures/xml/canadapost/example_response_with_strange_delivery_date.xml +130 -0
- data/test/fixtures/xml/canadapost_pws/dnc_tracking_details_en.xml +112 -0
- data/test/fixtures/xml/canadapost_pws/merchant_details_error.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/merchant_details_response.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/option_response.xml +13 -0
- data/test/fixtures/xml/canadapost_pws/option_response_no_conflicts.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/rates_info.xml +190 -0
- data/test/fixtures/xml/canadapost_pws/rates_info_error.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/receipt_response.xml +42 -0
- data/test/fixtures/xml/canadapost_pws/receipt_response_no_priced_options.xml +36 -0
- data/test/fixtures/xml/canadapost_pws/register_token_error.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/register_token_response.xml +3 -0
- data/test/fixtures/xml/canadapost_pws/service_options_response.xml +42 -0
- data/test/fixtures/xml/canadapost_pws/services_error.xml +6 -0
- data/test/fixtures/xml/canadapost_pws/services_response.xml +32 -0
- data/test/fixtures/xml/canadapost_pws/shipment_domestic.xml +69 -0
- data/test/fixtures/xml/canadapost_pws/shipment_response.xml +20 -0
- data/test/fixtures/xml/canadapost_pws/shipment_us.xml +69 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_en.xml +152 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_en_error.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_en_undelivered.xml +116 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_fr.xml +156 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_no_expected_delivery_date.xml +40 -0
- data/test/fixtures/xml/fedex/freight_rate_request.xml +82 -0
- data/test/fixtures/xml/fedex/freight_rate_response.xml +506 -0
- data/test/fixtures/xml/fedex/invalid_fedex_reply.xml +27 -0
- data/test/fixtures/xml/fedex/ottawa_to_beverly_hills_commercial_rate_request.xml +79 -0
- data/test/fixtures/xml/fedex/ottawa_to_beverly_hills_rate_request.xml +80 -0
- data/test/fixtures/xml/fedex/ottawa_to_beverly_hills_rate_response.xml +214 -0
- data/test/fixtures/xml/fedex/raterequest_reply.xml +213 -0
- data/test/fixtures/xml/fedex/reply_without_notifications.xml +185 -0
- data/test/fixtures/xml/fedex/tracking_request.xml +27 -0
- data/test/fixtures/xml/fedex/tracking_response.xml +151 -0
- data/test/fixtures/xml/fedex/tracking_response_empty_destination.xml +76 -0
- data/test/fixtures/xml/fedex/tracking_response_no_destination.xml +139 -0
- data/test/fixtures/xml/fedex/tracking_response_no_ship_time.xml +150 -0
- data/test/fixtures/xml/fedex/tracking_response_with_estimated_delivery_date.xml +95 -0
- data/test/fixtures/xml/fedex/tracking_response_with_shipper_address.xml +71 -0
- data/test/fixtures/xml/fedex/unknown_fedex_document_reply.xml +3 -0
- data/test/fixtures/xml/kunaki/invalid_state_response.xml +3 -0
- data/test/fixtures/xml/kunaki/no_valid_items_response.xml +3 -0
- data/test/fixtures/xml/kunaki/successful_rates_response.xml +3 -0
- data/test/fixtures/xml/kunaki/unsuccessful_rates_response.xml +9 -0
- data/test/fixtures/xml/shipwire/international_rates_response.xml +17 -0
- data/test/fixtures/xml/shipwire/new_carrier_rate_response.xml +18 -0
- data/test/fixtures/xml/shipwire/no_rates_response.xml +7 -0
- data/test/fixtures/xml/shipwire/rates_response.xml +36 -0
- data/test/fixtures/xml/shipwire/rates_response_no_estimate.xml +14 -0
- data/test/fixtures/xml/stamps/authenticate_user_request.xml +15 -0
- data/test/fixtures/xml/stamps/authenticate_user_response.xml +10 -0
- data/test/fixtures/xml/stamps/cleanse_address_request.xml +19 -0
- data/test/fixtures/xml/stamps/cleanse_address_response.xml +27 -0
- data/test/fixtures/xml/stamps/create_indicium_request.xml +69 -0
- data/test/fixtures/xml/stamps/create_indicium_response.xml +40 -0
- data/test/fixtures/xml/stamps/expired_authenticator_response.xml +15 -0
- data/test/fixtures/xml/stamps/get_account_info_request.xml +11 -0
- data/test/fixtures/xml/stamps/get_account_info_response.xml +36 -0
- data/test/fixtures/xml/stamps/get_purchase_status_request.xml +12 -0
- data/test/fixtures/xml/stamps/get_purchase_status_response.xml +16 -0
- data/test/fixtures/xml/stamps/get_rates_request.xml +19 -0
- data/test/fixtures/xml/stamps/get_rates_response.xml +351 -0
- data/test/fixtures/xml/stamps/purchase_postage_request.xml +13 -0
- data/test/fixtures/xml/stamps/purchase_postage_response.xml +17 -0
- data/test/fixtures/xml/stamps/track_shipment_request.xml +12 -0
- data/test/fixtures/xml/stamps/track_shipment_response.xml +45 -0
- data/test/fixtures/xml/ups/delivered_shipment_with_refund.xml +290 -0
- data/test/fixtures/xml/ups/delivered_shipment_without_events_tracking_response.xml +62 -0
- data/test/fixtures/xml/ups/example_tracking_response.xml +53 -0
- data/test/fixtures/xml/ups/in_transit_shipment.xml +183 -0
- data/test/fixtures/xml/ups/out_for_delivery_shipment.xml +165 -0
- data/test/fixtures/xml/ups/shipment_accept_response.xml +42 -0
- data/test/fixtures/xml/ups/shipment_confirm_response.xml +33 -0
- data/test/fixtures/xml/ups/shipment_from_tiger_direct.xml +222 -0
- data/test/fixtures/xml/ups/test_real_home_as_residential_destination_response.xml +1 -0
- data/test/fixtures/xml/ups/test_real_home_as_residential_destination_response_with_insured.xml +289 -0
- data/test/fixtures/xml/ups/test_real_home_as_residential_destination_with_origin_account_response.xml +311 -0
- data/test/fixtures/xml/ups/triple_accept_response.xml +72 -0
- data/test/fixtures/xml/ups/triple_confirm_response.xml +32 -0
- data/test/fixtures/xml/usps/beverly_hills_to_new_york_book_commercial_base_rate_response.xml +2 -0
- data/test/fixtures/xml/usps/beverly_hills_to_new_york_book_commercial_plus_rate_response.xml +258 -0
- data/test/fixtures/xml/usps/beverly_hills_to_new_york_book_rate_response.xml +108 -0
- data/test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_commercial_base_rate_response.xml +84 -0
- data/test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_commercial_plus_rate_response.xml +212 -0
- data/test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_rate_response.xml +230 -0
- data/test/fixtures/xml/usps/delivered_tracking_response.xml +11 -0
- data/test/fixtures/xml/usps/first_class_packages_with_invalid_mail_type_response.xml +12 -0
- data/test/fixtures/xml/usps/first_class_packages_with_mail_type_response.xml +16 -0
- data/test/fixtures/xml/usps/first_class_packages_without_mail_type_response.xml +12 -0
- data/test/fixtures/xml/usps/invalid_xml_tracking_response_error.xml +2 -0
- data/test/fixtures/xml/usps/tracking_request.xml +3 -0
- data/test/fixtures/xml/usps/tracking_response.xml +13 -0
- data/test/fixtures/xml/usps/tracking_response_failure.xml +3 -0
- data/test/fixtures/xml/usps/tracking_response_not_available.xml +12 -0
- data/test/fixtures/xml/usps/tracking_response_test_error.xml +8 -0
- data/test/fixtures/xml/usps/us_rate_request.xml +18 -0
- data/test/fixtures/xml/usps/world_rate_request_with_value.xml +20 -0
- data/test/fixtures/xml/usps/world_rate_request_without_value.xml +20 -0
- data/test/remote/canada_post_pws_platform_test.rb +246 -0
- data/test/remote/canada_post_pws_test.rb +171 -0
- data/test/remote/canada_post_test.rb +53 -0
- data/test/remote/fedex_test.rb +216 -0
- data/test/remote/kunaki_test.rb +36 -0
- data/test/remote/new_zealand_post_test.rb +147 -0
- data/test/remote/shipwire_test.rb +82 -0
- data/test/remote/stamps_test.rb +394 -0
- data/test/remote/ups_test.rb +257 -0
- data/test/remote/usps_test.rb +235 -0
- data/test/test_helper.rb +220 -0
- data/test/unit/carriers/benchmark_test.rb +18 -0
- data/test/unit/carriers/canada_post_pws_rating_test.rb +349 -0
- data/test/unit/carriers/canada_post_pws_register_test.rb +75 -0
- data/test/unit/carriers/canada_post_pws_shipping_test.rb +244 -0
- data/test/unit/carriers/canada_post_pws_tracking_test.rb +154 -0
- data/test/unit/carriers/canada_post_test.rb +145 -0
- data/test/unit/carriers/fedex_test.rb +408 -0
- data/test/unit/carriers/kunaki_test.rb +52 -0
- data/test/unit/carriers/new_zealand_post_test.rb +174 -0
- data/test/unit/carriers/shipwire_test.rb +187 -0
- data/test/unit/carriers/stamps_test.rb +241 -0
- data/test/unit/carriers/ups_test.rb +311 -0
- data/test/unit/carriers/usps_test.rb +484 -0
- data/test/unit/carriers_test.rb +17 -0
- data/test/unit/label_response_test.rb +15 -0
- data/test/unit/location_test.rb +138 -0
- data/test/unit/package_test.rb +68 -0
- data/test/unit/rate_estimate_test.rb +34 -0
- data/test/unit/response_test.rb +14 -0
- data/test/unit/shipment_packer_test.rb +174 -0
- metadata +331 -35
- metadata.gz.sig +0 -0
- data/lib/vendor/quantified/MIT-LICENSE +0 -22
- data/lib/vendor/quantified/README.markdown +0 -49
- data/lib/vendor/quantified/Rakefile +0 -13
- data/lib/vendor/quantified/init.rb +0 -0
- data/lib/vendor/quantified/lib/quantified.rb +0 -6
- data/lib/vendor/quantified/lib/quantified/attribute.rb +0 -211
- data/lib/vendor/quantified/lib/quantified/length.rb +0 -20
- data/lib/vendor/quantified/lib/quantified/mass.rb +0 -19
- data/lib/vendor/quantified/test/length_test.rb +0 -94
- data/lib/vendor/quantified/test/mass_test.rb +0 -96
- data/lib/vendor/quantified/test/test_helper.rb +0 -19
@@ -0,0 +1,150 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<v3:TrackReply xmlns:v3="http://fedex.com/ws/track/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
|
3
|
+
<v3:HighestSeverity>SUCCESS</v3:HighestSeverity>
|
4
|
+
<v3:Notifications>
|
5
|
+
<v3:Severity>SUCCESS</v3:Severity>
|
6
|
+
<v3:Source>trck</v3:Source>
|
7
|
+
<v3:Code>0</v3:Code>
|
8
|
+
<v3:Message>Request was successfully processed.</v3:Message>
|
9
|
+
<v3:LocalizedMessage>Request was successfully processed.</v3:LocalizedMessage>
|
10
|
+
</v3:Notifications>
|
11
|
+
<v3:TransactionDetail>
|
12
|
+
<v3:CustomerTransactionId>ActiveShipping</v3:CustomerTransactionId>
|
13
|
+
</v3:TransactionDetail>
|
14
|
+
<v3:Version>
|
15
|
+
<v3:ServiceId>trck</v3:ServiceId>
|
16
|
+
<v3:Major>3</v3:Major>
|
17
|
+
<v3:Intermediate>0</v3:Intermediate>
|
18
|
+
<v3:Minor>0</v3:Minor>
|
19
|
+
</v3:Version>
|
20
|
+
<v3:DuplicateWaybill>false</v3:DuplicateWaybill>
|
21
|
+
<v3:MoreData>false</v3:MoreData>
|
22
|
+
<v3:TrackDetails>
|
23
|
+
<v3:TrackingNumber>077973360403984</v3:TrackingNumber>
|
24
|
+
<v3:TrackingNumberUniqueIdentifier>120081203121125584000~077973360403984</v3:TrackingNumberUniqueIdentifier>
|
25
|
+
<v3:StatusCode>DL</v3:StatusCode>
|
26
|
+
<v3:StatusDescription>Delivered</v3:StatusDescription>
|
27
|
+
<v3:CarrierCode>FDXG</v3:CarrierCode>
|
28
|
+
<v3:OtherIdentifiers>
|
29
|
+
<v3:Value>355200</v3:Value>
|
30
|
+
<v3:Type>CUSTOMER_REFERENCE</v3:Type>
|
31
|
+
</v3:OtherIdentifiers>
|
32
|
+
<v3:OtherIdentifiers>
|
33
|
+
<v3:Value>355200</v3:Value>
|
34
|
+
<v3:Type>INVOICE</v3:Type>
|
35
|
+
</v3:OtherIdentifiers>
|
36
|
+
<v3:ServiceInfo>Ground-Domestic</v3:ServiceInfo>
|
37
|
+
<v3:ServiceType>FEDEX_GROUND</v3:ServiceType>
|
38
|
+
<v3:PackageWeight>
|
39
|
+
<v3:Units>LB</v3:Units>
|
40
|
+
<v3:Value>10.0</v3:Value>
|
41
|
+
</v3:PackageWeight>
|
42
|
+
<v3:Packaging>Package</v3:Packaging>
|
43
|
+
<v3:PackageSequenceNumber>1</v3:PackageSequenceNumber>
|
44
|
+
<v3:PackageCount>1</v3:PackageCount>
|
45
|
+
<v3:OriginLocationAddress>
|
46
|
+
<v3:City>NASHVILLE</v3:City>
|
47
|
+
<v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
|
48
|
+
<v3:CountryCode>US</v3:CountryCode>
|
49
|
+
<v3:Residential>false</v3:Residential>
|
50
|
+
</v3:OriginLocationAddress>
|
51
|
+
<v3:DestinationAddress>
|
52
|
+
<v3:City>Sacramento</v3:City>
|
53
|
+
<v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
|
54
|
+
<v3:CountryCode>US</v3:CountryCode>
|
55
|
+
<v3:Residential>false</v3:Residential>
|
56
|
+
</v3:DestinationAddress>
|
57
|
+
<v3:ActualDeliveryTimestamp>2008-12-08T07:43:37-08:00</v3:ActualDeliveryTimestamp>
|
58
|
+
<v3:ActualDeliveryAddress>
|
59
|
+
<v3:City>Sacramento</v3:City>
|
60
|
+
<v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
|
61
|
+
<v3:CountryCode>US</v3:CountryCode>
|
62
|
+
<v3:Residential>false</v3:Residential>
|
63
|
+
</v3:ActualDeliveryAddress>
|
64
|
+
<v3:DeliveryLocationType>OTHER</v3:DeliveryLocationType>
|
65
|
+
<v3:DeliverySignatureName>KKING</v3:DeliverySignatureName>
|
66
|
+
<v3:SignatureProofOfDeliveryAvailable>true</v3:SignatureProofOfDeliveryAvailable>
|
67
|
+
<v3:ProofOfDeliveryNotificationsAvailable>false</v3:ProofOfDeliveryNotificationsAvailable>
|
68
|
+
<v3:ExceptionNotificationsAvailable>false</v3:ExceptionNotificationsAvailable>
|
69
|
+
<v3:Events>
|
70
|
+
<v3:Timestamp>2008-12-08T07:43:37-08:00</v3:Timestamp>
|
71
|
+
<v3:EventType>DL</v3:EventType>
|
72
|
+
<v3:EventDescription>Delivered</v3:EventDescription>
|
73
|
+
<v3:Address>
|
74
|
+
<v3:City>Sacramento</v3:City>
|
75
|
+
<v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
|
76
|
+
<v3:PostalCode>95817</v3:PostalCode>
|
77
|
+
<v3:CountryCode>US</v3:CountryCode>
|
78
|
+
<v3:Residential>false</v3:Residential>
|
79
|
+
</v3:Address>
|
80
|
+
</v3:Events>
|
81
|
+
<v3:Events>
|
82
|
+
<v3:Timestamp>2008-12-08T05:00:00-08:00</v3:Timestamp>
|
83
|
+
<v3:EventType>OD</v3:EventType>
|
84
|
+
<v3:EventDescription>On FedEx vehicle for delivery</v3:EventDescription>
|
85
|
+
<v3:Address>
|
86
|
+
<v3:City>SACRAMENTO</v3:City>
|
87
|
+
<v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
|
88
|
+
<v3:PostalCode>95824</v3:PostalCode>
|
89
|
+
<v3:CountryCode>US</v3:CountryCode>
|
90
|
+
<v3:Residential>false</v3:Residential>
|
91
|
+
</v3:Address>
|
92
|
+
</v3:Events>
|
93
|
+
<v3:Events>
|
94
|
+
<v3:Timestamp>2008-12-07T10:48:00-08:00</v3:Timestamp>
|
95
|
+
<v3:EventType>AR</v3:EventType>
|
96
|
+
<v3:EventDescription>Arrived at FedEx location</v3:EventDescription>
|
97
|
+
<v3:Address>
|
98
|
+
<v3:City>SACRAMENTO</v3:City>
|
99
|
+
<v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
|
100
|
+
<v3:PostalCode>95824</v3:PostalCode>
|
101
|
+
<v3:CountryCode>US</v3:CountryCode>
|
102
|
+
<v3:Residential>false</v3:Residential>
|
103
|
+
</v3:Address>
|
104
|
+
</v3:Events>
|
105
|
+
<v3:Events>
|
106
|
+
<v3:Timestamp>2008-12-04T05:58:46-06:00</v3:Timestamp>
|
107
|
+
<v3:EventType>DP</v3:EventType>
|
108
|
+
<v3:EventDescription>Departed FedEx location</v3:EventDescription>
|
109
|
+
<v3:Address>
|
110
|
+
<v3:City>NASHVILLE</v3:City>
|
111
|
+
<v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
|
112
|
+
<v3:PostalCode>37207</v3:PostalCode>
|
113
|
+
<v3:CountryCode>US</v3:CountryCode>
|
114
|
+
<v3:Residential>false</v3:Residential>
|
115
|
+
</v3:Address>
|
116
|
+
</v3:Events>
|
117
|
+
<v3:Events>
|
118
|
+
<v3:Timestamp>2008-12-03T18:22:00-06:00</v3:Timestamp>
|
119
|
+
<v3:EventType>AR</v3:EventType>
|
120
|
+
<v3:EventDescription>Arrived at FedEx location</v3:EventDescription>
|
121
|
+
<v3:Address>
|
122
|
+
<v3:City>NASHVILLE</v3:City>
|
123
|
+
<v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
|
124
|
+
<v3:PostalCode>37207</v3:PostalCode>
|
125
|
+
<v3:CountryCode>US</v3:CountryCode>
|
126
|
+
<v3:Residential>false</v3:Residential>
|
127
|
+
</v3:Address>
|
128
|
+
</v3:Events>
|
129
|
+
<v3:Events>
|
130
|
+
<v3:Timestamp>2008-12-03T17:22:00-06:00</v3:Timestamp>
|
131
|
+
<v3:EventType>PU</v3:EventType>
|
132
|
+
<v3:EventDescription>Picked up</v3:EventDescription>
|
133
|
+
<v3:Address>
|
134
|
+
<v3:City>NASHVILLE</v3:City>
|
135
|
+
<v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
|
136
|
+
<v3:PostalCode>37207</v3:PostalCode>
|
137
|
+
<v3:CountryCode>US</v3:CountryCode>
|
138
|
+
<v3:Residential>false</v3:Residential>
|
139
|
+
</v3:Address>
|
140
|
+
</v3:Events>
|
141
|
+
<v3:Events>
|
142
|
+
<v3:Timestamp>2008-12-03T12:10:00-06:00</v3:Timestamp>
|
143
|
+
<v3:EventType>OC</v3:EventType>
|
144
|
+
<v3:EventDescription>Shipment information sent to FedEx</v3:EventDescription>
|
145
|
+
<v3:Address>
|
146
|
+
<v3:Residential>false</v3:Residential>
|
147
|
+
</v3:Address>
|
148
|
+
</v3:Events>
|
149
|
+
</v3:TrackDetails>
|
150
|
+
</v3:TrackReply>
|
@@ -0,0 +1,95 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<v3:TrackReply xmlns:v3="http://fedex.com/ws/track/v3">
|
3
|
+
<v3:HighestSeverity>SUCCESS</v3:HighestSeverity>
|
4
|
+
<v3:Notifications>
|
5
|
+
<v3:Severity>SUCCESS</v3:Severity>
|
6
|
+
<v3:Source>trck</v3:Source>
|
7
|
+
<v3:Code>0</v3:Code>
|
8
|
+
<v3:Message>Request was successfully processed.</v3:Message>
|
9
|
+
<v3:LocalizedMessage>Request was successfully processed.</v3:LocalizedMessage>
|
10
|
+
</v3:Notifications>
|
11
|
+
<v3:TransactionDetail>
|
12
|
+
<v3:CustomerTransactionId>ActiveShipping</v3:CustomerTransactionId>
|
13
|
+
</v3:TransactionDetail>
|
14
|
+
<v3:Version>
|
15
|
+
<v3:ServiceId>trck</v3:ServiceId>
|
16
|
+
<v3:Major>3</v3:Major>
|
17
|
+
<v3:Intermediate>0</v3:Intermediate>
|
18
|
+
<v3:Minor>0</v3:Minor>
|
19
|
+
</v3:Version>
|
20
|
+
<v3:DuplicateWaybill>false</v3:DuplicateWaybill>
|
21
|
+
<v3:MoreData>false</v3:MoreData>
|
22
|
+
<v3:TrackDetails>
|
23
|
+
<v3:Notification>
|
24
|
+
<v3:Severity>SUCCESS</v3:Severity>
|
25
|
+
<v3:Source>trck</v3:Source>
|
26
|
+
<v3:Code>0</v3:Code>
|
27
|
+
<v3:Message>Request was successfully processed.</v3:Message>
|
28
|
+
<v3:LocalizedMessage>Request was successfully processed.</v3:LocalizedMessage>
|
29
|
+
</v3:Notification>
|
30
|
+
<v3:TrackingNumber>1234567890111</v3:TrackingNumber>
|
31
|
+
<v3:TrackingNumberUniqueIdentifier>29402</v3:TrackingNumberUniqueIdentifier>
|
32
|
+
<v3:StatusCode>DP</v3:StatusCode>
|
33
|
+
<v3:StatusDescription>Departed FedEx location</v3:StatusDescription>
|
34
|
+
<v3:ServiceInfo>FedEx SmartPost</v3:ServiceInfo>
|
35
|
+
<v3:ServiceType>SMART_POST</v3:ServiceType>
|
36
|
+
<v3:PackageWeight>
|
37
|
+
<v3:Units>LB</v3:Units>
|
38
|
+
<v3:Value>0.3</v3:Value>
|
39
|
+
</v3:PackageWeight>
|
40
|
+
<v3:Packaging>Package</v3:Packaging>
|
41
|
+
<v3:PackagingType>YOUR_PACKAGING</v3:PackagingType>
|
42
|
+
<v3:PackageSequenceNumber>1</v3:PackageSequenceNumber>
|
43
|
+
<v3:PackageCount>1</v3:PackageCount>
|
44
|
+
<v3:ShipperAddress>
|
45
|
+
<v3:City>Wallingford</v3:City>
|
46
|
+
<v3:StateOrProvinceCode>CT</v3:StateOrProvinceCode>
|
47
|
+
<v3:CountryCode>US</v3:CountryCode>
|
48
|
+
<v3:Residential>false</v3:Residential>
|
49
|
+
</v3:ShipperAddress>
|
50
|
+
<v3:ShipTimestamp>2013-10-10T03:01:54+00:00</v3:ShipTimestamp>
|
51
|
+
<v3:DestinationAddress>
|
52
|
+
<v3:City>SAINT LOUIS</v3:City>
|
53
|
+
<v3:StateOrProvinceCode>MO</v3:StateOrProvinceCode>
|
54
|
+
<v3:CountryCode>US</v3:CountryCode>
|
55
|
+
<v3:Residential>false</v3:Residential>
|
56
|
+
</v3:DestinationAddress>
|
57
|
+
<v3:EstimatedDeliveryTimestamp>2013-10-15T00:00:00</v3:EstimatedDeliveryTimestamp>
|
58
|
+
<v3:SignatureProofOfDeliveryAvailable>false</v3:SignatureProofOfDeliveryAvailable>
|
59
|
+
<v3:ProofOfDeliveryNotificationsAvailable>true</v3:ProofOfDeliveryNotificationsAvailable>
|
60
|
+
<v3:Events>
|
61
|
+
<v3:Timestamp>2013-10-10T04:54:01-04:00</v3:Timestamp>
|
62
|
+
<v3:EventType>DP</v3:EventType>
|
63
|
+
<v3:EventDescription>Departed FedEx location</v3:EventDescription>
|
64
|
+
<v3:Address>
|
65
|
+
<v3:City>FEDEX SMARTPOST NORTHBOROUGH</v3:City>
|
66
|
+
<v3:StateOrProvinceCode>MA</v3:StateOrProvinceCode>
|
67
|
+
<v3:PostalCode>01532</v3:PostalCode>
|
68
|
+
<v3:CountryCode>US</v3:CountryCode>
|
69
|
+
<v3:Residential>false</v3:Residential>
|
70
|
+
</v3:Address>
|
71
|
+
</v3:Events>
|
72
|
+
<v3:Events>
|
73
|
+
<v3:Timestamp>2013-10-10T04:32:31-04:00</v3:Timestamp>
|
74
|
+
<v3:EventType>AR</v3:EventType>
|
75
|
+
<v3:EventDescription>Arrived at FedEx location</v3:EventDescription>
|
76
|
+
<v3:Address>
|
77
|
+
<v3:City>FEDEX SMARTPOST NORTHBOROUGH</v3:City>
|
78
|
+
<v3:StateOrProvinceCode>MA</v3:StateOrProvinceCode>
|
79
|
+
<v3:PostalCode>01532</v3:PostalCode>
|
80
|
+
<v3:CountryCode>US</v3:CountryCode>
|
81
|
+
<v3:Residential>false</v3:Residential>
|
82
|
+
</v3:Address>
|
83
|
+
</v3:Events>
|
84
|
+
<v3:Events>
|
85
|
+
<v3:Timestamp>2013-10-10T03:01:54+00:00</v3:Timestamp>
|
86
|
+
<v3:EventType>OC</v3:EventType>
|
87
|
+
<v3:EventDescription>Shipment information sent to FedEx</v3:EventDescription>
|
88
|
+
<v3:Address>
|
89
|
+
<v3:PostalCode>064506643</v3:PostalCode>
|
90
|
+
<v3:CountryCode>US</v3:CountryCode>
|
91
|
+
<v3:Residential>false</v3:Residential>
|
92
|
+
</v3:Address>
|
93
|
+
</v3:Events>
|
94
|
+
</v3:TrackDetails>
|
95
|
+
</v3:TrackReply>
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<v3:TrackReply xmlns:v3="http://fedex.com/ws/track/v3">
|
3
|
+
<v3:HighestSeverity>SUCCESS</v3:HighestSeverity>
|
4
|
+
<v3:Notifications>
|
5
|
+
<v3:Severity>SUCCESS</v3:Severity>
|
6
|
+
<v3:Source>trck</v3:Source>
|
7
|
+
<v3:Code>0</v3:Code>
|
8
|
+
<v3:Message>Request was successfully processed.</v3:Message>
|
9
|
+
<v3:LocalizedMessage>Request was successfully processed.</v3:LocalizedMessage>
|
10
|
+
</v3:Notifications>
|
11
|
+
<v3:TransactionDetail>
|
12
|
+
<v3:CustomerTransactionId>ActiveShipping</v3:CustomerTransactionId>
|
13
|
+
</v3:TransactionDetail>
|
14
|
+
<v3:Version>
|
15
|
+
<v3:ServiceId>trck</v3:ServiceId>
|
16
|
+
<v3:Major>3</v3:Major>
|
17
|
+
<v3:Intermediate>0</v3:Intermediate>
|
18
|
+
<v3:Minor>0</v3:Minor>
|
19
|
+
</v3:Version>
|
20
|
+
<v3:DuplicateWaybill>false</v3:DuplicateWaybill>
|
21
|
+
<v3:MoreData>false</v3:MoreData>
|
22
|
+
<v3:TrackDetails>
|
23
|
+
<v3:Notification>
|
24
|
+
<v3:Severity>SUCCESS</v3:Severity>
|
25
|
+
<v3:Source>trck</v3:Source>
|
26
|
+
<v3:Code>0</v3:Code>
|
27
|
+
<v3:Message>Request was successfully processed.</v3:Message>
|
28
|
+
<v3:LocalizedMessage>Request was successfully processed.</v3:LocalizedMessage>
|
29
|
+
</v3:Notification>
|
30
|
+
<v3:TrackingNumber>9274899998944505028386</v3:TrackingNumber>
|
31
|
+
<v3:TrackingNumberUniqueIdentifier>20131009030300~74899998944505028386~FXSP</v3:TrackingNumberUniqueIdentifier>
|
32
|
+
<v3:StatusCode>OC</v3:StatusCode>
|
33
|
+
<v3:StatusDescription>Shipment information sent to FedEx</v3:StatusDescription>
|
34
|
+
<v3:ServiceCommitMessage>Please check back later for shipment status or subscribe for e-mail notifications</v3:ServiceCommitMessage>
|
35
|
+
<v3:ServiceInfo>FedEx SmartPost</v3:ServiceInfo>
|
36
|
+
<v3:ServiceType>SMART_POST</v3:ServiceType>
|
37
|
+
<v3:PackageWeight>
|
38
|
+
<v3:Units>LB</v3:Units>
|
39
|
+
<v3:Value>0.9</v3:Value>
|
40
|
+
</v3:PackageWeight>
|
41
|
+
<v3:Packaging>Package</v3:Packaging>
|
42
|
+
<v3:PackagingType>YOUR_PACKAGING</v3:PackagingType>
|
43
|
+
<v3:PackageSequenceNumber>1</v3:PackageSequenceNumber>
|
44
|
+
<v3:PackageCount>1</v3:PackageCount>
|
45
|
+
<v3:ShipperAddress>
|
46
|
+
<v3:City>Wallingford</v3:City>
|
47
|
+
<v3:StateOrProvinceCode>CT</v3:StateOrProvinceCode>
|
48
|
+
<v3:CountryCode>US</v3:CountryCode>
|
49
|
+
<v3:Residential>false</v3:Residential>
|
50
|
+
</v3:ShipperAddress>
|
51
|
+
<v3:ShipTimestamp>2013-10-09T03:02:59+00:00</v3:ShipTimestamp>
|
52
|
+
<v3:DestinationAddress>
|
53
|
+
<v3:City>HAMPSTEAD</v3:City>
|
54
|
+
<v3:StateOrProvinceCode>NC</v3:StateOrProvinceCode>
|
55
|
+
<v3:CountryCode>US</v3:CountryCode>
|
56
|
+
<v3:Residential>false</v3:Residential>
|
57
|
+
</v3:DestinationAddress>
|
58
|
+
<v3:SignatureProofOfDeliveryAvailable>false</v3:SignatureProofOfDeliveryAvailable>
|
59
|
+
<v3:ProofOfDeliveryNotificationsAvailable>true</v3:ProofOfDeliveryNotificationsAvailable>
|
60
|
+
<v3:Events>
|
61
|
+
<v3:Timestamp>2013-10-09T03:02:59+00:00</v3:Timestamp>
|
62
|
+
<v3:EventType>OC</v3:EventType>
|
63
|
+
<v3:EventDescription>Shipment information sent to FedEx</v3:EventDescription>
|
64
|
+
<v3:Address>
|
65
|
+
<v3:PostalCode>064506643</v3:PostalCode>
|
66
|
+
<v3:CountryCode>US</v3:CountryCode>
|
67
|
+
<v3:Residential>false</v3:Residential>
|
68
|
+
</v3:Address>
|
69
|
+
</v3:Events>
|
70
|
+
</v3:TrackDetails>
|
71
|
+
</v3:TrackReply>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<HTML>
|
2
|
+
<BODY>
|
3
|
+
<Response><ErrorCode>0</ErrorCode><ErrorText>success</ErrorText><Option><Description>USPS Priority Mail</Description><DeliveryTime>1-3 business days</DeliveryTime><Price>8.00</Price></Option><Option><Description>UPS Ground</Description><DeliveryTime>1-5 business days</DeliveryTime><Price>12.34</Price></Option><Option><Description>UPS 2nd Day Air</Description><DeliveryTime>2 business days</DeliveryTime><Price>21.86</Price></Option><Option><Description>UPS Next Day Air Saver</Description><DeliveryTime>1 business day</DeliveryTime><Price>36.05</Price></Option></Response>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<RateResponse>
|
3
|
+
<Status>OK</Status>
|
4
|
+
<Order sequence="1">
|
5
|
+
<Quotes>
|
6
|
+
<Quote method="INTL">
|
7
|
+
<Warehouse>UK</Warehouse>
|
8
|
+
<Service>UPS Standard</Service>
|
9
|
+
<Cost currency="USD">28.06</Cost>
|
10
|
+
<DeliveryEstimate>
|
11
|
+
<Minimum units="days">1</Minimum>
|
12
|
+
<Maximum units="days">5</Maximum>
|
13
|
+
</DeliveryEstimate>
|
14
|
+
</Quote>
|
15
|
+
</Quotes>
|
16
|
+
</Order>
|
17
|
+
</RateResponse>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE RateResponse SYSTEM "http://www.shipwire.com/exec/download/RateResponse.dtd">
|
3
|
+
<RateResponse>
|
4
|
+
<Status>OK</Status>
|
5
|
+
<Order sequence="1">
|
6
|
+
<Quotes>
|
7
|
+
<Quote method="GD">
|
8
|
+
<Warehouse>Reno (Pick/Pack Saver)</Warehouse>
|
9
|
+
<Service>FESCO Ground</Service>
|
10
|
+
<Cost currency="USD">7.73</Cost>
|
11
|
+
<DeliveryEstimate>
|
12
|
+
<Minimum units="days">1</Minimum>
|
13
|
+
<Maximum units="days">5</Maximum>
|
14
|
+
</DeliveryEstimate>
|
15
|
+
</Quote>
|
16
|
+
</Quotes>
|
17
|
+
</Order>
|
18
|
+
</RateResponse>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE RateResponse SYSTEM "http://www.shipwire.com/exec/download/RateResponse.dtd">
|
3
|
+
<RateResponse>
|
4
|
+
<Status>OK</Status>
|
5
|
+
<Order sequence="1">
|
6
|
+
<Quotes>
|
7
|
+
<Quote method="GD">
|
8
|
+
<Warehouse>Reno (Pick/Pack Saver)</Warehouse>
|
9
|
+
<Service>UPS Ground</Service>
|
10
|
+
<Cost currency="USD">7.73</Cost>
|
11
|
+
<DeliveryEstimate>
|
12
|
+
<Minimum units="days">1</Minimum>
|
13
|
+
<Maximum units="days">5</Maximum>
|
14
|
+
</DeliveryEstimate>
|
15
|
+
</Quote>
|
16
|
+
<Quote method="2D">
|
17
|
+
<Warehouse>Reno (Pick/Pack Saver)</Warehouse>
|
18
|
+
<Service>UPS Second Day Air</Service>
|
19
|
+
<Cost currency="USD">13.64</Cost>
|
20
|
+
<DeliveryEstimate>
|
21
|
+
<Minimum units="days">2</Minimum>
|
22
|
+
<Maximum units="days">2</Maximum>
|
23
|
+
</DeliveryEstimate>
|
24
|
+
</Quote>
|
25
|
+
<Quote method="1D">
|
26
|
+
<Warehouse>Reno (Pick/Pack Saver)</Warehouse>
|
27
|
+
<Service>USPS Express Mail</Service>
|
28
|
+
<Cost currency="USD">25.25</Cost>
|
29
|
+
<DeliveryEstimate>
|
30
|
+
<Minimum units="days">1</Minimum>
|
31
|
+
<Maximum units="days">1</Maximum>
|
32
|
+
</DeliveryEstimate>
|
33
|
+
</Quote>
|
34
|
+
</Quotes>
|
35
|
+
</Order>
|
36
|
+
</RateResponse>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE RateResponse SYSTEM "http://www.shipwire.com/exec/download/RateResponse.dtd">
|
3
|
+
<RateResponse>
|
4
|
+
<Status>OK</Status>
|
5
|
+
<Order sequence="1">
|
6
|
+
<Quotes>
|
7
|
+
<Quote method="GD">
|
8
|
+
<Warehouse>Reno (Pick/Pack Saver)</Warehouse>
|
9
|
+
<Service>UPS Ground</Service>
|
10
|
+
<Cost currency="USD">7.73</Cost>
|
11
|
+
</Quote>
|
12
|
+
</Quotes>
|
13
|
+
</Order>
|
14
|
+
</RateResponse>
|