Successful requests return HTTP code 200 together with a json object summarizing the input sent. In other cases, we will return an error code with a helpful message. Your project will be created on the Routific web app with the name and date specified.

{
    "name": "Vancouver Delivery",
    "date": "2018-10-01",
    "stops": [
        {
            "name": "Jane Doe",
            "location": {
                "address": "2148 Main St, Vancouver, BC V5T 3C5",
                "coords": {
                    "lat": 49.2657634,
                    "lng": -123.1004459
                }
            },
            "start": "10:00",
            "end": "11:00",
            "duration": 20,
            "types": [
                "a"
            ],
            "load": 1,
            "priority": true,
            "email": "[email protected]",
            "notes": "Press 304 at buzzer.",
            "custom_notes": {},
            "id": "stop_r1g7eddtQ"
        }
    ],
    "drivers": [
        {
            "name": "John Doe",
            "start_location": {
                "address": "555 west hastings, vancouver bc, canada",
                "coords": {
                    "lat": 49.2847001,
                    "lng": -123.1141236
                }
            },
            "end_location": {
                "address": "555 west hastings, vancouver bc, canada",
                "coords": {
                    "lat": 49.2847001,
                    "lng": -123.1141236
                }
            },
            "shift_start": "09:00",
            "shift_end": "17:00",
            "phone_number": "+16042597686",
            "speed": 1,
            "capacity": 10,
            "types": [
                "a",
                "b"
            ],
            "break": {
                "start": "12:00",
                "end": "13:00"
            },
            "id": "driver_HkgemgOdFm"
        }
    ],
    "settings": {
        "max_stop_lateness": 320,
        "max_driver_overtime": 320,
        "shortest_distance": true,
        "traffic": 1.4,
        "strict_start": true,
        "auto_balance": true,
        "default_load": 1,
        "default_duration": 10
    },
    "id": "5baaf01793438c1bebfac786"
}