Routific · Example Payload

Routific Fix Vrp Example

RouteOptimizationVRPPickupAndDeliveryLogisticsLastMileDeliveryDeliveryFleetManagementDispatchDeliveryManagement

Routific Fix Vrp Example is an example object payload from Routific, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.routific.com/v1/fix",
    "headers": {
      "Content-Type": "application/json",
      "Authorization": "bearer <YOUR_TOKEN>"
    },
    "body": {
      "visits": {
        "order_1": {
          "location": { "name": "6800 Cambie", "lat": 49.227107, "lng": -123.1163085 },
          "start": "9:00", "end": "12:00", "duration": 10
        },
        "order_2": {
          "location": { "name": "3780 Arbutus", "lat": 49.2474624, "lng": -123.1532338 },
          "start": "9:00", "end": "12:00", "duration": 10
        },
        "order_3": {
          "location": { "name": "800 Robson", "lat": 49.2819229, "lng": -123.1211844 },
          "start": "8:00", "end": "9:00", "duration": 10
        }
      },
      "fleet": {
        "vehicle_1": {
          "start_location": { "id": "depot", "name": "800 Kingsway", "lat": 49.2553636, "lng": -123.0873365 },
          "end_location": { "id": "depot", "name": "800 Kingsway", "lat": 49.2553636, "lng": -123.0873365 },
          "shift_start": "8:00", "shift_end": "12:00"
        }
      },
      "solution": {
        "vehicle_1": ["order_1", "order_2"]
      },
      "unserved": ["order_3"]
    }
  },
  "response": {
    "status": 200,
    "body": {
      "status": "success",
      "solution": {
        "vehicle_1": [
          { "location_id": "order_3", "arrival_time": "8:30", "finish_time": "8:40" },
          { "location_id": "order_1", "arrival_time": "9:00", "finish_time": "9:10" },
          { "location_id": "order_2", "arrival_time": "9:25", "finish_time": "9:35" }
        ]
      },
      "unserved": []
    }
  }
}