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,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>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<TrackResponse>
|
3
|
+
<Response>
|
4
|
+
<TransactionReference>
|
5
|
+
<CustomerContext>
|
6
|
+
<InternalKey>guidlikesubstance</InternalKey>
|
7
|
+
</CustomerContext>
|
8
|
+
<XpciVersion>1.0</XpciVersion>
|
9
|
+
</TransactionReference>
|
10
|
+
<ResponseStatusCode>1</ResponseStatusCode>
|
11
|
+
<ResponseStatusDescription>Success</ResponseStatusDescription>
|
12
|
+
</Response>
|
13
|
+
<Shipment>
|
14
|
+
<Shipper>
|
15
|
+
<ShipperNumber>123X67</ShipperNumber>
|
16
|
+
</Shipper>
|
17
|
+
<ShipTo>
|
18
|
+
<Address>
|
19
|
+
<City>Timonium</City>
|
20
|
+
<StateProvinceCode>MD</StateProvinceCode>
|
21
|
+
<CountryCode>US</CountryCode>
|
22
|
+
</Address>
|
23
|
+
</ShipTo>
|
24
|
+
<Service>
|
25
|
+
<Code>03</Code>
|
26
|
+
<Description>Ground</Description>
|
27
|
+
</Service>
|
28
|
+
<Package>
|
29
|
+
<TrackingNumber>1Z9999999999999999</TrackingNumber>
|
30
|
+
<Activity>
|
31
|
+
<ActivityLocation>
|
32
|
+
<Address>
|
33
|
+
<City>Timonium</City>
|
34
|
+
<StateProvinceCode>MD</StateProvinceCode>
|
35
|
+
<CountryCode>US</CountryCode>
|
36
|
+
</Address>
|
37
|
+
<Code>DL</Code>
|
38
|
+
<Description>Delivered</Description>
|
39
|
+
</ActivityLocation>
|
40
|
+
<Status>
|
41
|
+
<StatusType>
|
42
|
+
<Code>XX</Code>
|
43
|
+
<Description>Status XX</Description>
|
44
|
+
</StatusType>
|
45
|
+
<StatusCode>
|
46
|
+
<Code>YY</Code>
|
47
|
+
<Description>Code YY</Description>
|
48
|
+
</StatusCode>
|
49
|
+
</Status>
|
50
|
+
</Activity>
|
51
|
+
</Package>
|
52
|
+
</Shipment>
|
53
|
+
</TrackResponse>
|