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,16 @@
|
|
1
|
+
<?xml version="1.0" ?>
|
2
|
+
<RateV4Response>
|
3
|
+
<Package ID="0">
|
4
|
+
<ZipOrigination>90210</ZipOrigination>
|
5
|
+
<ZipDestination>10017</ZipDestination>
|
6
|
+
<Pounds>0</Pounds>
|
7
|
+
<Ounces>1.0</Ounces>
|
8
|
+
<Size>REGULAR</Size>
|
9
|
+
<Machinable>FALSE</Machinable>
|
10
|
+
<Zone>8</Zone>
|
11
|
+
<Postage CLASSID="0">
|
12
|
+
<MailService>First-Class Mail</MailService>
|
13
|
+
<Rate>2.07</Rate>
|
14
|
+
</Postage>
|
15
|
+
</Package>
|
16
|
+
</RateV4Response>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" ?>
|
2
|
+
<RateV4Response>
|
3
|
+
<Package ID="0">
|
4
|
+
<Error>
|
5
|
+
<Number>-2147219428</Number>
|
6
|
+
<Source>DomesticRatesV4;clsRateV4.ValidateFirstClassMailType;RateEngineV4.ProcessRequest</Source>
|
7
|
+
<Description>Invalid First Class Mail Type.</Description>
|
8
|
+
<HelpFile/>
|
9
|
+
<HelpContext>1000440</HelpContext>
|
10
|
+
</Error>
|
11
|
+
</Package>
|
12
|
+
</RateV4Response>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ExternalReturnLabelErrorResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
3
|
+
<errors>
|
4
|
+
<ExternalReturnLabelError>
|
5
|
+
<InternalErrorNumber>4001</InternalErrorNumber>
|
6
|
+
<InternalErrorDescription>Authorization
|
7
|
+
error. MID must correspond to MerchantAccountID.</InternalErrorDescription>
|
8
|
+
</ExternalReturnLabelError>
|
9
|
+
</errors>
|
10
|
+
</ExternalReturnLabelErrorResponse>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<TrackFieldRequest USERID="login">
|
3
|
+
<Revision>1</Revision>
|
4
|
+
<ClientIp>127.0.0.1</ClientIp>
|
5
|
+
<SourceId>reactive_shipping</SourceId>
|
6
|
+
<TrackID ID="9102901000462189604217">
|
7
|
+
<DestinationZipCode>12345</DestinationZipCode>
|
8
|
+
<MailingDate>2010-01-30</MailingDate>
|
9
|
+
</TrackID>
|
10
|
+
</TrackFieldRequest>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<TrackFieldRequest USERID="login">
|
3
|
+
<Revision>1</Revision>
|
4
|
+
<ClientIp>127.0.0.1</ClientIp>
|
5
|
+
<SourceId>reactive_shipping</SourceId>
|
6
|
+
<TrackID ID="9102901000462189604217">
|
7
|
+
<DestinationZipCode>12345</DestinationZipCode>
|
8
|
+
<MailingDate>2010-01-30</MailingDate>
|
9
|
+
</TrackID>
|
10
|
+
<TrackID ID="5555555555555555555555"/>
|
11
|
+
<TrackID ID="9405510ee200828613653750"/>
|
12
|
+
</TrackFieldRequest>
|
@@ -0,0 +1,162 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<TrackResponse>
|
3
|
+
<!-- other than this comment and an altered tracking number this is a real API response -->
|
4
|
+
<TrackInfo ID="9102901000462189604217">
|
5
|
+
<Class>First-Class Package Service</Class>
|
6
|
+
<ClassOfMailCode>FC</ClassOfMailCode>
|
7
|
+
<DestinationCity>HANNA CITY</DestinationCity>
|
8
|
+
<DestinationState>IL</DestinationState>
|
9
|
+
<DestinationZip>61536</DestinationZip>
|
10
|
+
<EmailEnabled>true</EmailEnabled>
|
11
|
+
<ExpectedDeliveryDate>April 28, 2015</ExpectedDeliveryDate>
|
12
|
+
<KahalaIndicator>false</KahalaIndicator>
|
13
|
+
<MailTypeCode>DM</MailTypeCode>
|
14
|
+
<MPDATE>2015-04-24 02:08:04.000000</MPDATE>
|
15
|
+
<MPSUFFIX>495865558</MPSUFFIX>
|
16
|
+
<OriginCity>ARGYLE</OriginCity>
|
17
|
+
<OriginState>TX</OriginState>
|
18
|
+
<OriginZip>76226</OriginZip>
|
19
|
+
<PodEnabled>false</PodEnabled>
|
20
|
+
<PredictedDeliveryDate>April 28, 2015</PredictedDeliveryDate>
|
21
|
+
<RestoreEnabled>false</RestoreEnabled>
|
22
|
+
<RramEnabled>false</RramEnabled>
|
23
|
+
<RreEnabled>false</RreEnabled>
|
24
|
+
<Service>USPS Tracking<SUP>&#153;</SUP></Service>
|
25
|
+
<ServiceTypeCode>001</ServiceTypeCode>
|
26
|
+
<Status>Delivered, In/At Mailbox</Status>
|
27
|
+
<StatusCategory>Delivered</StatusCategory>
|
28
|
+
<StatusSummary>Your item was delivered in or at the mailbox at 9:01 am on April 28, 2015 in HANNA CITY, IL 61536.</StatusSummary>
|
29
|
+
<TABLECODE>T</TABLECODE>
|
30
|
+
<TrackSummary>
|
31
|
+
<EventTime>9:01 am</EventTime>
|
32
|
+
<EventDate>April 28, 2015</EventDate>
|
33
|
+
<Event>Delivered, In/At Mailbox</Event>
|
34
|
+
<EventCity>HANNA CITY</EventCity>
|
35
|
+
<EventState>IL</EventState>
|
36
|
+
<EventZIPCode>61536</EventZIPCode>
|
37
|
+
<EventCountry/>
|
38
|
+
<FirmName/>
|
39
|
+
<Name/>
|
40
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
41
|
+
<EventCode>01</EventCode>
|
42
|
+
<DeliveryAttributeCode>01</DeliveryAttributeCode>
|
43
|
+
</TrackSummary>
|
44
|
+
<TrackDetail>
|
45
|
+
<EventTime>8:29 am</EventTime>
|
46
|
+
<EventDate>April 28, 2015</EventDate>
|
47
|
+
<Event>Out for Delivery</Event>
|
48
|
+
<EventCity>HANNA CITY</EventCity>
|
49
|
+
<EventState>IL</EventState>
|
50
|
+
<EventZIPCode>61536</EventZIPCode>
|
51
|
+
<EventCountry/>
|
52
|
+
<FirmName/>
|
53
|
+
<Name/>
|
54
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
55
|
+
<EventCode>OF</EventCode>
|
56
|
+
</TrackDetail>
|
57
|
+
<TrackDetail>
|
58
|
+
<EventTime>8:19 am</EventTime>
|
59
|
+
<EventDate>April 28, 2015</EventDate>
|
60
|
+
<Event>Sorting Complete</Event>
|
61
|
+
<EventCity>HANNA CITY</EventCity>
|
62
|
+
<EventState>IL</EventState>
|
63
|
+
<EventZIPCode>61536</EventZIPCode>
|
64
|
+
<EventCountry/>
|
65
|
+
<FirmName/>
|
66
|
+
<Name/>
|
67
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
68
|
+
<EventCode>PC</EventCode>
|
69
|
+
</TrackDetail>
|
70
|
+
<TrackDetail>
|
71
|
+
<EventTime>7:03 am</EventTime>
|
72
|
+
<EventDate>April 28, 2015</EventDate>
|
73
|
+
<Event>Arrived at Post Office</Event>
|
74
|
+
<EventCity>HANNA CITY</EventCity>
|
75
|
+
<EventState>IL</EventState>
|
76
|
+
<EventZIPCode>61536</EventZIPCode>
|
77
|
+
<EventCountry/>
|
78
|
+
<FirmName/>
|
79
|
+
<Name/>
|
80
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
81
|
+
<EventCode>07</EventCode>
|
82
|
+
</TrackDetail>
|
83
|
+
<TrackDetail>
|
84
|
+
<EventTime>4:05 am</EventTime>
|
85
|
+
<EventDate>April 28, 2015</EventDate>
|
86
|
+
<Event>Departed USPS Facility</Event>
|
87
|
+
<EventCity>HAZELWOOD</EventCity>
|
88
|
+
<EventState>MO</EventState>
|
89
|
+
<EventZIPCode>63042</EventZIPCode>
|
90
|
+
<EventCountry/>
|
91
|
+
<FirmName/>
|
92
|
+
<Name/>
|
93
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
94
|
+
<EventCode>EF</EventCode>
|
95
|
+
</TrackDetail>
|
96
|
+
<TrackDetail>
|
97
|
+
<EventTime>4:04 pm</EventTime>
|
98
|
+
<EventDate>April 27, 2015</EventDate>
|
99
|
+
<Event>Arrived at USPS Facility</Event>
|
100
|
+
<EventCity>HAZELWOOD</EventCity>
|
101
|
+
<EventState>MO</EventState>
|
102
|
+
<EventZIPCode>63042</EventZIPCode>
|
103
|
+
<EventCountry/>
|
104
|
+
<FirmName/>
|
105
|
+
<Name/>
|
106
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
107
|
+
<EventCode>10</EventCode>
|
108
|
+
</TrackDetail>
|
109
|
+
<TrackDetail>
|
110
|
+
<EventTime>12:18 am</EventTime>
|
111
|
+
<EventDate>April 26, 2015</EventDate>
|
112
|
+
<Event>Departed USPS Facility</Event>
|
113
|
+
<EventCity>COPPELL</EventCity>
|
114
|
+
<EventState>TX</EventState>
|
115
|
+
<EventZIPCode>75099</EventZIPCode>
|
116
|
+
<EventCountry/>
|
117
|
+
<FirmName/>
|
118
|
+
<Name/>
|
119
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
120
|
+
<EventCode>EF</EventCode>
|
121
|
+
</TrackDetail>
|
122
|
+
<TrackDetail>
|
123
|
+
<EventTime>7:19 pm</EventTime>
|
124
|
+
<EventDate>April 25, 2015</EventDate>
|
125
|
+
<Event>Arrived at USPS Origin Facility</Event>
|
126
|
+
<EventCity>COPPELL</EventCity>
|
127
|
+
<EventState>TX</EventState>
|
128
|
+
<EventZIPCode>75099</EventZIPCode>
|
129
|
+
<EventCountry/>
|
130
|
+
<FirmName/>
|
131
|
+
<Name/>
|
132
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
133
|
+
<EventCode>10</EventCode>
|
134
|
+
</TrackDetail>
|
135
|
+
<TrackDetail>
|
136
|
+
<EventTime>6:04 pm</EventTime>
|
137
|
+
<EventDate>April 25, 2015</EventDate>
|
138
|
+
<Event>Accepted at USPS Origin Sort Facility</Event>
|
139
|
+
<EventCity>ARGYLE</EventCity>
|
140
|
+
<EventState>TX</EventState>
|
141
|
+
<EventZIPCode>76226</EventZIPCode>
|
142
|
+
<EventCountry/>
|
143
|
+
<FirmName/>
|
144
|
+
<Name/>
|
145
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
146
|
+
<EventCode>OA</EventCode>
|
147
|
+
</TrackDetail>
|
148
|
+
<TrackDetail>
|
149
|
+
<EventTime>11:36 pm</EventTime>
|
150
|
+
<EventDate>April 23, 2015</EventDate>
|
151
|
+
<Event>Shipping Label Created</Event>
|
152
|
+
<EventCity>ARGYLE</EventCity>
|
153
|
+
<EventState>TX</EventState>
|
154
|
+
<EventZIPCode>76226</EventZIPCode>
|
155
|
+
<EventCountry/>
|
156
|
+
<FirmName/>
|
157
|
+
<Name/>
|
158
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
159
|
+
<EventCode>GX</EventCode>
|
160
|
+
</TrackDetail>
|
161
|
+
</TrackInfo>
|
162
|
+
</TrackResponse>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<TrackResponse>
|
3
|
+
<!-- this is a manually altered response designed to test cases that might occur but have never been actually observed yet. -->
|
4
|
+
<TrackInfo ID="9102901000462189604217">
|
5
|
+
<Class>First-Class Package Service</Class>
|
6
|
+
<ClassOfMailCode>FC</ClassOfMailCode>
|
7
|
+
<DestinationCity>HANNA CITY</DestinationCity>
|
8
|
+
<DestinationState>IL</DestinationState>
|
9
|
+
<DestinationZip>61536</DestinationZip>
|
10
|
+
<EmailEnabled>true</EmailEnabled>
|
11
|
+
<KahalaIndicator>false</KahalaIndicator>
|
12
|
+
<MailTypeCode>DM</MailTypeCode>
|
13
|
+
<MPDATE>2015-04-24 02:08:04.000000</MPDATE>
|
14
|
+
<MPSUFFIX>495865558</MPSUFFIX>
|
15
|
+
<OriginCity>ARGYLE</OriginCity>
|
16
|
+
<OriginState>TX</OriginState>
|
17
|
+
<OriginZip>76226</OriginZip>
|
18
|
+
<PodEnabled>false</PodEnabled>
|
19
|
+
<RestoreEnabled>false</RestoreEnabled>
|
20
|
+
<RramEnabled>false</RramEnabled>
|
21
|
+
<RreEnabled>false</RreEnabled>
|
22
|
+
<Service>USPS Tracking<SUP>&#153;</SUP></Service>
|
23
|
+
<ServiceTypeCode>001</ServiceTypeCode>
|
24
|
+
<Status>Delivered, In/At Mailbox</Status>
|
25
|
+
<StatusCategory>Delivered</StatusCategory>
|
26
|
+
<StatusSummary>Your item was delivered in or at the mailbox at 9:01 am on April 28, 2015 in HANNA CITY, IL 61536.</StatusSummary>
|
27
|
+
<TABLECODE>T</TABLECODE>
|
28
|
+
<TrackSummary>
|
29
|
+
<EventTime>8:29 am</EventTime>
|
30
|
+
<EventDate>April 28, 2015</EventDate>
|
31
|
+
<Event>Out for Delivery, in truck</Event>
|
32
|
+
<EventState>ON</EventState>
|
33
|
+
<EventZIPCode>61536</EventZIPCode>
|
34
|
+
<EventCountry>CANADA</EventCountry>
|
35
|
+
<FirmName/>
|
36
|
+
<Name/>
|
37
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
38
|
+
<EventCode>OF</EventCode>
|
39
|
+
</TrackSummary>
|
40
|
+
<TrackDetail>
|
41
|
+
<EventTime/><EventDate/>
|
42
|
+
<Event>Origin Post is Preparing Shipment</Event>
|
43
|
+
<EventCity/>
|
44
|
+
<EventState/>
|
45
|
+
<EventZIPCode/>
|
46
|
+
<EventCountry/>
|
47
|
+
<FirmName/>
|
48
|
+
<Name/>
|
49
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
50
|
+
<EventCode>NP</EventCode>
|
51
|
+
</TrackDetail>
|
52
|
+
</TrackInfo>
|
53
|
+
</TrackResponse>
|
@@ -0,0 +1,231 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<TrackResponse>
|
3
|
+
<TrackInfo ID="9102901000462189604217">
|
4
|
+
<Class>First-Class Package Service</Class>
|
5
|
+
<ClassOfMailCode>FC</ClassOfMailCode>
|
6
|
+
<DestinationCity>HANNA CITY</DestinationCity>
|
7
|
+
<DestinationState>IL</DestinationState>
|
8
|
+
<DestinationZip>61536</DestinationZip>
|
9
|
+
<EmailEnabled>true</EmailEnabled>
|
10
|
+
<ExpectedDeliveryDate>April 28, 2015</ExpectedDeliveryDate>
|
11
|
+
<KahalaIndicator>false</KahalaIndicator>
|
12
|
+
<MailTypeCode>DM</MailTypeCode>
|
13
|
+
<MPDATE>2015-04-24 02:08:04.000000</MPDATE>
|
14
|
+
<MPSUFFIX>495865558</MPSUFFIX>
|
15
|
+
<OriginCity>ARGYLE</OriginCity>
|
16
|
+
<OriginState>TX</OriginState>
|
17
|
+
<OriginZip>76226</OriginZip>
|
18
|
+
<PodEnabled>false</PodEnabled>
|
19
|
+
<PredictedDeliveryDate>April 28, 2015</PredictedDeliveryDate>
|
20
|
+
<RestoreEnabled>false</RestoreEnabled>
|
21
|
+
<RramEnabled>false</RramEnabled>
|
22
|
+
<RreEnabled>false</RreEnabled>
|
23
|
+
<Service>USPS Tracking<SUP>&#153;</SUP></Service>
|
24
|
+
<ServiceTypeCode>001</ServiceTypeCode>
|
25
|
+
<Status>Delivered, In/At Mailbox</Status>
|
26
|
+
<StatusCategory>Delivered</StatusCategory>
|
27
|
+
<StatusSummary>Your item was delivered in or at the mailbox at 9:01 am on April 28, 2015 in HANNA CITY, IL 61536.</StatusSummary>
|
28
|
+
<TABLECODE>T</TABLECODE>
|
29
|
+
<TrackSummary>
|
30
|
+
<EventTime>9:01 am</EventTime>
|
31
|
+
<EventDate>April 28, 2015</EventDate>
|
32
|
+
<Event>Delivered, In/At Mailbox</Event>
|
33
|
+
<EventCity>HANNA CITY</EventCity>
|
34
|
+
<EventState>IL</EventState>
|
35
|
+
<EventZIPCode>61536</EventZIPCode>
|
36
|
+
<EventCountry/>
|
37
|
+
<FirmName/>
|
38
|
+
<Name/>
|
39
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
40
|
+
<EventCode>01</EventCode>
|
41
|
+
<DeliveryAttributeCode>01</DeliveryAttributeCode>
|
42
|
+
</TrackSummary>
|
43
|
+
<TrackDetail>
|
44
|
+
<EventTime>8:29 am</EventTime>
|
45
|
+
<EventDate>April 28, 2015</EventDate>
|
46
|
+
<Event>Out for Delivery</Event>
|
47
|
+
<EventCity>HANNA CITY</EventCity>
|
48
|
+
<EventState>IL</EventState>
|
49
|
+
<EventZIPCode>61536</EventZIPCode>
|
50
|
+
<EventCountry/>
|
51
|
+
<FirmName/>
|
52
|
+
<Name/>
|
53
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
54
|
+
<EventCode>OF</EventCode>
|
55
|
+
</TrackDetail>
|
56
|
+
<TrackDetail>
|
57
|
+
<EventTime>8:19 am</EventTime>
|
58
|
+
<EventDate>April 28, 2015</EventDate>
|
59
|
+
<Event>Sorting Complete</Event>
|
60
|
+
<EventCity>HANNA CITY</EventCity>
|
61
|
+
<EventState>IL</EventState>
|
62
|
+
<EventZIPCode>61536</EventZIPCode>
|
63
|
+
<EventCountry/>
|
64
|
+
<FirmName/>
|
65
|
+
<Name/>
|
66
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
67
|
+
<EventCode>PC</EventCode>
|
68
|
+
</TrackDetail>
|
69
|
+
<TrackDetail>
|
70
|
+
<EventTime>7:03 am</EventTime>
|
71
|
+
<EventDate>April 28, 2015</EventDate>
|
72
|
+
<Event>Arrived at Post Office</Event>
|
73
|
+
<EventCity>HANNA CITY</EventCity>
|
74
|
+
<EventState>IL</EventState>
|
75
|
+
<EventZIPCode>61536</EventZIPCode>
|
76
|
+
<EventCountry/>
|
77
|
+
<FirmName/>
|
78
|
+
<Name/>
|
79
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
80
|
+
<EventCode>07</EventCode>
|
81
|
+
</TrackDetail>
|
82
|
+
<TrackDetail>
|
83
|
+
<EventTime>4:05 am</EventTime>
|
84
|
+
<EventDate>April 28, 2015</EventDate>
|
85
|
+
<Event>Departed USPS Facility</Event>
|
86
|
+
<EventCity>HAZELWOOD</EventCity>
|
87
|
+
<EventState>MO</EventState>
|
88
|
+
<EventZIPCode>63042</EventZIPCode>
|
89
|
+
<EventCountry/>
|
90
|
+
<FirmName/>
|
91
|
+
<Name/>
|
92
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
93
|
+
<EventCode>EF</EventCode>
|
94
|
+
</TrackDetail>
|
95
|
+
<TrackDetail>
|
96
|
+
<EventTime>4:04 pm</EventTime>
|
97
|
+
<EventDate>April 27, 2015</EventDate>
|
98
|
+
<Event>Arrived at USPS Facility</Event>
|
99
|
+
<EventCity>HAZELWOOD</EventCity>
|
100
|
+
<EventState>MO</EventState>
|
101
|
+
<EventZIPCode>63042</EventZIPCode>
|
102
|
+
<EventCountry/>
|
103
|
+
<FirmName/>
|
104
|
+
<Name/>
|
105
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
106
|
+
<EventCode>10</EventCode>
|
107
|
+
</TrackDetail>
|
108
|
+
<TrackDetail>
|
109
|
+
<EventTime>12:18 am</EventTime>
|
110
|
+
<EventDate>April 26, 2015</EventDate>
|
111
|
+
<Event>Departed USPS Facility</Event>
|
112
|
+
<EventCity>COPPELL</EventCity>
|
113
|
+
<EventState>TX</EventState>
|
114
|
+
<EventZIPCode>75099</EventZIPCode>
|
115
|
+
<EventCountry/>
|
116
|
+
<FirmName/>
|
117
|
+
<Name/>
|
118
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
119
|
+
<EventCode>EF</EventCode>
|
120
|
+
</TrackDetail>
|
121
|
+
<TrackDetail>
|
122
|
+
<EventTime>7:19 pm</EventTime>
|
123
|
+
<EventDate>April 25, 2015</EventDate>
|
124
|
+
<Event>Arrived at USPS Origin Facility</Event>
|
125
|
+
<EventCity>COPPELL</EventCity>
|
126
|
+
<EventState>TX</EventState>
|
127
|
+
<EventZIPCode>75099</EventZIPCode>
|
128
|
+
<EventCountry/>
|
129
|
+
<FirmName/>
|
130
|
+
<Name/>
|
131
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
132
|
+
<EventCode>10</EventCode>
|
133
|
+
</TrackDetail>
|
134
|
+
<TrackDetail>
|
135
|
+
<EventTime>6:04 pm</EventTime>
|
136
|
+
<EventDate>April 25, 2015</EventDate>
|
137
|
+
<Event>Accepted at USPS Origin Sort Facility</Event>
|
138
|
+
<EventCity>ARGYLE</EventCity>
|
139
|
+
<EventState>TX</EventState>
|
140
|
+
<EventZIPCode>76226</EventZIPCode>
|
141
|
+
<EventCountry/>
|
142
|
+
<FirmName/>
|
143
|
+
<Name/>
|
144
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
145
|
+
<EventCode>OA</EventCode>
|
146
|
+
</TrackDetail>
|
147
|
+
<TrackDetail>
|
148
|
+
<EventTime>11:36 pm</EventTime>
|
149
|
+
<EventDate>April 23, 2015</EventDate>
|
150
|
+
<Event>Shipping Label Created</Event>
|
151
|
+
<EventCity>ARGYLE</EventCity>
|
152
|
+
<EventState>TX</EventState>
|
153
|
+
<EventZIPCode>76226</EventZIPCode>
|
154
|
+
<EventCountry/>
|
155
|
+
<FirmName/>
|
156
|
+
<Name/>
|
157
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
158
|
+
<EventCode>GX</EventCode>
|
159
|
+
</TrackDetail>
|
160
|
+
</TrackInfo>
|
161
|
+
<TrackInfo ID="5555555555555555555555">
|
162
|
+
<Class>First-Class Package Service</Class>
|
163
|
+
<ClassOfMailCode>FC</ClassOfMailCode>
|
164
|
+
<DestinationCity>HANNA CITY</DestinationCity>
|
165
|
+
<DestinationState>IL</DestinationState>
|
166
|
+
<DestinationZip>61536</DestinationZip>
|
167
|
+
<EmailEnabled>true</EmailEnabled>
|
168
|
+
<ExpectedDeliveryDate>April 28, 2015</ExpectedDeliveryDate>
|
169
|
+
<KahalaIndicator>false</KahalaIndicator>
|
170
|
+
<MailTypeCode>DM</MailTypeCode>
|
171
|
+
<MPDATE>2015-04-24 02:08:04.000000</MPDATE>
|
172
|
+
<MPSUFFIX>495865558</MPSUFFIX>
|
173
|
+
<OriginCity>ARGYLE</OriginCity>
|
174
|
+
<OriginState>TX</OriginState>
|
175
|
+
<OriginZip>76226</OriginZip>
|
176
|
+
<PodEnabled>false</PodEnabled>
|
177
|
+
<PredictedDeliveryDate>April 28, 2015</PredictedDeliveryDate>
|
178
|
+
<RestoreEnabled>false</RestoreEnabled>
|
179
|
+
<RramEnabled>false</RramEnabled>
|
180
|
+
<RreEnabled>false</RreEnabled>
|
181
|
+
<Service>USPS Tracking<SUP>&#153;</SUP></Service>
|
182
|
+
<ServiceTypeCode>001</ServiceTypeCode>
|
183
|
+
<Status>Delivered, In/At Mailbox</Status>
|
184
|
+
<StatusCategory>Delivered</StatusCategory>
|
185
|
+
<StatusSummary>Your item was delivered in or at the mailbox at 9:01 am on April 28, 2015 in HANNA CITY, IL 61536.</StatusSummary>
|
186
|
+
<TABLECODE>T</TABLECODE>
|
187
|
+
<TrackSummary>
|
188
|
+
<EventTime>9:01 am</EventTime>
|
189
|
+
<EventDate>April 28, 2015</EventDate>
|
190
|
+
<Event>Delivered, In/At Mailbox</Event>
|
191
|
+
<EventCity>HANNA CITY</EventCity>
|
192
|
+
<EventState>IL</EventState>
|
193
|
+
<EventZIPCode>61536</EventZIPCode>
|
194
|
+
<EventCountry/>
|
195
|
+
<FirmName/>
|
196
|
+
<Name/>
|
197
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
198
|
+
<EventCode>01</EventCode>
|
199
|
+
<DeliveryAttributeCode>01</DeliveryAttributeCode>
|
200
|
+
</TrackSummary>
|
201
|
+
<TrackDetail>
|
202
|
+
<EventTime>11:36 pm</EventTime>
|
203
|
+
<EventDate>April 23, 2015</EventDate>
|
204
|
+
<Event>Shipping Label Created</Event>
|
205
|
+
<EventCity>ARGYLE</EventCity>
|
206
|
+
<EventState>TX</EventState>
|
207
|
+
<EventZIPCode>76226</EventZIPCode>
|
208
|
+
<EventCountry/>
|
209
|
+
<FirmName/>
|
210
|
+
<Name/>
|
211
|
+
<AuthorizedAgent>false</AuthorizedAgent>
|
212
|
+
<EventCode>GX</EventCode>
|
213
|
+
</TrackDetail>
|
214
|
+
</TrackInfo>
|
215
|
+
<TrackInfo ID="9405510ee200828613653750">
|
216
|
+
<Error>
|
217
|
+
<Number>-2147219302</Number>
|
218
|
+
<Description>The Postal Service could not locate the tracking information for your request. Please verify your tracking number and try again later.</Description>
|
219
|
+
<HelpFile/>
|
220
|
+
<HelpContext/>
|
221
|
+
</Error>
|
222
|
+
</TrackInfo>
|
223
|
+
<TrackInfo ID="CJ422417033US">
|
224
|
+
<Error>
|
225
|
+
<Number>-2147219303</Number>
|
226
|
+
<Description>Duplicate</Description>
|
227
|
+
<HelpFile/>
|
228
|
+
<HelpContext/>
|
229
|
+
</Error>
|
230
|
+
</TrackInfo>
|
231
|
+
</TrackResponse>
|