after_ship 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/README.md +69 -32
- data/after_ship.gemspec +4 -4
- data/lib/after_ship/checkpoint.rb +35 -28
- data/lib/after_ship/core/attributes.rb +14 -0
- data/lib/after_ship/core/date_utils.rb +76 -0
- data/lib/after_ship/core/error.rb +29 -0
- data/lib/after_ship/core/error_handler.rb +67 -0
- data/lib/after_ship/core/request.rb +131 -0
- data/lib/after_ship/core/version.rb +4 -0
- data/lib/after_ship/courier.rb +45 -0
- data/lib/after_ship/tracking.rb +78 -6
- data/lib/after_ship.rb +158 -214
- data/spec/integration/after_ship_spec.rb +40 -0
- data/spec/request_stubs.rb +30 -97
- data/spec/requests/couriers.json +50 -0
- data/spec/requests/tracking/created.json +53 -0
- data/spec/requests/tracking/{delivered_ok.json → delivered.json} +79 -65
- data/spec/requests/trackings.json +654 -0
- data/spec/units/after_ship_spec.rb +104 -0
- data/spec/units/checkpoint_spec.rb +135 -0
- data/spec/units/courier_spec.rb +41 -0
- data/spec/{lib → units}/date_utils_spec.rb +17 -9
- data/spec/units/error_handler_spec.rb +168 -0
- data/spec/units/request_spec.rb +190 -0
- data/spec/units/tracking_spec.rb +276 -0
- metadata +39 -25
- data/lib/after_ship/version.rb +0 -3
- data/lib/attributes.rb +0 -12
- data/lib/date_utils.rb +0 -61
- data/spec/lib/after_ship_spec.rb +0 -137
- data/spec/lib/checkpoint_spec.rb +0 -139
- data/spec/lib/tracking_spec.rb +0 -89
- data/spec/requests/tracking/delivered_wild.json +0 -653
- data/spec/requests/tracking/in_transit.json +0 -443
@@ -0,0 +1,654 @@
|
|
1
|
+
{
|
2
|
+
"meta": {
|
3
|
+
"code": 200
|
4
|
+
},
|
5
|
+
"data": {
|
6
|
+
"page": 1,
|
7
|
+
"limit": 100,
|
8
|
+
"count": 2,
|
9
|
+
"keyword": "",
|
10
|
+
"slug": "",
|
11
|
+
"origin": [
|
12
|
+
|
13
|
+
],
|
14
|
+
"destination": [
|
15
|
+
|
16
|
+
],
|
17
|
+
"tag": "",
|
18
|
+
"fields": "",
|
19
|
+
"created_at_min": "2014-08-26T14:45:52+00:00",
|
20
|
+
"created_at_max": "2014-11-24T14:45:52+00:00",
|
21
|
+
"trackings": [
|
22
|
+
{
|
23
|
+
"id": "546cb4414a1a2097122ae7b1",
|
24
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
25
|
+
"updated_at": "2014-11-19T22:12:32+00:00",
|
26
|
+
"tracking_number": "1ZA2207X0490715335",
|
27
|
+
"tracking_account_number": null,
|
28
|
+
"tracking_postal_code": null,
|
29
|
+
"tracking_ship_date": null,
|
30
|
+
"slug": "ups",
|
31
|
+
"active": false,
|
32
|
+
"android": [
|
33
|
+
|
34
|
+
],
|
35
|
+
"custom_fields": {
|
36
|
+
},
|
37
|
+
"customer_name": null,
|
38
|
+
"delivery_time": 8,
|
39
|
+
"destination_country_iso3": "USA",
|
40
|
+
"emails": [
|
41
|
+
|
42
|
+
],
|
43
|
+
"expected_delivery": null,
|
44
|
+
"ios": [
|
45
|
+
|
46
|
+
],
|
47
|
+
"note": null,
|
48
|
+
"order_id": "PL-66448782",
|
49
|
+
"order_id_path": null,
|
50
|
+
"origin_country_iso3": "IND",
|
51
|
+
"shipment_package_count": 1,
|
52
|
+
"shipment_type": "UPS SAVER",
|
53
|
+
"shipment_weight": 0.5,
|
54
|
+
"shipment_weight_unit": "kg",
|
55
|
+
"signed_by": "MET CUSTOM",
|
56
|
+
"smses": [
|
57
|
+
|
58
|
+
],
|
59
|
+
"source": "api",
|
60
|
+
"tag": "Delivered",
|
61
|
+
"title": "1ZA2207X0490715335",
|
62
|
+
"tracked_count": 6,
|
63
|
+
"unique_token": "-y6ziF438",
|
64
|
+
"checkpoints": [
|
65
|
+
{
|
66
|
+
"slug": "ups",
|
67
|
+
"city": "MUMBAI",
|
68
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
69
|
+
"country_name": "IN",
|
70
|
+
"message": "PICKUP SCAN",
|
71
|
+
"country_iso3": null,
|
72
|
+
"tag": "InTransit",
|
73
|
+
"checkpoint_time": "2014-11-11T19:12:00",
|
74
|
+
"coordinates": [
|
75
|
+
|
76
|
+
],
|
77
|
+
"state": null,
|
78
|
+
"zip": null
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"slug": "ups",
|
82
|
+
"city": null,
|
83
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
84
|
+
"country_name": "IN",
|
85
|
+
"message": "BILLING INFORMATION RECEIVED",
|
86
|
+
"country_iso3": "IND",
|
87
|
+
"tag": "InfoReceived",
|
88
|
+
"checkpoint_time": "2014-11-11T20:21:57",
|
89
|
+
"coordinates": [
|
90
|
+
|
91
|
+
],
|
92
|
+
"state": null,
|
93
|
+
"zip": null
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"slug": "ups",
|
97
|
+
"city": "MUMBAI",
|
98
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
99
|
+
"country_name": "IN",
|
100
|
+
"message": "ORIGIN SCAN",
|
101
|
+
"country_iso3": null,
|
102
|
+
"tag": "InTransit",
|
103
|
+
"checkpoint_time": "2014-11-11T21:19:00",
|
104
|
+
"coordinates": [
|
105
|
+
|
106
|
+
],
|
107
|
+
"state": null,
|
108
|
+
"zip": null
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"slug": "ups",
|
112
|
+
"city": "CHEK LAP KOK",
|
113
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
114
|
+
"country_name": "HK",
|
115
|
+
"message": "ARRIVAL SCAN",
|
116
|
+
"country_iso3": null,
|
117
|
+
"tag": "InTransit",
|
118
|
+
"checkpoint_time": "2014-11-12T09:24:00",
|
119
|
+
"coordinates": [
|
120
|
+
|
121
|
+
],
|
122
|
+
"state": null,
|
123
|
+
"zip": null
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"slug": "ups",
|
127
|
+
"city": "ANCHORAGE",
|
128
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
129
|
+
"country_name": "US",
|
130
|
+
"message": "ARRIVAL SCAN",
|
131
|
+
"country_iso3": null,
|
132
|
+
"tag": "InTransit",
|
133
|
+
"checkpoint_time": "2014-11-12T13:18:00",
|
134
|
+
"coordinates": [
|
135
|
+
|
136
|
+
],
|
137
|
+
"state": "AK",
|
138
|
+
"zip": null
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"slug": "ups",
|
142
|
+
"city": "ANCHORAGE",
|
143
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
144
|
+
"country_name": "US",
|
145
|
+
"message": "DEPARTURE SCAN",
|
146
|
+
"country_iso3": null,
|
147
|
+
"tag": "InTransit",
|
148
|
+
"checkpoint_time": "2014-11-12T15:31:00",
|
149
|
+
"coordinates": [
|
150
|
+
|
151
|
+
],
|
152
|
+
"state": "AK",
|
153
|
+
"zip": null
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"slug": "ups",
|
157
|
+
"city": "ONTARIO",
|
158
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
159
|
+
"country_name": "US",
|
160
|
+
"message": "ARRIVAL SCAN",
|
161
|
+
"country_iso3": null,
|
162
|
+
"tag": "InTransit",
|
163
|
+
"checkpoint_time": "2014-11-12T21:29:00",
|
164
|
+
"coordinates": [
|
165
|
+
|
166
|
+
],
|
167
|
+
"state": "CA",
|
168
|
+
"zip": null
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"slug": "ups",
|
172
|
+
"city": "CHEK LAP KOK",
|
173
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
174
|
+
"country_name": "HK",
|
175
|
+
"message": "DEPARTURE SCAN",
|
176
|
+
"country_iso3": null,
|
177
|
+
"tag": "InTransit",
|
178
|
+
"checkpoint_time": "2014-11-12T21:33:00",
|
179
|
+
"coordinates": [
|
180
|
+
|
181
|
+
],
|
182
|
+
"state": null,
|
183
|
+
"zip": null
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"slug": "ups",
|
187
|
+
"city": "ONTARIO",
|
188
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
189
|
+
"country_name": "US",
|
190
|
+
"message": "WAREHOUSE SCAN",
|
191
|
+
"country_iso3": null,
|
192
|
+
"tag": "InTransit",
|
193
|
+
"checkpoint_time": "2014-11-13T01:08:00",
|
194
|
+
"coordinates": [
|
195
|
+
|
196
|
+
],
|
197
|
+
"state": "CA",
|
198
|
+
"zip": null
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"slug": "ups",
|
202
|
+
"city": "LOUISVILLE",
|
203
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
204
|
+
"country_name": "US",
|
205
|
+
"message": "IMPORT SCAN",
|
206
|
+
"country_iso3": null,
|
207
|
+
"tag": "InTransit",
|
208
|
+
"checkpoint_time": "2014-11-18T14:24:00",
|
209
|
+
"coordinates": [
|
210
|
+
|
211
|
+
],
|
212
|
+
"state": "KY",
|
213
|
+
"zip": null
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"slug": "ups",
|
217
|
+
"city": "LOUISVILLE",
|
218
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
219
|
+
"country_name": "US",
|
220
|
+
"message": "IMPORT SCAN",
|
221
|
+
"country_iso3": null,
|
222
|
+
"tag": "InTransit",
|
223
|
+
"checkpoint_time": "2014-11-19T00:48:00",
|
224
|
+
"coordinates": [
|
225
|
+
|
226
|
+
],
|
227
|
+
"state": "KY",
|
228
|
+
"zip": null
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"slug": "ups",
|
232
|
+
"city": "LOUISVILLE",
|
233
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
234
|
+
"country_name": "US",
|
235
|
+
"message": "WAREHOUSE SCAN",
|
236
|
+
"country_iso3": null,
|
237
|
+
"tag": "InTransit",
|
238
|
+
"checkpoint_time": "2014-11-19T01:48:00",
|
239
|
+
"coordinates": [
|
240
|
+
|
241
|
+
],
|
242
|
+
"state": "KY",
|
243
|
+
"zip": null
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"slug": "ups",
|
247
|
+
"city": "LOUISVILLE",
|
248
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
249
|
+
"country_name": "US",
|
250
|
+
"message": "IMPORT SCAN",
|
251
|
+
"country_iso3": null,
|
252
|
+
"tag": "InTransit",
|
253
|
+
"checkpoint_time": "2014-11-19T02:54:00",
|
254
|
+
"coordinates": [
|
255
|
+
|
256
|
+
],
|
257
|
+
"state": "KY",
|
258
|
+
"zip": null
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"slug": "ups",
|
262
|
+
"city": null,
|
263
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
264
|
+
"country_name": "US",
|
265
|
+
"message": "WE'VE MISSED THE SCHEDULED TRANSFER TIME. THIS MAY CAUSE A DELAY. / YOUR DELIVERY HAS BEEN RESCHEDULED FOR THE NEXT BUSINESS DAY.",
|
266
|
+
"country_iso3": "USA",
|
267
|
+
"tag": "InTransit",
|
268
|
+
"checkpoint_time": "2014-11-19T05:24:00",
|
269
|
+
"coordinates": [
|
270
|
+
|
271
|
+
],
|
272
|
+
"state": null,
|
273
|
+
"zip": null
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"slug": "ups",
|
277
|
+
"city": "OAKLAND",
|
278
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
279
|
+
"country_name": "US",
|
280
|
+
"message": "DESTINATION SCAN",
|
281
|
+
"country_iso3": null,
|
282
|
+
"tag": "InTransit",
|
283
|
+
"checkpoint_time": "2014-11-19T06:34:00",
|
284
|
+
"coordinates": [
|
285
|
+
|
286
|
+
],
|
287
|
+
"state": "CA",
|
288
|
+
"zip": null
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"slug": "ups",
|
292
|
+
"city": "OAKLAND",
|
293
|
+
"created_at": "2014-11-19T22:12:32+00:00",
|
294
|
+
"country_name": "US",
|
295
|
+
"message": "OUT FOR DELIVERY",
|
296
|
+
"country_iso3": null,
|
297
|
+
"tag": "OutForDelivery",
|
298
|
+
"checkpoint_time": "2014-11-19T06:34:00",
|
299
|
+
"coordinates": [
|
300
|
+
|
301
|
+
],
|
302
|
+
"state": "CA",
|
303
|
+
"zip": null
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"slug": "ups",
|
307
|
+
"city": "OAKLAND",
|
308
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
309
|
+
"country_name": "US",
|
310
|
+
"message": "DEPARTURE SCAN",
|
311
|
+
"country_iso3": null,
|
312
|
+
"tag": "InTransit",
|
313
|
+
"checkpoint_time": "2014-11-19T07:02:00",
|
314
|
+
"coordinates": [
|
315
|
+
|
316
|
+
],
|
317
|
+
"state": "CA",
|
318
|
+
"zip": null
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"slug": "ups",
|
322
|
+
"city": "SAN FRANCISCO",
|
323
|
+
"created_at": "2014-11-19T19:46:01+00:00",
|
324
|
+
"country_name": "US",
|
325
|
+
"message": "ARRIVAL SCAN",
|
326
|
+
"country_iso3": null,
|
327
|
+
"tag": "InTransit",
|
328
|
+
"checkpoint_time": "2014-11-19T07:03:00",
|
329
|
+
"coordinates": [
|
330
|
+
|
331
|
+
],
|
332
|
+
"state": "CA",
|
333
|
+
"zip": null
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"slug": "ups",
|
337
|
+
"city": "LOUISVILLE",
|
338
|
+
"created_at": "2014-11-19T15:16:17+00:00",
|
339
|
+
"country_name": "US",
|
340
|
+
"message": "WE'VE LEFT THE PACKAGE IN OUR FACILITY. THIS MAY CAUSE AT LEAST ONE BUSINESS DAY DELAY. / YOUR DELIVERY HAS BEEN RESCHEDULED FOR THE NEXT BUSINESS DAY.",
|
341
|
+
"country_iso3": null,
|
342
|
+
"tag": "InTransit",
|
343
|
+
"checkpoint_time": "2014-11-19T07:30:00",
|
344
|
+
"coordinates": [
|
345
|
+
|
346
|
+
],
|
347
|
+
"state": "KY",
|
348
|
+
"zip": null
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"slug": "ups",
|
352
|
+
"city": "SAN FRANCISCO",
|
353
|
+
"created_at": "2014-11-19T19:46:01+00:00",
|
354
|
+
"country_name": "US",
|
355
|
+
"message": "OUT FOR DELIVERY",
|
356
|
+
"country_iso3": null,
|
357
|
+
"tag": "OutForDelivery",
|
358
|
+
"checkpoint_time": "2014-11-19T07:47:00",
|
359
|
+
"coordinates": [
|
360
|
+
|
361
|
+
],
|
362
|
+
"state": "CA",
|
363
|
+
"zip": null
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"slug": "ups",
|
367
|
+
"city": "SAN FRANCISCO",
|
368
|
+
"created_at": "2014-11-19T22:12:32+00:00",
|
369
|
+
"country_name": "US",
|
370
|
+
"message": "DELIVERED",
|
371
|
+
"country_iso3": null,
|
372
|
+
"tag": "Delivered",
|
373
|
+
"checkpoint_time": "2014-11-19T14:08:00",
|
374
|
+
"coordinates": [
|
375
|
+
|
376
|
+
],
|
377
|
+
"state": "CA",
|
378
|
+
"zip": "94110"
|
379
|
+
}
|
380
|
+
]
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"id": "5457a109bb8bce546b7abafa",
|
384
|
+
"created_at": "2014-11-03T15:36:41+00:00",
|
385
|
+
"updated_at": "2014-11-03T19:55:45+00:00",
|
386
|
+
"tracking_number": "1ZA2207X0444990982",
|
387
|
+
"tracking_account_number": null,
|
388
|
+
"tracking_postal_code": null,
|
389
|
+
"tracking_ship_date": null,
|
390
|
+
"slug": "ups",
|
391
|
+
"active": false,
|
392
|
+
"android": [
|
393
|
+
|
394
|
+
],
|
395
|
+
"custom_fields": {
|
396
|
+
},
|
397
|
+
"customer_name": null,
|
398
|
+
"delivery_time": 4,
|
399
|
+
"destination_country_iso3": "USA",
|
400
|
+
"emails": [
|
401
|
+
|
402
|
+
],
|
403
|
+
"expected_delivery": null,
|
404
|
+
"ios": [
|
405
|
+
|
406
|
+
],
|
407
|
+
"note": null,
|
408
|
+
"order_id": "PL-35210992",
|
409
|
+
"order_id_path": null,
|
410
|
+
"origin_country_iso3": "IND",
|
411
|
+
"shipment_package_count": 1,
|
412
|
+
"shipment_type": "UPS SAVER",
|
413
|
+
"shipment_weight": 1,
|
414
|
+
"shipment_weight_unit": "kg",
|
415
|
+
"signed_by": "A GUPTA (OFFICE)",
|
416
|
+
"smses": [
|
417
|
+
|
418
|
+
],
|
419
|
+
"source": "api",
|
420
|
+
"tag": "Delivered",
|
421
|
+
"title": "1ZA2207X0444990982",
|
422
|
+
"tracked_count": 3,
|
423
|
+
"unique_token": "bk6ysTW1U",
|
424
|
+
"checkpoints": [
|
425
|
+
{
|
426
|
+
"slug": "ups",
|
427
|
+
"city": null,
|
428
|
+
"created_at": "2014-11-03T15:36:41+00:00",
|
429
|
+
"country_name": "IN",
|
430
|
+
"message": "BILLING INFORMATION RECEIVED",
|
431
|
+
"country_iso3": "IND",
|
432
|
+
"tag": "InfoReceived",
|
433
|
+
"checkpoint_time": "2014-10-30T10:05:48",
|
434
|
+
"coordinates": [
|
435
|
+
|
436
|
+
],
|
437
|
+
"state": null,
|
438
|
+
"zip": null
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"slug": "ups",
|
442
|
+
"city": "MUMBAI",
|
443
|
+
"created_at": "2014-11-03T15:36:41+00:00",
|
444
|
+
"country_name": "IN",
|
445
|
+
"message": "PICKUP SCAN",
|
446
|
+
"country_iso3": null,
|
447
|
+
"tag": "InTransit",
|
448
|
+
"checkpoint_time": "2014-10-30T20:02:00",
|
449
|
+
"coordinates": [
|
450
|
+
|
451
|
+
],
|
452
|
+
"state": null,
|
453
|
+
"zip": null
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"slug": "ups",
|
457
|
+
"city": "MUMBAI",
|
458
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
459
|
+
"country_name": "IN",
|
460
|
+
"message": "ORIGIN SCAN",
|
461
|
+
"country_iso3": null,
|
462
|
+
"tag": "InTransit",
|
463
|
+
"checkpoint_time": "2014-10-31T02:54:00",
|
464
|
+
"coordinates": [
|
465
|
+
|
466
|
+
],
|
467
|
+
"state": null,
|
468
|
+
"zip": null
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"slug": "ups",
|
472
|
+
"city": "MUMBAI",
|
473
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
474
|
+
"country_name": "IN",
|
475
|
+
"message": "DEPARTURE SCAN",
|
476
|
+
"country_iso3": null,
|
477
|
+
"tag": "InTransit",
|
478
|
+
"checkpoint_time": "2014-10-31T05:45:00",
|
479
|
+
"coordinates": [
|
480
|
+
|
481
|
+
],
|
482
|
+
"state": null,
|
483
|
+
"zip": null
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"slug": "ups",
|
487
|
+
"city": "MUMBAI",
|
488
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
489
|
+
"country_name": "IN",
|
490
|
+
"message": "ARRIVAL SCAN",
|
491
|
+
"country_iso3": null,
|
492
|
+
"tag": "InTransit",
|
493
|
+
"checkpoint_time": "2014-10-31T06:01:00",
|
494
|
+
"coordinates": [
|
495
|
+
|
496
|
+
],
|
497
|
+
"state": null,
|
498
|
+
"zip": null
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"slug": "ups",
|
502
|
+
"city": "MUMBAI",
|
503
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
504
|
+
"country_name": "IN",
|
505
|
+
"message": "DEPARTURE SCAN",
|
506
|
+
"country_iso3": null,
|
507
|
+
"tag": "InTransit",
|
508
|
+
"checkpoint_time": "2014-10-31T16:55:00",
|
509
|
+
"coordinates": [
|
510
|
+
|
511
|
+
],
|
512
|
+
"state": null,
|
513
|
+
"zip": null
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"slug": "ups",
|
517
|
+
"city": null,
|
518
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
519
|
+
"country_name": "DE",
|
520
|
+
"message": "THE PACKAGE IS AWAITING CLEARING AGENCY REVIEW. / THE PACKAGE IS AT THE CLEARING AGENCY AWAITING FINAL RELEASE.",
|
521
|
+
"country_iso3": "DEU",
|
522
|
+
"tag": "InTransit",
|
523
|
+
"checkpoint_time": "2014-11-01T00:18:00",
|
524
|
+
"coordinates": [
|
525
|
+
|
526
|
+
],
|
527
|
+
"state": null,
|
528
|
+
"zip": null
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"slug": "ups",
|
532
|
+
"city": "KOELN (COLOGNE)",
|
533
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
534
|
+
"country_name": "DE",
|
535
|
+
"message": "DEPARTURE SCAN",
|
536
|
+
"country_iso3": null,
|
537
|
+
"tag": "InTransit",
|
538
|
+
"checkpoint_time": "2014-11-01T01:12:00",
|
539
|
+
"coordinates": [
|
540
|
+
|
541
|
+
],
|
542
|
+
"state": null,
|
543
|
+
"zip": null
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"slug": "ups",
|
547
|
+
"city": null,
|
548
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
549
|
+
"country_name": "DE",
|
550
|
+
"message": "THE PACKAGE IS AWAITING CLEARING AGENCY REVIEW. / YOUR PACKAGE WAS RELEASED BY THE CLEARING AGENCY.",
|
551
|
+
"country_iso3": "DEU",
|
552
|
+
"tag": "InTransit",
|
553
|
+
"checkpoint_time": "2014-11-02T08:17:00",
|
554
|
+
"coordinates": [
|
555
|
+
|
556
|
+
],
|
557
|
+
"state": null,
|
558
|
+
"zip": null
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"slug": "ups",
|
562
|
+
"city": "LOUISVILLE",
|
563
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
564
|
+
"country_name": "US",
|
565
|
+
"message": "IMPORT SCAN",
|
566
|
+
"country_iso3": null,
|
567
|
+
"tag": "InTransit",
|
568
|
+
"checkpoint_time": "2014-11-02T11:44:00",
|
569
|
+
"coordinates": [
|
570
|
+
|
571
|
+
],
|
572
|
+
"state": "KY",
|
573
|
+
"zip": null
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"slug": "ups",
|
577
|
+
"city": "LOUISVILLE",
|
578
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
579
|
+
"country_name": "US",
|
580
|
+
"message": "DEPARTURE SCAN",
|
581
|
+
"country_iso3": null,
|
582
|
+
"tag": "InTransit",
|
583
|
+
"checkpoint_time": "2014-11-02T15:45:00",
|
584
|
+
"coordinates": [
|
585
|
+
|
586
|
+
],
|
587
|
+
"state": "KY",
|
588
|
+
"zip": null
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"slug": "ups",
|
592
|
+
"city": "OAKLAND",
|
593
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
594
|
+
"country_name": "US",
|
595
|
+
"message": "ARRIVAL SCAN",
|
596
|
+
"country_iso3": null,
|
597
|
+
"tag": "InTransit",
|
598
|
+
"checkpoint_time": "2014-11-02T17:20:00",
|
599
|
+
"coordinates": [
|
600
|
+
|
601
|
+
],
|
602
|
+
"state": "CA",
|
603
|
+
"zip": null
|
604
|
+
},
|
605
|
+
{
|
606
|
+
"slug": "ups",
|
607
|
+
"city": "OAKLAND",
|
608
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
609
|
+
"country_name": "US",
|
610
|
+
"message": "DEPARTURE SCAN",
|
611
|
+
"country_iso3": null,
|
612
|
+
"tag": "InTransit",
|
613
|
+
"checkpoint_time": "2014-11-03T03:22:00",
|
614
|
+
"coordinates": [
|
615
|
+
|
616
|
+
],
|
617
|
+
"state": "CA",
|
618
|
+
"zip": null
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"slug": "ups",
|
622
|
+
"city": "SAN FRANCISCO",
|
623
|
+
"created_at": "2014-11-03T15:36:42+00:00",
|
624
|
+
"country_name": "US",
|
625
|
+
"message": "OUT FOR DELIVERY",
|
626
|
+
"country_iso3": null,
|
627
|
+
"tag": "OutForDelivery",
|
628
|
+
"checkpoint_time": "2014-11-03T06:20:00",
|
629
|
+
"coordinates": [
|
630
|
+
|
631
|
+
],
|
632
|
+
"state": "CA",
|
633
|
+
"zip": null
|
634
|
+
},
|
635
|
+
{
|
636
|
+
"slug": "ups",
|
637
|
+
"city": "SAN FRANCISCO",
|
638
|
+
"created_at": "2014-11-03T19:55:45+00:00",
|
639
|
+
"country_name": "US",
|
640
|
+
"message": "DELIVERED",
|
641
|
+
"country_iso3": null,
|
642
|
+
"tag": "Delivered",
|
643
|
+
"checkpoint_time": "2014-11-03T09:56:00",
|
644
|
+
"coordinates": [
|
645
|
+
|
646
|
+
],
|
647
|
+
"state": "CA",
|
648
|
+
"zip": "94110"
|
649
|
+
}
|
650
|
+
]
|
651
|
+
}
|
652
|
+
]
|
653
|
+
}
|
654
|
+
}
|