Skip to content

Instantly share code, notes, and snippets.

@afian
Created June 22, 2018 05:49
Show Gist options
  • Save afian/913c7fd2eca54e34252642ad2c6db677 to your computer and use it in GitHub Desktop.
Save afian/913c7fd2eca54e34252642ad2c6db677 to your computer and use it in GitHub Desktop.
User predicted traffic on a /vrp-long call
{
"visits": {
"order_1": {
"location": {
"name": "1653 W Congress Pkwy, Chicago, IL",
"lat": 41.874643,
"lng": -87.669154
},
"start": "12:00",
"end": "14:00",
"duration": 10
},
"order_2": {
"location": {
"name": "1060 W Addison, Chicago, IL",
"lat": 41.947454,
"lng": -87.656134
},
"start": "13:30",
"end": "15:30",
"duration": 10
}
},
"fleet": {
"vehicle_1": {
"start_location": {
"id": "depot",
"name": "1653 W Congress Pkwy, Chicago, IL",
"lat": 41.874643,
"lng": -87.669154
},
"end_location": {
"id": "depot",
"name": "1653 W Congress Pkwy, Chicago, IL",
"lat": 41.874643,
"lng": -87.669154
},
"shift_start": "12:00",
"shift_end": "16:00"
}
},
"options": {
"traffic": "predicted"
},
"date": "2018-01-01"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment