active_shipping 1.0.0.pre4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.yardopts +0 -1
  5. data/CHANGELOG.md +17 -0
  6. data/CONTRIBUTING.md +2 -2
  7. data/Gemfile.activesupport32 +1 -0
  8. data/README.md +1 -1
  9. data/Rakefile +1 -1
  10. data/active_shipping.gemspec +2 -2
  11. data/lib/active_shipping.rb +2 -3
  12. data/lib/active_shipping/carriers.rb +1 -0
  13. data/lib/active_shipping/carriers/canada_post_pws.rb +281 -266
  14. data/lib/active_shipping/carriers/correios.rb +285 -0
  15. data/lib/active_shipping/carriers/fedex.rb +205 -199
  16. data/lib/active_shipping/carriers/stamps.rb +218 -219
  17. data/lib/active_shipping/carriers/ups.rb +287 -48
  18. data/lib/active_shipping/carriers/usps.rb +3 -3
  19. data/lib/active_shipping/delivery_date_estimate.rb +21 -0
  20. data/lib/active_shipping/delivery_date_estimates_response.rb +11 -0
  21. data/lib/active_shipping/errors.rb +20 -1
  22. data/lib/active_shipping/location.rb +0 -5
  23. data/lib/active_shipping/response.rb +0 -15
  24. data/lib/active_shipping/version.rb +1 -1
  25. data/test/credentials.yml +11 -3
  26. data/test/fixtures/xml/correios/book_response.xml +13 -0
  27. data/test/fixtures/xml/correios/book_response_invalid.xml +13 -0
  28. data/test/fixtures/xml/correios/clothes_response.xml +43 -0
  29. data/test/fixtures/xml/correios/poster_response.xml +23 -0
  30. data/test/fixtures/xml/correios/shoes_response.xml +43 -0
  31. data/test/fixtures/xml/fedex/tracking_request.xml +13 -11
  32. data/test/fixtures/xml/fedex/tracking_response_bad_tracking_number.xml +20 -0
  33. data/test/fixtures/xml/fedex/tracking_response_delivered_at_door.xml +254 -0
  34. data/test/fixtures/xml/fedex/tracking_response_delivered_at_facility.xml +403 -0
  35. data/test/fixtures/xml/fedex/tracking_response_delivered_with_signature.xml +269 -0
  36. data/test/fixtures/xml/fedex/tracking_response_in_transit.xml +127 -0
  37. data/test/fixtures/xml/fedex/tracking_response_multiple_results.xml +100 -0
  38. data/test/fixtures/xml/fedex/tracking_response_not_found.xml +52 -0
  39. data/test/fixtures/xml/fedex/tracking_response_shipment_exception.xml +209 -0
  40. data/test/fixtures/xml/ups/delivery_dates_response.xml +140 -0
  41. data/test/fixtures/xml/ups/package_exceeds_maximum_length.xml +12 -0
  42. data/test/fixtures/xml/ups/rate_single_service.xml +54 -0
  43. data/test/fixtures/xml/ups/rescheduled_shipment.xml +204 -0
  44. data/test/fixtures/xml/ups/test_real_home_as_residential_destination_response.xml +290 -1
  45. data/test/fixtures/xml/usps/delivered_extended_tracking_response.xml +11 -0
  46. data/test/remote/canada_post_pws_platform_test.rb +35 -22
  47. data/test/remote/canada_post_pws_test.rb +32 -40
  48. data/test/remote/correios_test.rb +83 -0
  49. data/test/remote/fedex_test.rb +95 -13
  50. data/test/remote/stamps_test.rb +1 -0
  51. data/test/remote/ups_test.rb +77 -40
  52. data/test/remote/usps_test.rb +13 -1
  53. data/test/test_helper.rb +12 -2
  54. data/test/unit/carriers/canada_post_pws_rating_test.rb +66 -59
  55. data/test/unit/carriers/canada_post_pws_shipping_test.rb +34 -23
  56. data/test/unit/carriers/correios_test.rb +244 -0
  57. data/test/unit/carriers/fedex_test.rb +161 -156
  58. data/test/unit/carriers/ups_test.rb +193 -1
  59. data/test/unit/carriers/usps_test.rb +14 -0
  60. data/test/unit/location_test.rb +0 -10
  61. metadata +63 -46
  62. metadata.gz.sig +0 -0
  63. data/lib/vendor/test_helper.rb +0 -6
  64. data/lib/vendor/xml_node/README +0 -36
  65. data/lib/vendor/xml_node/Rakefile +0 -21
  66. data/lib/vendor/xml_node/benchmark/bench_generation.rb +0 -30
  67. data/lib/vendor/xml_node/init.rb +0 -1
  68. data/lib/vendor/xml_node/lib/xml_node.rb +0 -221
  69. data/lib/vendor/xml_node/test/test_generating.rb +0 -89
  70. data/lib/vendor/xml_node/test/test_parsing.rb +0 -40
  71. data/test/fixtures/xml/fedex/tracking_response.xml +0 -151
  72. data/test/fixtures/xml/fedex/tracking_response_empty_destination.xml +0 -76
  73. data/test/fixtures/xml/fedex/tracking_response_no_destination.xml +0 -139
  74. data/test/fixtures/xml/fedex/tracking_response_no_ship_time.xml +0 -150
  75. data/test/fixtures/xml/fedex/tracking_response_with_estimated_delivery_date.xml +0 -95
  76. data/test/fixtures/xml/fedex/tracking_response_with_shipper_address.xml +0 -71
@@ -0,0 +1,403 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <TrackReply xmlns="http://fedex.com/ws/track/v7" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <HighestSeverity>SUCCESS</HighestSeverity>
4
+ <Notifications>
5
+ <Severity>SUCCESS</Severity>
6
+ <Source>trck</Source>
7
+ <Code>0</Code>
8
+ <Message>Request was successfully processed.</Message>
9
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
10
+ </Notifications>
11
+ <TransactionDetail>
12
+ <CustomerTransactionId>ActiveShipping</CustomerTransactionId>
13
+ </TransactionDetail>
14
+ <Version>
15
+ <ServiceId>trck</ServiceId>
16
+ <Major>7</Major>
17
+ <Intermediate>0</Intermediate>
18
+ <Minor>0</Minor>
19
+ </Version>
20
+ <CompletedTrackDetails>
21
+ <HighestSeverity>SUCCESS</HighestSeverity>
22
+ <Notifications>
23
+ <Severity>SUCCESS</Severity>
24
+ <Source>trck</Source>
25
+ <Code>0</Code>
26
+ <Message>Request was successfully processed.</Message>
27
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
28
+ </Notifications>
29
+ <DuplicateWaybill>false</DuplicateWaybill>
30
+ <MoreData>false</MoreData>
31
+ <TrackDetails>
32
+ <Notification>
33
+ <Severity>SUCCESS</Severity>
34
+ <Source>trck</Source>
35
+ <Code>0</Code>
36
+ <Message>Request was successfully processed.</Message>
37
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
38
+ </Notification>
39
+ <TrackingNumber>843119172384577</TrackingNumber>
40
+ <TrackingNumberUniqueIdentifier>12013~843119172384577~FDEG</TrackingNumberUniqueIdentifier>
41
+ <StatusDetail>
42
+ <CreationTime>2014-01-08T00:00:00</CreationTime>
43
+ <Code>DL</Code>
44
+ <Description>Delivered</Description>
45
+ <Location>
46
+ <StreetLines>2201 SHATTUCK AVE</StreetLines>
47
+ <City>Berkeley</City>
48
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
49
+ <CountryCode>US</CountryCode>
50
+ <CountryName>United States</CountryName>
51
+ <Residential>false</Residential>
52
+ </Location>
53
+ <AncillaryDetails>
54
+ <Reason>005</Reason>
55
+ <ReasonDescription>Delivered to recipient at FedEx Office</ReasonDescription>
56
+ </AncillaryDetails>
57
+ </StatusDetail>
58
+ <CarrierCode>FDXG</CarrierCode>
59
+ <OperatingCompanyOrCarrierDescription>FedEx Ground</OperatingCompanyOrCarrierDescription>
60
+ <OtherIdentifiers>
61
+ <PackageIdentifier>
62
+ <Type>TRACKING_NUMBER_OR_DOORTAG</Type>
63
+ <Value>DT702642496002</Value>
64
+ </PackageIdentifier>
65
+ </OtherIdentifiers>
66
+ <OtherIdentifiers>
67
+ <PackageIdentifier>
68
+ <Type>TRACKING_NUMBER_OR_DOORTAG</Type>
69
+ <Value>DT702642495040</Value>
70
+ </PackageIdentifier>
71
+ </OtherIdentifiers>
72
+ <OtherIdentifiers>
73
+ <PackageIdentifier>
74
+ <Type>TRACKING_NUMBER_OR_DOORTAG</Type>
75
+ <Value>DT704745970857</Value>
76
+ </PackageIdentifier>
77
+ </OtherIdentifiers>
78
+ <Service>
79
+ <Type>GROUND_HOME_DELIVERY</Type>
80
+ <Description>FedEx Home Delivery</Description>
81
+ <ShortDescription>HD</ShortDescription>
82
+ </Service>
83
+ <PackageWeight>
84
+ <Units>LB</Units>
85
+ <Value>5.4</Value>
86
+ </PackageWeight>
87
+ <PackageDimensions>
88
+ <Length>17</Length>
89
+ <Width>16</Width>
90
+ <Height>11</Height>
91
+ <Units>IN</Units>
92
+ </PackageDimensions>
93
+ <Packaging>Package</Packaging>
94
+ <PackagingType>YOUR_PACKAGING</PackagingType>
95
+ <PackageSequenceNumber>1</PackageSequenceNumber>
96
+ <PackageCount>1</PackageCount>
97
+ <OriginLocationAddress>
98
+ <City>NASHVILLE</City>
99
+ <StateOrProvinceCode>TN</StateOrProvinceCode>
100
+ <CountryCode>US</CountryCode>
101
+ <CountryName>United States</CountryName>
102
+ <Residential>false</Residential>
103
+ </OriginLocationAddress>
104
+ <ShipTimestamp>2013-12-26T00:00:00</ShipTimestamp>
105
+ <DestinationAddress>
106
+ <City>BERKELEY</City>
107
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
108
+ <CountryCode>US</CountryCode>
109
+ <CountryName>United States</CountryName>
110
+ <Residential>false</Residential>
111
+ </DestinationAddress>
112
+ <ActualDeliveryTimestamp>2014-01-08T18:03:00-08:00</ActualDeliveryTimestamp>
113
+ <ActualDeliveryAddress>
114
+ <City>Berkeley</City>
115
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
116
+ <CountryCode>US</CountryCode>
117
+ <CountryName>United States</CountryName>
118
+ <Residential>false</Residential>
119
+ </ActualDeliveryAddress>
120
+ <DeliveryAttempts>0</DeliveryAttempts>
121
+ <DeliverySignatureName>KKRAUS</DeliverySignatureName>
122
+ <TotalUniqueAddressCountInConsolidation>0</TotalUniqueAddressCountInConsolidation>
123
+ <RedirectToHoldEligibility>INELIGIBLE</RedirectToHoldEligibility>
124
+ <Events>
125
+ <Timestamp>2014-01-08T18:03:00-08:00</Timestamp>
126
+ <EventType>DL</EventType>
127
+ <EventDescription>Delivered</EventDescription>
128
+ <StatusExceptionCode>005</StatusExceptionCode>
129
+ <StatusExceptionDescription>Delivered to recipient at FedEx Office</StatusExceptionDescription>
130
+ <Address>
131
+ <City>Berkeley</City>
132
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
133
+ <PostalCode>94704</PostalCode>
134
+ <CountryCode>US</CountryCode>
135
+ <CountryName>United States</CountryName>
136
+ <Residential>false</Residential>
137
+ </Address>
138
+ <ArrivalLocation>DESTINATION_FEDEX_FACILITY</ArrivalLocation>
139
+ </Events>
140
+ <Events>
141
+ <Timestamp>2014-01-08T15:23:00-08:00</Timestamp>
142
+ <EventType>HP</EventType>
143
+ <EventDescription>Held at FedEx location for recipient pickup</EventDescription>
144
+ <StatusExceptionCode>015A</StatusExceptionCode>
145
+ <StatusExceptionDescription>Package available for pickup at FedEx Office: 2201 SHATTUCK AVE</StatusExceptionDescription>
146
+ <Address>
147
+ <StreetLines>2201 SHATTUCK AVE </StreetLines>
148
+ <City>BERKELEY</City>
149
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
150
+ <PostalCode>94704</PostalCode>
151
+ <CountryCode>US</CountryCode>
152
+ <CountryName>United States</CountryName>
153
+ <Residential>false</Residential>
154
+ </Address>
155
+ <ArrivalLocation>DESTINATION_FEDEX_FACILITY</ArrivalLocation>
156
+ </Events>
157
+ <Events>
158
+ <Timestamp>2014-01-08T15:22:50-08:00</Timestamp>
159
+ <EventType>AF</EventType>
160
+ <EventDescription>At local FedEx facility</EventDescription>
161
+ <StatusExceptionCode>A3</StatusExceptionCode>
162
+ <StatusExceptionDescription>Tendered at FedEx Office</StatusExceptionDescription>
163
+ <Address>
164
+ <PostalCode>94577</PostalCode>
165
+ <CountryName>United States</CountryName>
166
+ <Residential>false</Residential>
167
+ </Address>
168
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
169
+ </Events>
170
+ <Events>
171
+ <Timestamp>2014-01-08T08:28:00-08:00</Timestamp>
172
+ <EventType>OD</EventType>
173
+ <EventDescription>On FedEx vehicle for delivery</EventDescription>
174
+ <Address>
175
+ <City>SAN LEANDRO</City>
176
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
177
+ <PostalCode>94577</PostalCode>
178
+ <CountryCode>US</CountryCode>
179
+ <CountryName>United States</CountryName>
180
+ <Residential>false</Residential>
181
+ </Address>
182
+ <ArrivalLocation>VEHICLE</ArrivalLocation>
183
+ </Events>
184
+ <Events>
185
+ <Timestamp>2014-01-08T04:08:00-08:00</Timestamp>
186
+ <EventType>AR</EventType>
187
+ <EventDescription>At local FedEx facility</EventDescription>
188
+ <Address>
189
+ <City>SAN LEANDRO</City>
190
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
191
+ <PostalCode>94577</PostalCode>
192
+ <CountryCode>US</CountryCode>
193
+ <CountryName>United States</CountryName>
194
+ <Residential>false</Residential>
195
+ </Address>
196
+ <ArrivalLocation>DESTINATION_FEDEX_FACILITY</ArrivalLocation>
197
+ </Events>
198
+ <Events>
199
+ <Timestamp>2014-01-07T11:22:33-08:00</Timestamp>
200
+ <EventType>DE</EventType>
201
+ <EventDescription>Delivery exception</EventDescription>
202
+ <StatusExceptionCode>A13</StatusExceptionCode>
203
+ <StatusExceptionDescription>Redirecting to FedEx Office</StatusExceptionDescription>
204
+ <Address>
205
+ <City>SAN LEANDRO</City>
206
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
207
+ <PostalCode>94577</PostalCode>
208
+ <CountryCode>US</CountryCode>
209
+ <CountryName>United States</CountryName>
210
+ <Residential>false</Residential>
211
+ </Address>
212
+ <ArrivalLocation>DESTINATION_FEDEX_FACILITY</ArrivalLocation>
213
+ </Events>
214
+ <Events>
215
+ <Timestamp>2014-01-07T08:08:00-08:00</Timestamp>
216
+ <EventType>OD</EventType>
217
+ <EventDescription>On FedEx vehicle for delivery</EventDescription>
218
+ <Address>
219
+ <City>SAN LEANDRO</City>
220
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
221
+ <PostalCode>94577</PostalCode>
222
+ <CountryCode>US</CountryCode>
223
+ <CountryName>United States</CountryName>
224
+ <Residential>false</Residential>
225
+ </Address>
226
+ <ArrivalLocation>VEHICLE</ArrivalLocation>
227
+ </Events>
228
+ <Events>
229
+ <Timestamp>2014-01-05T19:19:19-08:00</Timestamp>
230
+ <EventType>RR</EventType>
231
+ <EventDescription>Delivery option requested</EventDescription>
232
+ <StatusExceptionCode>A12</StatusExceptionCode>
233
+ <StatusExceptionDescription>Hold at FedEx location request received - Check back later for shipment status</StatusExceptionDescription>
234
+ <Address>
235
+ <PostalCode>94704</PostalCode>
236
+ <CountryName>United States</CountryName>
237
+ <Residential>false</Residential>
238
+ </Address>
239
+ <ArrivalLocation>ENROUTE</ArrivalLocation>
240
+ </Events>
241
+ <Events>
242
+ <Timestamp>2014-01-04T14:55:45-08:00</Timestamp>
243
+ <EventType>DE</EventType>
244
+ <EventDescription>Delivery exception</EventDescription>
245
+ <StatusExceptionCode>007</StatusExceptionCode>
246
+ <StatusExceptionDescription>Customer not available or business closed</StatusExceptionDescription>
247
+ <Address>
248
+ <City>SAN LEANDRO</City>
249
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
250
+ <PostalCode>94577</PostalCode>
251
+ <CountryCode>US</CountryCode>
252
+ <CountryName>United States</CountryName>
253
+ <Residential>false</Residential>
254
+ </Address>
255
+ <ArrivalLocation>DESTINATION_FEDEX_FACILITY</ArrivalLocation>
256
+ </Events>
257
+ <Events>
258
+ <Timestamp>2014-01-04T08:58:00-08:00</Timestamp>
259
+ <EventType>OD</EventType>
260
+ <EventDescription>On FedEx vehicle for delivery</EventDescription>
261
+ <Address>
262
+ <City>SAN LEANDRO</City>
263
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
264
+ <PostalCode>94577</PostalCode>
265
+ <CountryCode>US</CountryCode>
266
+ <CountryName>United States</CountryName>
267
+ <Residential>false</Residential>
268
+ </Address>
269
+ <ArrivalLocation>VEHICLE</ArrivalLocation>
270
+ </Events>
271
+ <Events>
272
+ <Timestamp>2014-01-03T14:51:07-08:00</Timestamp>
273
+ <EventType>DE</EventType>
274
+ <EventDescription>Delivery exception</EventDescription>
275
+ <StatusExceptionCode>007</StatusExceptionCode>
276
+ <StatusExceptionDescription>Customer not available or business closed</StatusExceptionDescription>
277
+ <Address>
278
+ <City>SAN LEANDRO</City>
279
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
280
+ <PostalCode>94577</PostalCode>
281
+ <CountryCode>US</CountryCode>
282
+ <CountryName>United States</CountryName>
283
+ <Residential>false</Residential>
284
+ </Address>
285
+ <ArrivalLocation>DESTINATION_FEDEX_FACILITY</ArrivalLocation>
286
+ </Events>
287
+ <Events>
288
+ <Timestamp>2014-01-03T08:43:00-08:00</Timestamp>
289
+ <EventType>OD</EventType>
290
+ <EventDescription>On FedEx vehicle for delivery</EventDescription>
291
+ <Address>
292
+ <City>SAN LEANDRO</City>
293
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
294
+ <PostalCode>94577</PostalCode>
295
+ <CountryCode>US</CountryCode>
296
+ <CountryName>United States</CountryName>
297
+ <Residential>false</Residential>
298
+ </Address>
299
+ <ArrivalLocation>VEHICLE</ArrivalLocation>
300
+ </Events>
301
+ <Events>
302
+ <Timestamp>2014-01-02T14:30:44-08:00</Timestamp>
303
+ <EventType>DE</EventType>
304
+ <EventDescription>Delivery exception</EventDescription>
305
+ <StatusExceptionCode>007</StatusExceptionCode>
306
+ <StatusExceptionDescription>Customer not available or business closed</StatusExceptionDescription>
307
+ <Address>
308
+ <City>SAN LEANDRO</City>
309
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
310
+ <PostalCode>94577</PostalCode>
311
+ <CountryCode>US</CountryCode>
312
+ <CountryName>United States</CountryName>
313
+ <Residential>false</Residential>
314
+ </Address>
315
+ <ArrivalLocation>DESTINATION_FEDEX_FACILITY</ArrivalLocation>
316
+ </Events>
317
+ <Events>
318
+ <Timestamp>2014-01-02T09:05:00-08:00</Timestamp>
319
+ <EventType>OD</EventType>
320
+ <EventDescription>On FedEx vehicle for delivery</EventDescription>
321
+ <Address>
322
+ <City>SAN LEANDRO</City>
323
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
324
+ <PostalCode>94577</PostalCode>
325
+ <CountryCode>US</CountryCode>
326
+ <CountryName>United States</CountryName>
327
+ <Residential>false</Residential>
328
+ </Address>
329
+ <ArrivalLocation>VEHICLE</ArrivalLocation>
330
+ </Events>
331
+ <Events>
332
+ <Timestamp>2014-01-02T06:37:00-08:00</Timestamp>
333
+ <EventType>AR</EventType>
334
+ <EventDescription>At local FedEx facility</EventDescription>
335
+ <Address>
336
+ <City>SAN LEANDRO</City>
337
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
338
+ <PostalCode>94577</PostalCode>
339
+ <CountryCode>US</CountryCode>
340
+ <CountryName>United States</CountryName>
341
+ <Residential>false</Residential>
342
+ </Address>
343
+ <ArrivalLocation>DESTINATION_FEDEX_FACILITY</ArrivalLocation>
344
+ </Events>
345
+ <Events>
346
+ <Timestamp>2013-12-31T15:26:00-08:00</Timestamp>
347
+ <EventType>AR</EventType>
348
+ <EventDescription>Arrived at FedEx location</EventDescription>
349
+ <Address>
350
+ <City>SACRAMENTO</City>
351
+ <StateOrProvinceCode>CA</StateOrProvinceCode>
352
+ <PostalCode>95824</PostalCode>
353
+ <CountryCode>US</CountryCode>
354
+ <CountryName>United States</CountryName>
355
+ <Residential>false</Residential>
356
+ </Address>
357
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
358
+ </Events>
359
+ <Events>
360
+ <Timestamp>2013-12-27T15:46:20-06:00</Timestamp>
361
+ <EventType>DP</EventType>
362
+ <EventDescription>Departed FedEx location</EventDescription>
363
+ <Address>
364
+ <City>NASHVILLE</City>
365
+ <StateOrProvinceCode>TN</StateOrProvinceCode>
366
+ <PostalCode>37207</PostalCode>
367
+ <CountryCode>US</CountryCode>
368
+ <CountryName>United States</CountryName>
369
+ <Residential>false</Residential>
370
+ </Address>
371
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
372
+ </Events>
373
+ <Events>
374
+ <Timestamp>2013-12-27T00:42:00-06:00</Timestamp>
375
+ <EventType>AR</EventType>
376
+ <EventDescription>Arrived at FedEx location</EventDescription>
377
+ <Address>
378
+ <City>NASHVILLE</City>
379
+ <StateOrProvinceCode>TN</StateOrProvinceCode>
380
+ <PostalCode>37207</PostalCode>
381
+ <CountryCode>US</CountryCode>
382
+ <CountryName>United States</CountryName>
383
+ <Residential>false</Residential>
384
+ </Address>
385
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
386
+ </Events>
387
+ <Events>
388
+ <Timestamp>2013-12-26T20:59:00-06:00</Timestamp>
389
+ <EventType>PU</EventType>
390
+ <EventDescription>Picked up</EventDescription>
391
+ <Address>
392
+ <City>NASHVILLE</City>
393
+ <StateOrProvinceCode>TN</StateOrProvinceCode>
394
+ <PostalCode>37207</PostalCode>
395
+ <CountryCode>US</CountryCode>
396
+ <CountryName>United States</CountryName>
397
+ <Residential>false</Residential>
398
+ </Address>
399
+ <ArrivalLocation>PICKUP_LOCATION</ArrivalLocation>
400
+ </Events>
401
+ </TrackDetails>
402
+ </CompletedTrackDetails>
403
+ </TrackReply>
@@ -0,0 +1,269 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <TrackReply xmlns="http://fedex.com/ws/track/v7" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <HighestSeverity>SUCCESS</HighestSeverity>
4
+ <Notifications>
5
+ <Severity>SUCCESS</Severity>
6
+ <Source>trck</Source>
7
+ <Code>0</Code>
8
+ <Message>Request was successfully processed.</Message>
9
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
10
+ </Notifications>
11
+ <TransactionDetail>
12
+ <CustomerTransactionId>ActiveShipping</CustomerTransactionId>
13
+ </TransactionDetail>
14
+ <Version>
15
+ <ServiceId>trck</ServiceId>
16
+ <Major>7</Major>
17
+ <Intermediate>0</Intermediate>
18
+ <Minor>0</Minor>
19
+ </Version>
20
+ <CompletedTrackDetails>
21
+ <HighestSeverity>SUCCESS</HighestSeverity>
22
+ <Notifications>
23
+ <Severity>SUCCESS</Severity>
24
+ <Source>trck</Source>
25
+ <Code>0</Code>
26
+ <Message>Request was successfully processed.</Message>
27
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
28
+ </Notifications>
29
+ <DuplicateWaybill>false</DuplicateWaybill>
30
+ <MoreData>false</MoreData>
31
+ <TrackDetails>
32
+ <Notification>
33
+ <Severity>SUCCESS</Severity>
34
+ <Source>trck</Source>
35
+ <Code>0</Code>
36
+ <Message>Request was successfully processed.</Message>
37
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
38
+ </Notification>
39
+ <TrackingNumber>449044304137821</TrackingNumber>
40
+ <TrackingNumberUniqueIdentifier>12013~449044304137821~FDEG</TrackingNumberUniqueIdentifier>
41
+ <StatusDetail>
42
+ <CreationTime>2014-01-02T00:00:00</CreationTime>
43
+ <Code>DL</Code>
44
+ <Description>Delivered</Description>
45
+ <Location>
46
+ <StreetLines>6703 NW 7TH ST</StreetLines>
47
+ <City>Miami</City>
48
+ <StateOrProvinceCode>FL</StateOrProvinceCode>
49
+ <CountryCode>US</CountryCode>
50
+ <CountryName>United States</CountryName>
51
+ <Residential>false</Residential>
52
+ </Location>
53
+ </StatusDetail>
54
+ <CarrierCode>FDXG</CarrierCode>
55
+ <OperatingCompanyOrCarrierDescription>FedEx Ground</OperatingCompanyOrCarrierDescription>
56
+ <OtherIdentifiers>
57
+ <PackageIdentifier>
58
+ <Type>CUSTOMER_REFERENCE</Type>
59
+ <Value>115380173</Value>
60
+ </PackageIdentifier>
61
+ </OtherIdentifiers>
62
+ <OtherIdentifiers>
63
+ <PackageIdentifier>
64
+ <Type>GROUND_SHIPMENT_ID</Type>
65
+ <Value>DMWsGWdnN</Value>
66
+ </PackageIdentifier>
67
+ </OtherIdentifiers>
68
+ <Service>
69
+ <Type>GROUND_HOME_DELIVERY</Type>
70
+ <Description>FedEx Home Delivery</Description>
71
+ <ShortDescription>HD</ShortDescription>
72
+ </Service>
73
+ <PackageWeight>
74
+ <Units>LB</Units>
75
+ <Value>3.0</Value>
76
+ </PackageWeight>
77
+ <PackageDimensions>
78
+ <Length>14</Length>
79
+ <Width>11</Width>
80
+ <Height>5</Height>
81
+ <Units>IN</Units>
82
+ </PackageDimensions>
83
+ <Packaging>Package</Packaging>
84
+ <PackagingType>YOUR_PACKAGING</PackagingType>
85
+ <PackageSequenceNumber>1</PackageSequenceNumber>
86
+ <PackageCount>1</PackageCount>
87
+ <OriginLocationAddress>
88
+ <City>JEFFERSONVILLE</City>
89
+ <StateOrProvinceCode>IN</StateOrProvinceCode>
90
+ <CountryCode>US</CountryCode>
91
+ <CountryName>United States</CountryName>
92
+ <Residential>false</Residential>
93
+ </OriginLocationAddress>
94
+ <ShipTimestamp>2013-12-30T00:00:00</ShipTimestamp>
95
+ <DestinationAddress>
96
+ <City>Miami</City>
97
+ <StateOrProvinceCode>FL</StateOrProvinceCode>
98
+ <CountryCode>US</CountryCode>
99
+ <CountryName>United States</CountryName>
100
+ <Residential>false</Residential>
101
+ </DestinationAddress>
102
+ <ActualDeliveryTimestamp>2014-01-02T13:23:29-05:00</ActualDeliveryTimestamp>
103
+ <ActualDeliveryAddress>
104
+ <City>Miami</City>
105
+ <StateOrProvinceCode>FL</StateOrProvinceCode>
106
+ <CountryCode>US</CountryCode>
107
+ <CountryName>United States</CountryName>
108
+ <Residential>false</Residential>
109
+ </ActualDeliveryAddress>
110
+ <DeliveryAttempts>0</DeliveryAttempts>
111
+ <DeliverySignatureName>AVILLALON</DeliverySignatureName>
112
+ <TotalUniqueAddressCountInConsolidation>0</TotalUniqueAddressCountInConsolidation>
113
+ <AvailableImages>SIGNATURE_PROOF_OF_DELIVERY</AvailableImages>
114
+ <RedirectToHoldEligibility>INELIGIBLE</RedirectToHoldEligibility>
115
+ <Events>
116
+ <Timestamp>2014-01-02T13:23:29-05:00</Timestamp>
117
+ <EventType>DL</EventType>
118
+ <EventDescription>Delivered</EventDescription>
119
+ <Address>
120
+ <City>Miami</City>
121
+ <StateOrProvinceCode>FL</StateOrProvinceCode>
122
+ <PostalCode>33126</PostalCode>
123
+ <CountryCode>US</CountryCode>
124
+ <CountryName>United States</CountryName>
125
+ <Residential>false</Residential>
126
+ </Address>
127
+ <ArrivalLocation>DELIVERY_LOCATION</ArrivalLocation>
128
+ </Events>
129
+ <Events>
130
+ <Timestamp>2014-01-02T10:13:00-05:00</Timestamp>
131
+ <EventType>OD</EventType>
132
+ <EventDescription>On FedEx vehicle for delivery</EventDescription>
133
+ <Address>
134
+ <City>MIAMI</City>
135
+ <StateOrProvinceCode>FL</StateOrProvinceCode>
136
+ <PostalCode>33178</PostalCode>
137
+ <CountryCode>US</CountryCode>
138
+ <CountryName>United States</CountryName>
139
+ <Residential>false</Residential>
140
+ </Address>
141
+ <ArrivalLocation>VEHICLE</ArrivalLocation>
142
+ </Events>
143
+ <Events>
144
+ <Timestamp>2014-01-02T03:26:00-05:00</Timestamp>
145
+ <EventType>AR</EventType>
146
+ <EventDescription>Arrived at FedEx location</EventDescription>
147
+ <Address>
148
+ <City>MIAMI</City>
149
+ <StateOrProvinceCode>FL</StateOrProvinceCode>
150
+ <PostalCode>33178</PostalCode>
151
+ <CountryCode>US</CountryCode>
152
+ <CountryName>United States</CountryName>
153
+ <Residential>false</Residential>
154
+ </Address>
155
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
156
+ </Events>
157
+ <Events>
158
+ <Timestamp>2014-01-02T03:23:00-05:00</Timestamp>
159
+ <EventType>AR</EventType>
160
+ <EventDescription>At local FedEx facility</EventDescription>
161
+ <Address>
162
+ <City>MIAMI</City>
163
+ <StateOrProvinceCode>FL</StateOrProvinceCode>
164
+ <PostalCode>33178</PostalCode>
165
+ <CountryCode>US</CountryCode>
166
+ <CountryName>United States</CountryName>
167
+ <Residential>false</Residential>
168
+ </Address>
169
+ <ArrivalLocation>DESTINATION_FEDEX_FACILITY</ArrivalLocation>
170
+ </Events>
171
+ <Events>
172
+ <Timestamp>2013-12-31T20:09:00-05:00</Timestamp>
173
+ <EventType>AR</EventType>
174
+ <EventDescription>Arrived at FedEx location</EventDescription>
175
+ <Address>
176
+ <City>ORLANDO</City>
177
+ <StateOrProvinceCode>FL</StateOrProvinceCode>
178
+ <PostalCode>32809</PostalCode>
179
+ <CountryCode>US</CountryCode>
180
+ <CountryName>United States</CountryName>
181
+ <Residential>false</Residential>
182
+ </Address>
183
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
184
+ </Events>
185
+ <Events>
186
+ <Timestamp>2013-12-31T08:27:45-05:00</Timestamp>
187
+ <EventType>IT</EventType>
188
+ <EventDescription>In transit</EventDescription>
189
+ <Address>
190
+ <City>ELLENWOOD</City>
191
+ <StateOrProvinceCode>GA</StateOrProvinceCode>
192
+ <PostalCode>30294</PostalCode>
193
+ <CountryCode>US</CountryCode>
194
+ <CountryName>United States</CountryName>
195
+ <Residential>false</Residential>
196
+ </Address>
197
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
198
+ </Events>
199
+ <Events>
200
+ <Timestamp>2013-12-30T23:41:40-06:00</Timestamp>
201
+ <EventType>IT</EventType>
202
+ <EventDescription>In transit</EventDescription>
203
+ <Address>
204
+ <City>NASHVILLE</City>
205
+ <StateOrProvinceCode>TN</StateOrProvinceCode>
206
+ <PostalCode>37207</PostalCode>
207
+ <CountryCode>US</CountryCode>
208
+ <CountryName>United States</CountryName>
209
+ <Residential>false</Residential>
210
+ </Address>
211
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
212
+ </Events>
213
+ <Events>
214
+ <Timestamp>2013-12-30T21:45:31-05:00</Timestamp>
215
+ <EventType>DP</EventType>
216
+ <EventDescription>Left FedEx origin facility</EventDescription>
217
+ <Address>
218
+ <City>JEFFERSONVILLE</City>
219
+ <StateOrProvinceCode>IN</StateOrProvinceCode>
220
+ <PostalCode>47130</PostalCode>
221
+ <CountryCode>US</CountryCode>
222
+ <CountryName>United States</CountryName>
223
+ <Residential>false</Residential>
224
+ </Address>
225
+ <ArrivalLocation>ORIGIN_FEDEX_FACILITY</ArrivalLocation>
226
+ </Events>
227
+ <Events>
228
+ <Timestamp>2013-12-30T15:54:00-05:00</Timestamp>
229
+ <EventType>AR</EventType>
230
+ <EventDescription>Arrived at FedEx location</EventDescription>
231
+ <Address>
232
+ <City>JEFFERSONVILLE</City>
233
+ <StateOrProvinceCode>IN</StateOrProvinceCode>
234
+ <PostalCode>47130</PostalCode>
235
+ <CountryCode>US</CountryCode>
236
+ <CountryName>United States</CountryName>
237
+ <Residential>false</Residential>
238
+ </Address>
239
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
240
+ </Events>
241
+ <Events>
242
+ <Timestamp>2013-12-30T13:24:00-05:00</Timestamp>
243
+ <EventType>OC</EventType>
244
+ <EventDescription>Shipment information sent to FedEx</EventDescription>
245
+ <Address>
246
+ <PostalCode>471307761</PostalCode>
247
+ <CountryCode>US</CountryCode>
248
+ <CountryName>United States</CountryName>
249
+ <Residential>false</Residential>
250
+ </Address>
251
+ <ArrivalLocation>CUSTOMER</ArrivalLocation>
252
+ </Events>
253
+ <Events>
254
+ <Timestamp>2013-12-30T13:15:00-05:00</Timestamp>
255
+ <EventType>PU</EventType>
256
+ <EventDescription>Picked up</EventDescription>
257
+ <Address>
258
+ <City>JEFFERSONVILLE</City>
259
+ <StateOrProvinceCode>IN</StateOrProvinceCode>
260
+ <PostalCode>47130</PostalCode>
261
+ <CountryCode>US</CountryCode>
262
+ <CountryName>United States</CountryName>
263
+ <Residential>false</Residential>
264
+ </Address>
265
+ <ArrivalLocation>PICKUP_LOCATION</ArrivalLocation>
266
+ </Events>
267
+ </TrackDetails>
268
+ </CompletedTrackDetails>
269
+ </TrackReply>