reactive_shipping 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.travis.yml +33 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +225 -0
- data/CONTRIBUTING.md +23 -0
- data/Gemfile +3 -0
- data/MIT-LICENSE +21 -0
- data/README.md +158 -0
- data/Rakefile +35 -0
- data/dev.yml +17 -0
- data/gemfiles/activesupport42.gemfile +5 -0
- data/gemfiles/activesupport50.gemfile +6 -0
- data/gemfiles/activesupport51.gemfile +5 -0
- data/gemfiles/activesupport52.gemfile +5 -0
- data/gemfiles/activesupport_master.gemfile +5 -0
- data/lib/certs/eParcel.dtd +111 -0
- data/lib/reactive_shipping.rb +26 -0
- data/lib/reactive_shipping/address_validation_response.rb +30 -0
- data/lib/reactive_shipping/carrier.rb +184 -0
- data/lib/reactive_shipping/carriers.rb +35 -0
- data/lib/reactive_shipping/carriers/australia_post.rb +248 -0
- data/lib/reactive_shipping/carriers/benchmark_carrier.rb +31 -0
- data/lib/reactive_shipping/carriers/bogus_carrier.rb +12 -0
- data/lib/reactive_shipping/carriers/canada_post.rb +263 -0
- data/lib/reactive_shipping/carriers/canada_post_pws.rb +908 -0
- data/lib/reactive_shipping/carriers/fedex.rb +797 -0
- data/lib/reactive_shipping/carriers/kunaki.rb +155 -0
- data/lib/reactive_shipping/carriers/new_zealand_post.rb +260 -0
- data/lib/reactive_shipping/carriers/shipwire.rb +178 -0
- data/lib/reactive_shipping/carriers/stamps.rb +860 -0
- data/lib/reactive_shipping/carriers/ups.rb +1060 -0
- data/lib/reactive_shipping/carriers/usps.rb +708 -0
- data/lib/reactive_shipping/carriers/usps_returns.rb +86 -0
- data/lib/reactive_shipping/delivery_date_estimate.rb +20 -0
- data/lib/reactive_shipping/delivery_date_estimates_response.rb +11 -0
- data/lib/reactive_shipping/errors.rb +35 -0
- data/lib/reactive_shipping/external_return_label_request.rb +417 -0
- data/lib/reactive_shipping/external_return_label_response.rb +26 -0
- data/lib/reactive_shipping/label.rb +10 -0
- data/lib/reactive_shipping/label_response.rb +10 -0
- data/lib/reactive_shipping/location.rb +166 -0
- data/lib/reactive_shipping/package.rb +165 -0
- data/lib/reactive_shipping/package_item.rb +60 -0
- data/lib/reactive_shipping/rate_estimate.rb +197 -0
- data/lib/reactive_shipping/rate_response.rb +33 -0
- data/lib/reactive_shipping/response.rb +44 -0
- data/lib/reactive_shipping/shipment_event.rb +22 -0
- data/lib/reactive_shipping/shipment_packer.rb +108 -0
- data/lib/reactive_shipping/shipping_response.rb +34 -0
- data/lib/reactive_shipping/tracking_response.rb +120 -0
- data/lib/reactive_shipping/version.rb +3 -0
- data/reactive_shipping.gemspec +38 -0
- data/shipit.rubygems.yml +1 -0
- data/test/console.rb +39 -0
- data/test/credentials.yml +76 -0
- data/test/fixtures/files/label1.pdf +0 -0
- data/test/fixtures/files/ups-shipping-label.gif +0 -0
- data/test/fixtures/json/australia_post/calculate_domestic.json +13 -0
- data/test/fixtures/json/australia_post/calculate_domestic_2.json +19 -0
- data/test/fixtures/json/australia_post/calculate_international.json +12 -0
- data/test/fixtures/json/australia_post/calculate_international_2.json +15 -0
- data/test/fixtures/json/australia_post/error_message.json +5 -0
- data/test/fixtures/json/australia_post/service_domestic.json +117 -0
- data/test/fixtures/json/australia_post/service_domestic_2.json +117 -0
- data/test/fixtures/json/australia_post/service_international.json +76 -0
- data/test/fixtures/json/australia_post/service_international_2.json +59 -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/create_shipment_response.xml +2 -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_no_saturday_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/raterequest_response_with_ground_home_delivery.xml +206 -0
- data/test/fixtures/xml/fedex/reply_without_notifications.xml +185 -0
- data/test/fixtures/xml/fedex/tracking_request.xml +29 -0
- data/test/fixtures/xml/fedex/tracking_response_bad_tracking_number.xml +20 -0
- data/test/fixtures/xml/fedex/tracking_response_delivered_at_door.xml +254 -0
- data/test/fixtures/xml/fedex/tracking_response_delivered_at_facility.xml +403 -0
- data/test/fixtures/xml/fedex/tracking_response_delivered_with_signature.xml +269 -0
- data/test/fixtures/xml/fedex/tracking_response_empty_status_detail.xml +84 -0
- data/test/fixtures/xml/fedex/tracking_response_failure_code_9045.xml +52 -0
- data/test/fixtures/xml/fedex/tracking_response_failure_code_9080.xml +51 -0
- data/test/fixtures/xml/fedex/tracking_response_in_transit.xml +127 -0
- data/test/fixtures/xml/fedex/tracking_response_invalid_tracking_number.xml +52 -0
- data/test/fixtures/xml/fedex/tracking_response_missing_status_code.xml +89 -0
- data/test/fixtures/xml/fedex/tracking_response_multiple_results.xml +100 -0
- data/test/fixtures/xml/fedex/tracking_response_not_found.xml +52 -0
- data/test/fixtures/xml/fedex/tracking_response_shipment_exception.xml +209 -0
- data/test/fixtures/xml/fedex/tracking_response_unable_to_process.xml +32 -0
- data/test/fixtures/xml/fedex/tracking_response_with_blank_state.xml +107 -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/access_request.xml +6 -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/delivery_dates_response.xml +140 -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/package_exceeds_maximum_length.xml +12 -0
- data/test/fixtures/xml/ups/rate_single_service.xml +54 -0
- data/test/fixtures/xml/ups/rescheduled_shipment.xml +204 -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 +290 -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/tracking_request.xml +9 -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/ups/void_shipment_response.xml +11 -0
- data/test/fixtures/xml/usps/api_error_rate_response.xml +53 -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/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_response.xml +10 -0
- data/test/fixtures/xml/usps/invalid_xml_tracking_response_error.xml +2 -0
- data/test/fixtures/xml/usps/tracking_request.xml +10 -0
- data/test/fixtures/xml/usps/tracking_request_batch.xml +12 -0
- data/test/fixtures/xml/usps/tracking_response.xml +162 -0
- data/test/fixtures/xml/usps/tracking_response_alt.xml +53 -0
- data/test/fixtures/xml/usps/tracking_response_batch.xml +231 -0
- data/test/fixtures/xml/usps/tracking_response_failure.xml +11 -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/us_rate_request_large.xml +18 -0
- data/test/fixtures/xml/usps/world_rate_request_only_country.xml +22 -0
- data/test/fixtures/xml/usps/world_rate_request_with_value.xml +24 -0
- data/test/fixtures/xml/usps/world_rate_request_without_value.xml +24 -0
- data/test/fixtures/xml/usps_returns/external_return_label_response.xml +2 -0
- data/test/fixtures/xml/usps_returns/external_return_label_response_failure.xml +10 -0
- data/test/remote/australia_post_test.rb +140 -0
- data/test/remote/canada_post_pws_platform_test.rb +259 -0
- data/test/remote/canada_post_pws_test.rb +169 -0
- data/test/remote/canada_post_test.rb +55 -0
- data/test/remote/fedex_test.rb +400 -0
- data/test/remote/kunaki_test.rb +37 -0
- data/test/remote/new_zealand_post_test.rb +149 -0
- data/test/remote/shipwire_test.rb +84 -0
- data/test/remote/stamps_test.rb +396 -0
- data/test/remote/usps_returns_test.rb +72 -0
- data/test/remote/usps_test.rb +243 -0
- data/test/test_helper.rb +296 -0
- data/test/unit/carrier_test.rb +130 -0
- data/test/unit/carriers/australia_post_test.rb +181 -0
- data/test/unit/carriers/benchmark_test.rb +18 -0
- data/test/unit/carriers/canada_post_pws_rating_test.rb +379 -0
- data/test/unit/carriers/canada_post_pws_register_test.rb +76 -0
- data/test/unit/carriers/canada_post_pws_shipping_test.rb +258 -0
- data/test/unit/carriers/canada_post_pws_test.rb +59 -0
- data/test/unit/carriers/canada_post_pws_tracking_test.rb +154 -0
- data/test/unit/carriers/canada_post_test.rb +148 -0
- data/test/unit/carriers/fedex_test.rb +693 -0
- data/test/unit/carriers/kunaki_test.rb +56 -0
- data/test/unit/carriers/new_zealand_post_test.rb +177 -0
- data/test/unit/carriers/shipwire_test.rb +188 -0
- data/test/unit/carriers/stamps_test.rb +245 -0
- data/test/unit/carriers/ups_test.rb +580 -0
- data/test/unit/carriers/usps_returns_test.rb +45 -0
- data/test/unit/carriers/usps_test.rb +633 -0
- data/test/unit/carriers_test.rb +16 -0
- data/test/unit/external_return_label_request_test.rb +258 -0
- data/test/unit/location_test.rb +234 -0
- data/test/unit/package_item_test.rb +232 -0
- data/test/unit/package_test.rb +404 -0
- data/test/unit/rate_estimate_test.rb +93 -0
- data/test/unit/response_test.rb +38 -0
- data/test/unit/shipment_event_test.rb +20 -0
- data/test/unit/shipment_packer_test.rb +212 -0
- data/test/unit/tracking_response_test.rb +41 -0
- metadata +684 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
5
|
+
xmlns:tns="http://stamps.com/xml/namespace/2013/10/swsim/swsimv33">
|
6
|
+
<soap:Body>
|
7
|
+
<tns:PurchasePostage>
|
8
|
+
<tns:Authenticator>***authenticator***</tns:Authenticator>
|
9
|
+
<tns:PurchaseAmount>100</tns:PurchaseAmount>
|
10
|
+
<tns:ControlTotal>####.##</tns:ControlTotal>
|
11
|
+
</tns:PurchasePostage>
|
12
|
+
</soap:Body>
|
13
|
+
</soap:Envelope>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
5
|
+
<soap:Body>
|
6
|
+
<PurchasePostageResponse xmlns="http://stamps.com/xml/namespace/2013/10/swsim/swsimv33">
|
7
|
+
<Authenticator>***authenticator***</Authenticator>
|
8
|
+
<PurchaseStatus>Pending</PurchaseStatus>
|
9
|
+
<TransactionID>1234</TransactionID>
|
10
|
+
<PostageBalance>
|
11
|
+
<AvailablePostage>543.21</AvailablePostage>
|
12
|
+
<ControlTotal>123.45</ControlTotal>
|
13
|
+
</PostageBalance>
|
14
|
+
<RejectionReason>order being processed</RejectionReason>
|
15
|
+
</PurchasePostageResponse>
|
16
|
+
</soap:Body>
|
17
|
+
</soap:Envelope>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
5
|
+
xmlns:tns="http://stamps.com/xml/namespace/2013/10/swsim/swsimv33">
|
6
|
+
<soap:Body>
|
7
|
+
<tns:TrackShipment>
|
8
|
+
<tns:Authenticator>***authenticator***</tns:Authenticator>
|
9
|
+
<tns:StampsTxID>c605aec1-322e-48d5-bf81-b0bb820f9c22</tns:StampsTxID>
|
10
|
+
</tns:TrackShipment>
|
11
|
+
</soap:Body>
|
12
|
+
</soap:Envelope>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
5
|
+
<soap:Body>
|
6
|
+
<TrackShipmentResponse xmlns="http://stamps.com/xml/namespace/2013/10/swsim/swsimv33">
|
7
|
+
<Authenticator>***authenticator***</Authenticator>
|
8
|
+
<TrackingEvents>
|
9
|
+
<TrackingEvent>
|
10
|
+
<Timestamp>2008-02-19T10:32:00</Timestamp>
|
11
|
+
<Event>DELIVERED</Event>
|
12
|
+
<TrackingEventType>Delivered</TrackingEventType>
|
13
|
+
<City>FORT WAYNE</City>
|
14
|
+
<State>IN</State>
|
15
|
+
<Zip>46809</Zip>
|
16
|
+
<Country>US</Country>
|
17
|
+
<SignedBy />
|
18
|
+
<AuthorizedAgent>true</AuthorizedAgent>
|
19
|
+
</TrackingEvent>
|
20
|
+
<TrackingEvent>
|
21
|
+
<Timestamp>2008-02-15T16:58:00</Timestamp>
|
22
|
+
<Event>PROCESSED</Event>
|
23
|
+
<TrackingEventType>Enroute</TrackingEventType>
|
24
|
+
<City>INDIANAPOLIS</City>
|
25
|
+
<State>IN</State>
|
26
|
+
<Zip>46206</Zip>
|
27
|
+
<Country>US</Country>
|
28
|
+
<SignedBy />
|
29
|
+
<AuthorizedAgent>true</AuthorizedAgent>
|
30
|
+
</TrackingEvent>
|
31
|
+
<TrackingEvent>
|
32
|
+
<Timestamp>2008-02-13T16:09:00</Timestamp>
|
33
|
+
<Event>Electronic Notification</Event>
|
34
|
+
<TrackingEventType>ElectronicNotification</TrackingEventType>
|
35
|
+
<City />
|
36
|
+
<State />
|
37
|
+
<Zip>90066</Zip>
|
38
|
+
<Country>US</Country>
|
39
|
+
<SignedBy />
|
40
|
+
<AuthorizedAgent>true</AuthorizedAgent>
|
41
|
+
</TrackingEvent>
|
42
|
+
</TrackingEvents>
|
43
|
+
</TrackShipmentResponse>
|
44
|
+
</soap:Body>
|
45
|
+
</soap:Envelope>
|
@@ -0,0 +1,290 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<TrackResponse>
|
3
|
+
<Response>
|
4
|
+
<ResponseStatusCode>1</ResponseStatusCode>
|
5
|
+
<ResponseStatusDescription>Success</ResponseStatusDescription>
|
6
|
+
</Response>
|
7
|
+
<Shipment>
|
8
|
+
<Shipper>
|
9
|
+
<ShipperNumber>418902</ShipperNumber>
|
10
|
+
<Address>
|
11
|
+
<AddressLine1>1705 WILKIE DR</AddressLine1>
|
12
|
+
<City>WINONA</City>
|
13
|
+
<StateProvinceCode>MN</StateProvinceCode>
|
14
|
+
<PostalCode>55987 6203</PostalCode>
|
15
|
+
<CountryCode>US</CountryCode>
|
16
|
+
</Address>
|
17
|
+
</Shipper>
|
18
|
+
<ShipTo>
|
19
|
+
<Address>
|
20
|
+
<City>ASHEBORO</City>
|
21
|
+
<StateProvinceCode>NC</StateProvinceCode>
|
22
|
+
<PostalCode>27204</PostalCode>
|
23
|
+
<CountryCode>US</CountryCode>
|
24
|
+
</Address>
|
25
|
+
</ShipTo>
|
26
|
+
<ShipmentWeight>
|
27
|
+
<UnitOfMeasurement>
|
28
|
+
<Code>LBS</Code>
|
29
|
+
</UnitOfMeasurement>
|
30
|
+
<Weight>15.90</Weight>
|
31
|
+
</ShipmentWeight>
|
32
|
+
<Service>
|
33
|
+
<Code>003</Code>
|
34
|
+
<Description>GROUND</Description>
|
35
|
+
</Service>
|
36
|
+
<ReferenceNumber>
|
37
|
+
<Code>01</Code>
|
38
|
+
<Value>RMA# 2013-265</Value>
|
39
|
+
</ReferenceNumber>
|
40
|
+
<ReferenceNumber>
|
41
|
+
<Code>01</Code>
|
42
|
+
<Value>1500</Value>
|
43
|
+
</ReferenceNumber>
|
44
|
+
<ShipmentIdentificationNumber>1Z4189020353476816</ShipmentIdentificationNumber>
|
45
|
+
<PickupDate>20131203</PickupDate>
|
46
|
+
<DeliveryDateUnavailable>
|
47
|
+
<Type>Scheduled Delivery</Type>
|
48
|
+
<Description>Scheduled Delivery Date is not currently available, please try back later</Description>
|
49
|
+
</DeliveryDateUnavailable>
|
50
|
+
<Package>
|
51
|
+
<TrackingNumber>1Z4189020353476816</TrackingNumber>
|
52
|
+
<Activity>
|
53
|
+
<ActivityLocation>
|
54
|
+
<Address>
|
55
|
+
<City>WINONA</City>
|
56
|
+
<StateProvinceCode>MN</StateProvinceCode>
|
57
|
+
<CountryCode>US</CountryCode>
|
58
|
+
</Address>
|
59
|
+
</ActivityLocation>
|
60
|
+
<Status>
|
61
|
+
<StatusType>
|
62
|
+
<Code>X</Code>
|
63
|
+
<Description>A GUARANTEED SERVICE REFUND HAS BEEN SUBMITTED FOR THIS PACKAGE.</Description>
|
64
|
+
</StatusType>
|
65
|
+
<StatusCode>
|
66
|
+
<Code>DM</Code>
|
67
|
+
</StatusCode>
|
68
|
+
</Status>
|
69
|
+
<Date>20131212</Date>
|
70
|
+
<Time>043800</Time>
|
71
|
+
</Activity>
|
72
|
+
<Activity>
|
73
|
+
<ActivityLocation>
|
74
|
+
<Address>
|
75
|
+
<City>ASHEBORO</City>
|
76
|
+
<StateProvinceCode>NC</StateProvinceCode>
|
77
|
+
<PostalCode>27203</PostalCode>
|
78
|
+
<CountryCode>US</CountryCode>
|
79
|
+
</Address>
|
80
|
+
<Code>M3</Code>
|
81
|
+
<Description>FRONT DESK</Description>
|
82
|
+
<SignedForByName>EVANS</SignedForByName>
|
83
|
+
</ActivityLocation>
|
84
|
+
<Status>
|
85
|
+
<StatusType>
|
86
|
+
<Code>D</Code>
|
87
|
+
<Description>DELIVERED</Description>
|
88
|
+
</StatusType>
|
89
|
+
<StatusCode>
|
90
|
+
<Code>KB</Code>
|
91
|
+
</StatusCode>
|
92
|
+
</Status>
|
93
|
+
<Date>20131209</Date>
|
94
|
+
<Time>161700</Time>
|
95
|
+
</Activity>
|
96
|
+
<Activity>
|
97
|
+
<ActivityLocation>
|
98
|
+
<Address>
|
99
|
+
<City>GREENSBORO</City>
|
100
|
+
<StateProvinceCode>NC</StateProvinceCode>
|
101
|
+
<CountryCode>US</CountryCode>
|
102
|
+
</Address>
|
103
|
+
</ActivityLocation>
|
104
|
+
<Status>
|
105
|
+
<StatusType>
|
106
|
+
<Code>I</Code>
|
107
|
+
<Description>DESTINATION SCAN</Description>
|
108
|
+
</StatusType>
|
109
|
+
<StatusCode>
|
110
|
+
<Code>DS</Code>
|
111
|
+
</StatusCode>
|
112
|
+
</Status>
|
113
|
+
<Date>20131209</Date>
|
114
|
+
<Time>060000</Time>
|
115
|
+
</Activity>
|
116
|
+
<Activity>
|
117
|
+
<ActivityLocation>
|
118
|
+
<Address>
|
119
|
+
<City>GREENSBORO</City>
|
120
|
+
<StateProvinceCode>NC</StateProvinceCode>
|
121
|
+
<CountryCode>US</CountryCode>
|
122
|
+
</Address>
|
123
|
+
</ActivityLocation>
|
124
|
+
<Status>
|
125
|
+
<StatusType>
|
126
|
+
<Code>I</Code>
|
127
|
+
<Description>DESTINATION SCAN</Description>
|
128
|
+
</StatusType>
|
129
|
+
<StatusCode>
|
130
|
+
<Code>DS</Code>
|
131
|
+
</StatusCode>
|
132
|
+
</Status>
|
133
|
+
<Date>20131206</Date>
|
134
|
+
<Time>101200</Time>
|
135
|
+
</Activity>
|
136
|
+
<Activity>
|
137
|
+
<ActivityLocation>
|
138
|
+
<Address>
|
139
|
+
<City>GREENSBORO</City>
|
140
|
+
<StateProvinceCode>NC</StateProvinceCode>
|
141
|
+
<CountryCode>US</CountryCode>
|
142
|
+
</Address>
|
143
|
+
</ActivityLocation>
|
144
|
+
<Status>
|
145
|
+
<StatusType>
|
146
|
+
<Code>X</Code>
|
147
|
+
<Description>YOUR PACKAGE ENCOUNTERED A DELAY. WE EXPECT YOUR DELIVERY WILL BE POSTPONED BY ONE BUSINESS DAY.</Description>
|
148
|
+
</StatusType>
|
149
|
+
<StatusCode>
|
150
|
+
<Code>2Y</Code>
|
151
|
+
</StatusCode>
|
152
|
+
</Status>
|
153
|
+
<Date>20131205</Date>
|
154
|
+
<Time>213000</Time>
|
155
|
+
</Activity>
|
156
|
+
<Activity>
|
157
|
+
<ActivityLocation>
|
158
|
+
<Address>
|
159
|
+
<City>GREENSBORO</City>
|
160
|
+
<StateProvinceCode>NC</StateProvinceCode>
|
161
|
+
<CountryCode>US</CountryCode>
|
162
|
+
</Address>
|
163
|
+
</ActivityLocation>
|
164
|
+
<Status>
|
165
|
+
<StatusType>
|
166
|
+
<Code>I</Code>
|
167
|
+
<Description>ARRIVAL SCAN</Description>
|
168
|
+
</StatusType>
|
169
|
+
<StatusCode>
|
170
|
+
<Code>AR</Code>
|
171
|
+
</StatusCode>
|
172
|
+
</Status>
|
173
|
+
<Date>20131205</Date>
|
174
|
+
<Time>061600</Time>
|
175
|
+
</Activity>
|
176
|
+
<Activity>
|
177
|
+
<ActivityLocation>
|
178
|
+
<Address>
|
179
|
+
<City>EAGAN</City>
|
180
|
+
<StateProvinceCode>MN</StateProvinceCode>
|
181
|
+
<CountryCode>US</CountryCode>
|
182
|
+
</Address>
|
183
|
+
</ActivityLocation>
|
184
|
+
<Status>
|
185
|
+
<StatusType>
|
186
|
+
<Code>I</Code>
|
187
|
+
<Description>DEPARTURE SCAN</Description>
|
188
|
+
</StatusType>
|
189
|
+
<StatusCode>
|
190
|
+
<Code>DP</Code>
|
191
|
+
</StatusCode>
|
192
|
+
</Status>
|
193
|
+
<Date>20131204</Date>
|
194
|
+
<Time>055400</Time>
|
195
|
+
</Activity>
|
196
|
+
<Activity>
|
197
|
+
<ActivityLocation>
|
198
|
+
<Address>
|
199
|
+
<City>EAGAN</City>
|
200
|
+
<StateProvinceCode>MN</StateProvinceCode>
|
201
|
+
<CountryCode>US</CountryCode>
|
202
|
+
</Address>
|
203
|
+
</ActivityLocation>
|
204
|
+
<Status>
|
205
|
+
<StatusType>
|
206
|
+
<Code>I</Code>
|
207
|
+
<Description>ARRIVAL SCAN</Description>
|
208
|
+
</StatusType>
|
209
|
+
<StatusCode>
|
210
|
+
<Code>AR</Code>
|
211
|
+
</StatusCode>
|
212
|
+
</Status>
|
213
|
+
<Date>20131203</Date>
|
214
|
+
<Time>225800</Time>
|
215
|
+
</Activity>
|
216
|
+
<Activity>
|
217
|
+
<ActivityLocation>
|
218
|
+
<Address>
|
219
|
+
<City>WINONA</City>
|
220
|
+
<StateProvinceCode>MN</StateProvinceCode>
|
221
|
+
<CountryCode>US</CountryCode>
|
222
|
+
</Address>
|
223
|
+
</ActivityLocation>
|
224
|
+
<Status>
|
225
|
+
<StatusType>
|
226
|
+
<Code>I</Code>
|
227
|
+
<Description>DEPARTURE SCAN</Description>
|
228
|
+
</StatusType>
|
229
|
+
<StatusCode>
|
230
|
+
<Code>DP</Code>
|
231
|
+
</StatusCode>
|
232
|
+
</Status>
|
233
|
+
<Date>20131203</Date>
|
234
|
+
<Time>204300</Time>
|
235
|
+
</Activity>
|
236
|
+
<Activity>
|
237
|
+
<ActivityLocation>
|
238
|
+
<Address>
|
239
|
+
<City>WINONA</City>
|
240
|
+
<StateProvinceCode>MN</StateProvinceCode>
|
241
|
+
<CountryCode>US</CountryCode>
|
242
|
+
</Address>
|
243
|
+
</ActivityLocation>
|
244
|
+
<Status>
|
245
|
+
<StatusType>
|
246
|
+
<Code>I</Code>
|
247
|
+
<Description>ORIGIN SCAN</Description>
|
248
|
+
</StatusType>
|
249
|
+
<StatusCode>
|
250
|
+
<Code>OR</Code>
|
251
|
+
</StatusCode>
|
252
|
+
</Status>
|
253
|
+
<Date>20131203</Date>
|
254
|
+
<Time>200600</Time>
|
255
|
+
</Activity>
|
256
|
+
<Activity>
|
257
|
+
<ActivityLocation>
|
258
|
+
<Address>
|
259
|
+
<CountryCode>US</CountryCode>
|
260
|
+
</Address>
|
261
|
+
</ActivityLocation>
|
262
|
+
<Status>
|
263
|
+
<StatusType>
|
264
|
+
<Code>M</Code>
|
265
|
+
<Description>BILLING INFORMATION RECEIVED</Description>
|
266
|
+
</StatusType>
|
267
|
+
<StatusCode>
|
268
|
+
<Code>MP</Code>
|
269
|
+
</StatusCode>
|
270
|
+
</Status>
|
271
|
+
<Date>20131203</Date>
|
272
|
+
<Time>165411</Time>
|
273
|
+
</Activity>
|
274
|
+
<PackageWeight>
|
275
|
+
<UnitOfMeasurement>
|
276
|
+
<Code>LBS</Code>
|
277
|
+
</UnitOfMeasurement>
|
278
|
+
<Weight>15.90</Weight>
|
279
|
+
</PackageWeight>
|
280
|
+
<ReferenceNumber>
|
281
|
+
<Code>01</Code>
|
282
|
+
<Value>RMA# 2013-265</Value>
|
283
|
+
</ReferenceNumber>
|
284
|
+
<ReferenceNumber>
|
285
|
+
<Code>01</Code>
|
286
|
+
<Value>1500</Value>
|
287
|
+
</ReferenceNumber>
|
288
|
+
</Package>
|
289
|
+
</Shipment>
|
290
|
+
</TrackResponse>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<TrackResponse>
|
3
|
+
<Response>
|
4
|
+
<ResponseStatusCode>1</ResponseStatusCode>
|
5
|
+
<ResponseStatusDescription>Success</ResponseStatusDescription>
|
6
|
+
</Response>
|
7
|
+
<Shipment>
|
8
|
+
<Shipper>
|
9
|
+
<ShipperNumber>A7226W</ShipperNumber>
|
10
|
+
<Address>
|
11
|
+
<AddressLine1>1 AMAZON WAY</AddressLine1>
|
12
|
+
<City>COFFEYVILLE</City>
|
13
|
+
<StateProvinceCode>KS</StateProvinceCode>
|
14
|
+
<PostalCode>67337</PostalCode>
|
15
|
+
<CountryCode>US</CountryCode>
|
16
|
+
</Address>
|
17
|
+
</Shipper>
|
18
|
+
<ShipmentWeight>
|
19
|
+
<UnitOfMeasurement>
|
20
|
+
<Code>LBS</Code>
|
21
|
+
</UnitOfMeasurement>
|
22
|
+
<Weight>0.00</Weight>
|
23
|
+
</ShipmentWeight>
|
24
|
+
<Service>
|
25
|
+
<Code>13</Code>
|
26
|
+
<Description>UPS NEXT DAY AIR SAVER</Description>
|
27
|
+
</Service>
|
28
|
+
<ShipmentIdentificationNumber>1ZA7226W1388491331</ShipmentIdentificationNumber>
|
29
|
+
<Package>
|
30
|
+
<TrackingNumber>1ZA7226W1388491331</TrackingNumber>
|
31
|
+
<Activity>
|
32
|
+
<ActivityLocation>
|
33
|
+
<Address>
|
34
|
+
<City>CYPRESS</City>
|
35
|
+
<StateProvinceCode>TX</StateProvinceCode>
|
36
|
+
<PostalCode>77433</PostalCode>
|
37
|
+
<CountryCode>US</CountryCode>
|
38
|
+
</Address>
|
39
|
+
<Code>MQ</Code>
|
40
|
+
<Description>PORCH</Description>
|
41
|
+
</ActivityLocation>
|
42
|
+
<Status>
|
43
|
+
<StatusType>
|
44
|
+
<Code>D</Code>
|
45
|
+
<Description>DELIVERED</Description>
|
46
|
+
</StatusType>
|
47
|
+
<StatusCode>
|
48
|
+
<Code>FS</Code>
|
49
|
+
</StatusCode>
|
50
|
+
</Status>
|
51
|
+
<Date>20110617</Date>
|
52
|
+
<Time>134500</Time>
|
53
|
+
</Activity>
|
54
|
+
<PackageWeight>
|
55
|
+
<UnitOfMeasurement>
|
56
|
+
<Code>LBS</Code>
|
57
|
+
</UnitOfMeasurement>
|
58
|
+
<Weight>0.00</Weight>
|
59
|
+
</PackageWeight>
|
60
|
+
</Package>
|
61
|
+
</Shipment>
|
62
|
+
</TrackResponse>
|