Get Order Timeline
Get order timeline by order_handle ### Planning failure reasons When an order is left unplanned by automated planning, `planning_failure_reason` may contain one of these values: - `No Worker was available for this plan.` - `No Worker schedule overlaps with this order's time window.` - `This order is outside the available Worker working hours.` - `Worker location is unavailable, so travel time could not be evaluated.` - `Worker start location is unavailable for the configured route start setting.` - `No Worker supports the required product type for this order.` - `Route was being modified concurrently and this order needs to be re-planned.` - `The optimizer dropped this order to satisfy planning constraints for the overall plan.` - `The optimizer could not find a feasible plan for the provided constraints.` - `Travel time calculation failed for this planning attempt.` - `Ops group configuration is incomplete for automated planning.` - `Assigning this order would exceed route or Worker capacity.` - `No Worker can reach this order before scheduled_at.` - `Assigning this order would delay an already planned downstream order.` - `Assigning this order would exceed the Worker's shift end time.` - `Automated planning could not assign this order with the provided constraints.`
Get order timeline by order_handle
Planning failure reasons
When an order is left unplanned by automated planning, planning_failure_reason may contain one of these values:
No Worker was available for this plan.No Worker schedule overlaps with this order's time window.This order is outside the available Worker working hours.Worker location is unavailable, so travel time could not be evaluated.Worker start location is unavailable for the configured route start setting.No Worker supports the required product type for this order.Route was being modified concurrently and this order needs to be re-planned.The optimizer dropped this order to satisfy planning constraints for the overall plan.The optimizer could not find a feasible plan for the provided constraints.Travel time calculation failed for this planning attempt.Ops group configuration is incomplete for automated planning.Assigning this order would exceed route or Worker capacity.No Worker can reach this order before scheduled_at.Assigning this order would delay an already planned downstream order.Assigning this order would exceed the Worker's shift end time.Automated planning could not assign this order with the provided constraints.
In: header
Path Parameters
Query Parameters
Number identifying the attempt count for the order
Flag to fetch only data related to on-shift.
ISO 8601 datetime indicating the start time to be used for fetching order timeline
ISO 8601 datetime indicating the end time to be used for fetching order timeline
Flag to allow mocked events in the response
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/orders/string"{ "order_handle": "order-1", "fulfillment_attempt": 0, "status": "completed", "destination": { "geometry": { "type": "Point", "coordinates": [ -118.311286, 34.0696579 ] }, "address": "250 S St Andrews Pl, Los Angeles, CA 90004,US ", "radius": 100 }, "ops_group_handle": "store-la", "track_mode": "on_time", "plan_mode": "scheduled", "risk_status": true, "risks": { "moving_away_from_destination": "red", "is_offline": "green", "delayed_from_scheduled_at": "green", "deviating_from_expected_route": "yellow", "in_outage": "green", "moving_too_slow": "green", "delayed_from_initial_eta": "green", "in_low_battery": "green" }, "scheduled_at": "2023-10-24T03:00:00.000Z", "started_at": "2023-10-23T21:30:46.980Z", "arrived_at": "2023-10-23T21:53:05.585Z", "type": "drop", "type_index": 0, "expected_service_time": 0, "actual_service_time": 10119, "tracked_service_time": 9998, "capacity_used": 1, "metadata": { "cancellation_options": [ "Cancelled order", "Other" ], "reschedule_options": [ "No access/gate code", "Customer not responsive", "Other" ], "completion_options": [ "Handed to customer" ], "vendorName": "Macys", "customerName": "John" }, "region": { "country": "United States", "city": "Los Angeles", "state": "California" }, "share_url": "https://trck.at/3ir0a9j6nX", "completed_at": "2023-10-23T23:21:04.653Z", "device_id": "2F659D4D-B524-45F0-A6E2-093CF2BB5574", "worker_handle": "james@ht.com", "created_at": "2023-10-23T19:09:27.904Z", "assigned_at": "2023-10-23T19:25:15.604Z", "route_handle": "8c167253-3a4f-4f3c-95a4-4192a22f55d4", "plan_id": "c3309b8f-759c-4dbb-94tf-d3b09ee5hfa7", "distance": 5295, "duration": 1432, "tracking_rate": 0.99, "polyline": { "type": "LineString", "coordinates": [ [ -118.35453, 34.063622, 21.9, "2023-10-23T22:58:24.730Z" ], [ -118.35453, 34.063622, 21.9, "2023-10-23T22:58:39.796Z" ], [ -118.354519, 34.063603, 22.1, "2023-10-23T22:58:43.028Z" ], [ -118.354519, 34.063603, 22.1, "2023-10-23T22:58:48.250Z" ], [ -118.354518, 34.063605, 22.1, "2023-10-23T22:58:48.251Z" ], [ -118.354635, 34.06361, 22.1, "2023-10-23T22:58:48.407Z" ], [ -118.354635, 34.06361, 22.1, "2023-10-23T22:59:08.931Z" ], [ -118.35464, 34.06361, 22.1, "2023-10-23T22:59:08.931Z" ], [ -118.354635, 34.06362, 22.1, "2023-10-23T22:59:08.932Z" ], [ -118.354646, 34.064719, 22.1, "2023-10-23T22:59:12.048Z" ], [ -118.354646, 34.064719, 22.1, "2023-10-23T22:59:14.189Z" ], [ -118.354572, 34.064717, 22.1, "2023-10-23T22:59:14.190Z" ], [ -118.354647, 34.064739, 22.1, "2023-10-23T22:59:14.229Z" ], [ -118.354649, 34.064749, 22.1, "2023-10-23T22:59:24.259Z" ], [ -118.354649, 34.064749, 22.1, "2023-10-23T22:59:26.583Z" ], [ -118.35459, 34.064765, 22.1, "2023-10-23T22:59:26.584Z" ], [ -118.354654, 34.064769, 22.1, "2023-10-23T22:59:26.705Z" ], [ -118.354658, 34.064785, 22.1, "2023-10-23T22:59:36.749Z" ], [ -118.35468, 34.06488, 22.1, "2023-10-23T22:59:37.740Z" ], [ -118.3545, 34.064883, 22.1, "2023-10-23T22:59:39.030Z" ], [ -118.35436, 34.064882, 22.1, "2023-10-23T22:59:41.050Z" ], [ -118.35414, 34.064882, 23.75, "2023-10-23T22:59:43.040Z" ], [ -118.35388, 34.064882, 25.28, "2023-10-23T22:59:45.028Z" ], [ -118.3536, 34.064882, 26.29, "2023-10-23T22:59:47.030Z" ], [ -118.3536, 34.064882, 26.29, "2023-10-23T22:59:48.546Z" ], [ -118.35312, 34.064882, 29.1, "2023-10-23T22:59:50.768Z" ], [ -118.35238, 34.064877, 29.1, "2023-10-23T22:59:55.023Z" ], [ -118.35172, 34.064884, 26.2, "2023-10-23T23:00:01.030Z" ], [ -118.35172, 34.064884, 26.2, "2023-10-23T23:00:11.948Z" ], [ -118.3517, 34.064884, 25.11, "2023-10-23T23:00:11.949Z" ], [ -118.35169, 34.064884, 25.11, "2023-10-23T23:00:12.067Z" ], [ -118.35169, 34.064887, 25.11, "2023-10-23T23:00:32.139Z" ], [ -118.351659, 34.064887, 25.11, "2023-10-23T23:00:32.140Z" ], [ -118.35117, 34.064885, 29.1, "2023-10-23T23:00:35.044Z" ], [ -118.35076, 34.064884, 29.1, "2023-10-23T23:00:38.036Z" ], [ -118.350489, 34.064887, 29.1, "2023-10-23T23:00:40.039Z" ], [ -118.350489, 34.064887, 29.1, "2023-10-23T23:00:40.281Z" ], [ -118.35029, 34.064885, 29.1, "2023-10-23T23:00:41.479Z" ], [ -118.34963, 34.06489, 29.1, "2023-10-23T23:00:46.038Z" ], [ -118.34901, 34.064891, 31.09, "2023-10-23T23:00:50.041Z" ], [ -118.34841, 34.064888, 31.73, "2023-10-23T23:00:54.020Z" ], [ -118.34777, 34.064892, 32.81, "2023-10-23T23:00:58.029Z" ], [ -118.34743, 34.064894, 29.1, "2023-10-23T23:01:11.609Z" ], [ -118.347427, 34.06489, 29.1, "2023-10-23T23:01:17.449Z" ], [ -118.347426, 34.064892, 29.1, "2023-10-23T23:01:17.450Z" ], [ -118.34743, 34.064894, 29.1, "2023-10-23T23:01:17.594Z" ], [ -118.347426, 34.064892, 29.1, "2023-10-23T23:01:36.601Z" ], [ -118.347423, 34.064895, 29.1, "2023-10-23T23:01:36.602Z" ], [ -118.347236, 34.064896, 26.7, "2023-10-23T23:01:40.036Z" ], [ -118.347409, 34.064888, 26.7, "2023-10-23T23:01:43.175Z" ], [ -118.347417, 34.064895, 26.7, "2023-10-23T23:01:43.176Z" ], [ -118.347236, 34.06494, 26.7, "2023-10-23T23:01:45.416Z" ], [ -118.347234, 34.06539, 26.7, "2023-10-23T23:01:54.040Z" ], [ -118.347236, 34.06599, 29.1, "2023-10-23T23:02:02.027Z" ], [ -118.347241, 34.06658, 29.1, "2023-10-23T23:02:08.044Z" ], [ -118.347244, 34.06712, 29.64, "2023-10-23T23:02:22.045Z" ], [ -118.347244, 34.06778, 33.41, "2023-10-23T23:02:28.036Z" ], [ -118.347245, 34.06826, 32.93, "2023-10-23T23:02:32.061Z" ], [ -118.347243, 34.06882, 32.2, "2023-10-23T23:02:38.032Z" ], [ -118.34724, 34.06918, 32.2, "2023-10-23T23:02:42.591Z" ], [ -118.346557, 34.069061, 34.65, "2023-10-23T23:02:50.039Z" ], [ -118.345868, 34.068937, 34.05, "2023-10-23T23:02:56.173Z" ], [ -118.345389, 34.068888, 31.6, "2023-10-23T23:03:14.062Z" ], [ -118.34521, 34.068889, 31.6, "2023-10-23T23:03:29.090Z" ], [ -118.34464, 34.068894, 34.17, "2023-10-23T23:03:34.041Z" ], [ -118.34401, 34.0689, 34.09, "2023-10-23T23:03:40.027Z" ], [ -118.34331, 34.0689, 35.43, "2023-10-23T23:03:46.046Z" ], [ -118.34276, 34.068896, 36.75, "2023-10-23T23:03:50.034Z" ], [ -118.34213, 34.068898, 37.27, "2023-10-23T23:03:54.021Z" ], [ -118.34146, 34.068899, 36.99, "2023-10-23T23:03:58.045Z" ], [ -118.34084, 34.068901, 37.53, "2023-10-23T23:04:02.049Z" ], [ -118.34029, 34.068902, 37.36, "2023-10-23T23:04:06.046Z" ], [ -118.33943, 34.06891, 38.74, "2023-10-23T23:04:13.041Z" ], [ -118.338801, 34.068916, 37.16, "2023-10-23T23:04:19.028Z" ], [ -118.338831, 34.068916, 36.4, "2023-10-23T23:04:29.345Z" ], [ -118.338831, 34.068916, 36.4, "2023-10-23T23:04:44.392Z" ], [ -118.338826, 34.06887, 36.4, "2023-10-23T23:04:46.287Z" ], [ -118.338826, 34.06887, 36.4, "2023-10-23T23:04:46.288Z" ], [ -118.338831, 34.068916, 36.4, "2023-10-23T23:04:46.317Z" ], [ -118.338826, 34.06887, 36.4, "2023-10-23T23:05:06.529Z" ], [ -118.338826, 34.06887, 36.4, "2023-10-23T23:05:06.530Z" ], [ -118.33807, 34.068919, 40.11, "2023-10-23T23:05:09.022Z" ], [ -118.33735, 34.068923, 41.26, "2023-10-23T23:05:14.020Z" ], [ -118.33664, 34.068924, 42.12, "2023-10-23T23:05:18.038Z" ], [ -118.335941, 34.068928, 42.23, "2023-10-23T23:05:22.018Z" ], [ -118.33519, 34.068931, 42.13, "2023-10-23T23:05:26.039Z" ], [ -118.33441, 34.06893, 43.46, "2023-10-23T23:05:30.034Z" ], [ -118.333631, 34.068932, 42.05, "2023-10-23T23:05:34.038Z" ], [ -118.33284, 34.06893, 42.08, "2023-10-23T23:05:38.038Z" ], [ -118.33206, 34.068929, 41.81, "2023-10-23T23:05:42.041Z" ], [ -118.33124, 34.068931, 42.51, "2023-10-23T23:05:46.021Z" ], [ -118.33043, 34.068934, 43.69, "2023-10-23T23:05:50.019Z" ], [ -118.32974, 34.068933, 43.81, "2023-10-23T23:05:54.036Z" ], [ -118.32915, 34.068933, 38.44, "2023-10-23T23:06:02.027Z" ], [ -118.32902, 34.068934, 36.7, "2023-10-23T23:06:12.534Z" ], [ -118.328371, 34.068941, 36.7, "2023-10-23T23:06:24.026Z" ], [ -118.32808, 34.068943, 36.7, "2023-10-23T23:06:38.569Z" ], [ -118.32808, 34.068943, 36.7, "2023-10-23T23:06:43.347Z" ], [ -118.32807, 34.068943, 36.8, "2023-10-23T23:06:43.348Z" ], [ -118.32804, 34.068944, 36.8, "2023-10-23T23:06:45.577Z" ], [ -118.32804, 34.068944, 36.8, "2023-10-23T23:06:53.355Z" ], [ -118.328039, 34.068918, 36.8, "2023-10-23T23:06:53.356Z" ], [ -118.32804, 34.068944, 36.8, "2023-10-23T23:06:53.372Z" ], [ -118.32804, 34.068944, 36.8, "2023-10-23T23:07:04.773Z" ], [ -118.32804, 34.06894, 36.8, "2023-10-23T23:07:04.773Z" ], [ -118.32804, 34.068944, 36.8, "2023-10-23T23:07:04.774Z" ], [ -118.32655, 34.068954, 37, "2023-10-23T23:07:19.179Z" ], [ -118.32628, 34.068954, 37, "2023-10-23T23:07:29.693Z" ], [ -118.32621, 34.068954, 37, "2023-10-23T23:07:44.737Z" ], [ -118.325541, 34.068956, 37, "2023-10-23T23:07:54.036Z" ], [ -118.32498, 34.068962, 38.8, "2023-10-23T23:07:58.023Z" ], [ -118.324331, 34.06896, 39.61, "2023-10-23T23:08:02.040Z" ], [ -118.32369, 34.068958, 37, "2023-10-23T23:08:06.022Z" ], [ -118.323079, 34.068949, 40.22, "2023-10-23T23:08:10.051Z" ], [ -118.322291, 34.068956, 43.73, "2023-10-23T23:08:14.023Z" ], [ -118.32147, 34.068966, 44.87, "2023-10-23T23:08:18.039Z" ], [ -118.32061, 34.068961, 46.39, "2023-10-23T23:08:22.023Z" ], [ -118.31984, 34.068959, 44.43, "2023-10-23T23:08:26.039Z" ], [ -118.31927, 34.068962, 40.9, "2023-10-23T23:08:30.037Z" ], [ -118.31866, 34.068966, 36.1, "2023-10-23T23:08:42.038Z" ], [ -118.31796, 34.068966, 36.1, "2023-10-23T23:08:48.056Z" ], [ -118.31726, 34.068966, 36.1, "2023-10-23T23:08:54.042Z" ], [ -118.31663, 34.068968, 33.51, "2023-10-23T23:09:04.060Z" ], [ -118.31609, 34.068966, 34.06, "2023-10-23T23:09:10.044Z" ], [ -118.31549, 34.068968, 33.18, "2023-10-23T23:09:19.056Z" ], [ -118.315489, 34.068947, 33.18, "2023-10-23T23:09:19.056Z" ], [ -118.315387, 34.068944, 32.94, "2023-10-23T23:09:35.126Z" ], [ -118.315387, 34.068944, 32.94, "2023-10-23T23:09:39.199Z" ], [ -118.315388, 34.068944, 32.86, "2023-10-23T23:09:39.200Z" ], [ -118.315389, 34.068943, 32.86, "2023-10-23T23:09:39.299Z" ], [ -118.315389, 34.068943, 32.86, "2023-10-23T23:09:57.640Z" ], [ -118.315394, 34.068938, 34.8, "2023-10-23T23:09:57.641Z" ], [ -118.315387, 34.068939, 34.8, "2023-10-23T23:09:58.030Z" ], [ -118.315328, 34.068956, 33.1, "2023-10-23T23:10:08.049Z" ], [ -118.3147, 34.068969, 33.1, "2023-10-23T23:10:17.047Z" ], [ -118.3147, 34.068969, 33.1, "2023-10-23T23:10:30.185Z" ], [ -118.31448, 34.068973, 33.1, "2023-10-23T23:10:30.186Z" ], [ -118.31448, 34.068973, 33.1, "2023-10-23T23:10:31.049Z" ], [ -118.31448, 34.068973, 33.1, "2023-10-23T23:10:38.555Z" ], [ -118.31448, 34.06897, 33.1, "2023-10-23T23:10:38.555Z" ], [ -118.314482, 34.068959, 33.1, "2023-10-23T23:10:38.556Z" ], [ -118.31448, 34.068973, 33.1, "2023-10-23T23:10:38.675Z" ], [ -118.31448, 34.068973, 33.1, "2023-10-23T23:11:29.146Z" ], [ -118.31448, 34.06897, 33.1, "2023-10-23T23:11:29.146Z" ], [ -118.31448, 34.068973, 32.6, "2023-10-23T23:11:29.147Z" ], [ -118.3139, 34.068972, 34.8, "2023-10-23T23:11:31.337Z" ], [ -118.31315, 34.068979, 34.8, "2023-10-23T23:11:36.044Z" ], [ -118.31249, 34.068982, 34.8, "2023-10-23T23:11:40.025Z" ], [ -118.31178, 34.068976, 34.8, "2023-10-23T23:11:46.040Z" ], [ -118.31115, 34.068965, 36.77, "2023-10-23T23:11:52.037Z" ], [ -118.31059, 34.068961, 34.8, "2023-10-23T23:12:00.048Z" ], [ -118.31038, 34.06896, 34.8, "2023-10-23T23:12:04.849Z" ], [ -118.310385, 34.06921, 35.9, "2023-10-23T23:12:11.532Z" ], [ -118.310388, 34.06985, 38.59, "2023-10-23T23:12:16.044Z" ], [ -118.310391, 34.07044, 39.11, "2023-10-23T23:12:22.032Z" ], [ -118.310394, 34.07098, 39.52, "2023-10-23T23:12:28.041Z" ], [ -118.3104, 34.07114, 39.52, "2023-10-23T23:12:31.381Z" ], [ -118.31091, 34.071139, 40.5, "2023-10-23T23:12:40.042Z" ], [ -118.31145, 34.071139, 35.9, "2023-10-23T23:12:50.062Z" ], [ -118.31163, 34.07114, 35.9, "2023-10-23T23:12:54.551Z" ], [ -118.311629, 34.07075, 35.9, "2023-10-23T23:13:06.042Z" ], [ -118.311628, 34.07048, 35.9, "2023-10-23T23:13:16.847Z" ], [ -118.311677, 34.06973, 35.7, "2023-10-23T23:13:26.032Z" ], [ -118.311673, 34.069433, 36.2, "2023-10-23T23:13:26.032Z" ], [ -118.311673, 34.069433, 36.2, "2023-10-23T23:16:22.028Z" ], [ -118.311673, 34.069433, 36.2, "2023-10-23T23:16:26.040Z" ], [ -118.311668, 34.069423, 36.2, "2023-10-23T23:16:26.058Z" ], [ -118.311668, 34.069423, 36.2, "2023-10-23T23:16:46.796Z" ], [ -118.31166, 34.069407, 36.2, "2023-10-23T23:16:46.797Z" ], [ -118.311658, 34.069402, 35.7, "2023-10-23T23:16:50.068Z" ], [ -118.311658, 34.069402, 35.7, "2023-10-23T23:16:50.170Z" ], [ -118.311658, 34.069404, 35.7, "2023-10-23T23:16:52.397Z" ], [ -118.311658, 34.069404, 35.7, "2023-10-23T23:16:54.183Z" ], [ -118.311656, 34.069408, 35.7, "2023-10-23T23:16:54.184Z" ], [ -118.311658, 34.069404, 35.7, "2023-10-23T23:16:54.390Z" ], [ -118.311658, 34.069404, 35.7, "2023-10-23T23:17:04.097Z" ], [ -118.311657, 34.069404, 35.7, "2023-10-23T23:17:04.098Z" ], [ -118.311656, 34.069405, 35.7, "2023-10-23T23:17:04.572Z" ], [ -118.311656, 34.069405, 35.7, "2023-10-23T23:17:41.784Z" ], [ -118.311656, 34.069405, 35.7, "2023-10-23T23:17:52.747Z" ], [ -118.311665, 34.069416, 35.7, "2023-10-23T23:17:56.043Z" ], [ -118.311665, 34.069416, 35.7, "2023-10-23T23:17:56.197Z" ], [ -118.311665, 34.069416, 35.7, "2023-10-23T23:17:56.198Z" ], [ -118.311666, 34.069419, 35.7, "2023-10-23T23:17:58.409Z" ], [ -118.311666, 34.069412, 35.7, "2023-10-23T23:18:08.457Z" ], [ -118.311666, 34.069412, 35.7, "2023-10-23T23:18:08.683Z" ], [ -118.311666, 34.069411, 35.7, "2023-10-23T23:18:10.893Z" ], [ -118.311666, 34.069411, 35.7, "2023-10-23T23:18:13.150Z" ], [ -118.311666, 34.069411, 35.7, "2023-10-23T23:18:13.151Z" ], [ -118.311667, 34.069409, 35.7, "2023-10-23T23:18:15.382Z" ], [ -118.311667, 34.069409, 35.7, "2023-10-23T23:18:18.199Z" ], [ -118.311667, 34.069409, 35.7, "2023-10-23T23:18:18.200Z" ], [ -118.311666, 34.06941, 35.7, "2023-10-23T23:18:20.440Z" ], [ -118.311666, 34.06941, 35.7, "2023-10-23T23:19:20.739Z" ], [ -118.311665, 34.069412, 35.7, "2023-10-23T23:19:20.740Z" ], [ -118.311597, 34.069639, 35.7, "2023-10-23T23:19:24.043Z" ], [ -118.311597, 34.069639, 35.7, "2023-10-23T23:19:24.211Z" ], [ -118.311597, 34.069639, 35.7, "2023-10-23T23:19:24.212Z" ], [ -118.311612, 34.069586, 35.7, "2023-10-23T23:19:27.042Z" ], [ -118.311576, 34.069543, 35.7, "2023-10-23T23:19:37.085Z" ], [ -118.311576, 34.069543, 35.7, "2023-10-23T23:19:39.643Z" ], [ -118.31157, 34.069545, 35.7, "2023-10-23T23:19:39.644Z" ], [ -118.311569, 34.069546, 35.7, "2023-10-23T23:19:39.778Z" ], [ -118.311569, 34.069546, 35.7, "2023-10-23T23:19:52.454Z" ], [ -118.311572, 34.06961, 35.7, "2023-10-23T23:19:52.455Z" ], [ -118.311571, 34.069622, 35.7, "2023-10-23T23:19:54.673Z" ], [ -118.311548, 34.069634, 35.7, "2023-10-23T23:20:04.701Z" ], [ -118.311548, 34.069634, 35.7, "2023-10-23T23:20:05.251Z" ], [ -118.311549, 34.069635, 35.7, "2023-10-23T23:20:05.252Z" ], [ -118.31155, 34.069636, 35.7, "2023-10-23T23:20:05.471Z" ], [ -118.31155, 34.069636, 35.7, "2023-10-23T23:20:20.389Z" ], [ -118.311554, 34.069639, 35.7, "2023-10-23T23:20:20.390Z" ], [ -118.311567, 34.070041, 36, "2023-10-23T23:20:24.033Z" ], [ -118.311607, 34.070519, 36, "2023-10-23T23:20:29.034Z" ], [ -118.311585, 34.070816, 36, "2023-10-23T23:20:31.031Z" ], [ -118.311593, 34.070936, 36, "2023-10-23T23:20:33.028Z" ], [ -118.311607, 34.071022, 36, "2023-10-23T23:20:44.135Z" ], [ -118.311607, 34.071022, 36, "2023-10-23T23:20:48.914Z" ], [ -118.31161, 34.071031, 36, "2023-10-23T23:20:48.915Z" ], [ -118.311613, 34.071039, 37.5, "2023-10-23T23:20:51.178Z" ] ] }, "start_location": { "type": "Point", "coordinates": [ -118.35453, 34.063622 ] }, "end_location": { "type": "Point", "coordinates": [ -118.311613, 34.071039 ] }, "visited_destination": true, "completed_at_destination": false, "deviation_from_destination": 156, "checkin": [ { "geometry": { "type": "Point", "coordinates": [ -118.35453, 34.063622 ] }, "score": 1, "timestamp": "2023-10-23T22:58:24.730Z" }, { "geometry": { "type": "Point", "coordinates": [ -118.311677, 34.06973 ] }, "score": 1, "timestamp": "2023-10-23T23:13:26.032Z" } ], "service_area": [ { "geometry": { "type": "Polygon", "coordinates": [ [ [ -118.35432319371859, 34.063418626669126 ], [ -118.35423026516654, 34.06348949068416 ], [ -118.35425579272142, 34.06359003560771 ], [ -118.35416286395404, 34.06366089955227 ], [ -118.3541883914956, 34.06376144439763 ], [ -118.35430684795999, 34.063791125230274 ], [ -118.35433237564362, 34.06389166992927 ], [ -118.35445083220353, 34.063921350555056 ], [ -118.35454376087782, 34.063850486489535 ], [ -118.35466221733132, 34.06388016691616 ], [ -118.35475514574374, 34.063809302719655 ], [ -118.35472961774923, 34.063708758157034 ], [ -118.3548225459463, 34.06363789389004 ], [ -118.35479701793845, 34.06353734924923 ], [ -118.35467856188895, 34.063507668807205 ], [ -118.35465303402317, 34.063407124020024 ], [ -118.3545345780692, 34.063377443371145 ], [ -118.35444164977902, 34.06344830751716 ], [ -118.35432319371859, 34.063418626669126 ] ] ] }, "time_spent": 23 }, { "geometry": { "type": "Polygon", "coordinates": [ [ [ -118.31135953961919, 34.069406617863066 ], [ -118.3112665598661, 34.06947745565891 ], [ -118.31129205526649, 34.06957801591689 ], [ -118.31119907529805, 34.06964885364192 ], [ -118.31122457068491, 34.06974941382162 ], [ -118.31134304619592, 34.06977913620829 ], [ -118.31136854172493, 34.06987969624172 ], [ -118.31148701733193, 34.069909418421624 ], [ -118.31157999720804, 34.06983858057556 ], [ -118.31169847270921, 34.06986830255615 ], [ -118.31179145232383, 34.06979746457877 ], [ -118.31176595648346, 34.06969690468131 ], [ -118.3118589358827, 34.06962606663312 ], [ -118.31183344002879, 34.069525506657364 ], [ -118.31192641921268, 34.06945466853837 ], [ -118.31190092334528, 34.06935410848435 ], [ -118.31178244844959, 34.06932438648134 ], [ -118.31175695272435, 34.06922382628105 ], [ -118.31163847792467, 34.06919410407128 ], [ -118.31154549864847, 34.069264942069246 ], [ -118.31142702374301, 34.06923521966017 ], [ -118.31133404420525, 34.06930605752684 ], [ -118.31135953961919, 34.069406617863066 ] ] ] }, "time_spent": 418 }, { "geometry": { "type": "Polygon", "coordinates": [ [ [ -118.31153051867214, 34.07095613013976 ], [ -118.31143753781154, 34.07102696775276 ], [ -118.31146303369948, 34.07112752695597 ], [ -118.31158151060372, 34.071157248478194 ], [ -118.31167449141816, 34.07108641080468 ], [ -118.31164899537453, 34.07098585166944 ], [ -118.31174197597362, 34.07091501392512 ], [ -118.31171647991647, 34.070814454711595 ], [ -118.31159800341594, 34.07078473317442 ], [ -118.31150502277067, 34.07085557085826 ], [ -118.31153051867214, 34.07095613013976 ] ] ] }, "time_spent": 20 }, { "geometry": { "type": "Polygon", "coordinates": [ [ [ -118.31537711417998, 34.06862536634444 ], [ -118.31528413939579, 34.06869620663504 ], [ -118.31516566619378, 34.068666487820714 ], [ -118.31507269114803, 34.068737327980024 ], [ -118.31509818935052, 34.06883788701418 ], [ -118.31500521408945, 34.06890872710273 ], [ -118.31503071227843, 34.06900928605861 ], [ -118.31514918588415, 34.06903900485796 ], [ -118.31517468421532, 34.06913956366758 ], [ -118.31529315791698, 34.069169282260155 ], [ -118.31538613308572, 34.06909844205061 ], [ -118.31550460668154, 34.06912816044389 ], [ -118.31559758158868, 34.06905732010303 ], [ -118.31557208294623, 34.06895676142941 ], [ -118.31566505763804, 34.068885921017795 ], [ -118.31563955898207, 34.068785362265906 ], [ -118.31552108578995, 34.06875564385763 ], [ -118.31549558727615, 34.068655084959474 ], [ -118.31537711417998, 34.06862536634444 ] ] ] }, "time_spent": 48 } ], "parking": [ { "geometry": { "type": "Point", "coordinates": [ -118.315489, 34.068947 ] }, "score": 1, "timestamp": "2023-10-23T23:09:19.056Z" }, { "geometry": { "type": "Point", "coordinates": [ -118.311677, 34.06973 ] }, "score": 1, "timestamp": "2023-10-23T23:13:26.032Z" } ], "timeline": [ { "type": "order_created", "recorded_at": "2023-10-23T19:09:27.904Z", "order_handle": "order-1", "metadata": { "address": "250 S St Andrews Pl, Los Angeles, CA 90004,US ", "orderId": "223344", "cancellation_options": [ "Cancelled order", "Other" ], "reschedule_options": [ "No access/gate code", "Customer not responsive", "Other" ], "completion_options": [ "Handed to customer" ], "vendorName": "Macys", "customerName": "John" } }, { "type": "order_assigned", "recorded_at": "2023-10-23T19:25:15.604Z", "order_handle": "order-1", "driver_handle": "james@ht.com", "fulfillment_attempt": 0 }, { "type": "order_started", "recorded_at": "2023-10-23T21:30:46.980Z", "order_handle": "order-1", "route_handle": "8c167253-3a4f-4f3c-95a4-4192a22f55d4", "order_type": "drop", "fulfillment_attempt": 0 }, { "type": "driver_activity_started", "recorded_at": "2023-10-23T22:57:11.631Z", "driver_handle": null, "activity": "stop", "location": { "recorded_at": "2023-10-23T22:58:24.730Z", "geometry": { "type": "Point", "coordinates": [ -118.35453, 34.063622 ] } }, "address": "One Museum Square, 640, South Curson Avenue, Miracle Mile, Mid-Wilshire, Los Angeles, Los Angeles County, California, 90036, United States" }, { "type": "driver_activity_ended", "recorded_at": "2023-10-23T22:58:39.796Z", "driver_handle": null, "activity": "stop", "location": { "recorded_at": "2023-10-23T22:58:39.796Z", "geometry": { "type": "Point", "coordinates": [ -118.35453, 34.063622 ] } }, "distance": null, "duration": 88, "steps": 0 }, { "type": "driver_activity_started", "recorded_at": "2023-10-23T22:58:39.796Z", "driver_handle": null, "activity": "walk", "location": { "recorded_at": "2023-10-23T22:58:39.796Z", "geometry": { "type": "Point", "coordinates": [ -118.35453, 34.063622 ] } }, "address": null }, { "type": "driver_activity_ended", "recorded_at": "2023-10-23T22:58:48.250Z", "driver_handle": null, "activity": "walk", "location": { "recorded_at": "2023-10-23T22:58:48.250Z", "geometry": { "type": "Point", "coordinates": [ -118.354519, 34.063603 ] } }, "distance": null, "duration": 8, "steps": 0 }, { "type": "driver_activity_started", "recorded_at": "2023-10-23T22:58:48.251Z", "driver_handle": null, "activity": "drive", "location": { "recorded_at": "2023-10-23T22:58:48.251Z", "geometry": { "type": "Point", "coordinates": [ -118.354518, 34.063605 ] } }, "address": null }, { "type": "order_service_started", "recorded_at": "2023-10-23T23:09:19.056Z", "location": { "recorded_at": "2023-10-23T23:09:19.056Z", "geometry": { "type": "Point", "coordinates": [ -118.315489, 34.068947 ] } }, "duration": 727, "distance": 4323, "order_handle": "order-1", "order_id": "15e2c782-805a-4404-9b85-82be76dba0e2", "order_type": "drop", "fulfillment_attempt": 0 }, { "type": "driver_activity_ended", "recorded_at": "2023-10-23T23:09:19.056Z", "driver_handle": null, "activity": "drive", "location": { "recorded_at": "2023-10-23T23:09:19.056Z", "geometry": { "type": "Point", "coordinates": [ -118.31549, 34.068968 ] } }, "distance": 4323, "duration": 631, "steps": null }, { "type": "driver_activity_started", "recorded_at": "2023-10-23T23:09:19.056Z", "driver_handle": null, "activity": "walk", "location": { "recorded_at": "2023-10-23T23:09:19.056Z", "geometry": { "type": "Point", "coordinates": [ -118.315489, 34.068947 ] } }, "address": null }, { "type": "driver_activity_ended", "recorded_at": "2023-10-23T23:10:08.049Z", "driver_handle": null, "activity": "walk", "location": { "recorded_at": "2023-10-23T23:10:08.049Z", "geometry": { "type": "Point", "coordinates": [ -118.315328, 34.068956 ] } }, "distance": null, "duration": 49, "steps": 0 }, { "type": "driver_activity_started", "recorded_at": "2023-10-23T23:10:08.049Z", "driver_handle": null, "activity": "drive", "location": { "recorded_at": "2023-10-23T23:10:08.049Z", "geometry": { "type": "Point", "coordinates": [ -118.315328, 34.068956 ] } }, "address": null }, { "type": "order_geofence_entered", "recorded_at": "2023-10-23T23:11:44.199Z", "location": { "geometry": { "coordinates": [ -118.31199713153354, 34.068977834914364, 0 ], "type": "Point" }, "recorded_at": "2023-10-23T23:11:44.199Z" }, "duration": 6059, "distance": 31348, "order_handle": "order-1", "order_id": "26c2c782-805a-4404-9b85-82be76dba0e2", "order_type": "drop", "fulfillment_attempt": 0 }, { "type": "driver_activity_ended", "recorded_at": "2023-10-23T23:13:26.032Z", "driver_handle": null, "activity": "drive", "location": { "recorded_at": "2023-10-23T23:13:26.032Z", "geometry": { "type": "Point", "coordinates": [ -118.311677, 34.06973 ] } }, "distance": 972, "duration": 198, "steps": null }, { "type": "driver_activity_started", "recorded_at": "2023-10-23T23:13:26.032Z", "driver_handle": null, "activity": "stop", "location": { "geometry": { "type": "Point", "coordinates": [ -118.311673, 34.069433 ] }, "recorded_at": "2023-10-23T23:13:26.032Z" }, "address": "South Saint Andrew's Place, Wilton Historic District, Koreatown, Los Angeles, Los Angeles County, California, 90020, United States" }, { "type": "driver_activity_ended", "recorded_at": "2023-10-23T23:19:20.739Z", "driver_handle": null, "activity": "stop", "location": { "geometry": { "type": "Point", "coordinates": [ -118.311666, 34.06941 ] }, "recorded_at": "2023-10-23T23:19:20.739Z" }, "distance": null, "duration": 355, "steps": 84 }, { "type": "driver_activity_started", "recorded_at": "2023-10-23T23:19:20.739Z", "driver_handle": null, "activity": "walk", "location": { "geometry": { "type": "Point", "coordinates": [ -118.311666, 34.06941 ] }, "recorded_at": "2023-10-23T23:19:20.739Z" }, "address": null }, { "type": "driver_activity_ended", "recorded_at": "2023-10-23T23:20:51.178Z", "driver_handle": null, "activity": "walk", "location": { "geometry": { "type": "Point", "coordinates": [ -118.311613, 34.071039 ] }, "recorded_at": "2023-10-23T23:20:51.178Z" }, "distance": null, "duration": 90, "steps": 9 }, { "type": "order_service_ended", "recorded_at": "2023-10-23T23:20:51.178Z", "location": { "geometry": { "type": "Point", "coordinates": [ -118.311613, 34.071039 ] }, "recorded_at": "2023-10-23T23:20:51.178Z" }, "duration": 692, "distance": 972, "order_handle": "order-1", "order_id": "26c2c782-805a-4404-9b85-82be76dba0e2", "order_type": "drop", "fulfillment_attempt": 0 }, { "type": "order_completed", "recorded_at": "2023-10-23T23:21:04.653Z", "order_handle": "order-1", "route_handle": "8c167253-3a4f-4f3c-95a4-4192a22f55d4", "order_type": "drop" }, { "type": "order_geofence_exited", "recorded_at": "2023-10-23T23:21:04.856Z", "location": { "geometry": null, "recorded_at": "2023-10-23T23:21:04.856Z" }, "duration": 561, "distance": null, "order_handle": "order-1", "order_id": "26c2c782-805a-4404-9b85-82be76dba0e2", "order_type": "drop", "fulfillment_attempt": 0 } ]}{ "detail": {}, "message": "string"}{ "detail": {}, "message": "string"}{ "detail": { "<location>": { "<field_name>": [ "string" ] } }, "message": "string"}