Route Optimisation completed V2

Added on January 18th, 2023

Compared with a RO Optimisation Completed

  • Added new point_type: ‘concatenatedorder’
  • In order point added field: ‘manager’
  • In order point added field: ‘deliver_address_2’
  • In order point added field: ‘confirmation_signature’
  • In order point added field: ‘geofence_entered_at’
  • In order point added field: ‘geofence_exited_at’
  • In order point added field: ‘title’
  • In order point added field: ‘title_2’
  • In order point added field: ‘title_3’
  • In order point added field: ‘comment’
  • In order point added field: ‘started_at’
  • In order point added field: ‘picked_up_at’
  • In order point added field: ‘pick_up_distance’
  • In order point added field: ‘order_distance’
  • In order point added field: ‘starting_point’
  • In order point added field: ‘confirmation_comment’
  • In order point added field: ‘updated_at’
  • In order point added field: ‘created_at’
  • In order point added field: ‘rating’
  • In order point added field: ‘customer_comment’
  • In order point added field: ‘customer_review_opt_in’
  • In order point added field: ‘duration’
  • In order point added field: ‘deadline_passed’
  • In order point added field: ‘driver’
  • In order point added field: ‘merchant’
  • In order point added field: ‘description’
  • In order point added field: ‘sub_branding’
  • In order point added field: ‘label’
  • In order point added field: ‘labels’
  • In order point added field: ‘error_code’
  • In order point added field: ‘error_comment’
  • In order point added field: ‘completion_code’
  • In order point added field: ‘completion_codes’
  • In order point added field: ‘completion_comment’
  • In order point added field: ‘customer_tracking_url’
  • In order point added field: ‘is_confirmed_by_customer’
  • In order point added field: ‘order_confirmation_photos’
  • In order point added field: ‘pre_inspection_comment’
  • In order point added field: ‘pre_inspection_signature’
  • In order point added field: ‘pre_inspection_photos’
  • In order point added field: ‘driver_checklist’
  • In order point added field: ‘pre_confirmation_photos’
  • In order point added field: ‘pre_confirmation_signature’
  • In order point added field: ‘pre_confirmation_comment’
  • In order point added field: ‘delivery_interval’
  • In order point added field: ‘skill_sets’
  • In order point added field: ‘wayback_point’
  • In order point added field: ‘wayback_hub’
  • In order point added field: ‘pickup_geofence_entered_at’
  • In order point added field: ‘pickup_geofence_exited_at’
  • In order point added field: ‘pick_up_confirmation_photos’
  • In order point added field: ‘pick_up_confirmation_signature’
  • In order point added field: ‘pick_up_confirmation_comment’
  • In order point added field: ‘capacity’
  • In order point added field: ‘optimisation_id’
  • In order point added field: ‘enable_rating_reminder’
  • In order point added field: ‘custom_redirect_url’

Here is the full example of the event that Radaro sends out after the completion of Optimisation.

Token in body

{
    "token": "txkINFbMAAk6uHwL-qHLkA",
    "topic": "optimisation.completed.v2",
    "updated_at": "2021-07-29T16:47:01.428972+10:00",
    "optimisation_info": {
        "id": 1754,
        "day": "2021-07-30",
        "log": {
            "steps": [
                {
                    "name": "Composing the distance matrix",
                    "completed": true
                },
                {
                    "name": "Looking for the optimum routes",
                    "completed": true
                },
                {
                    "name": "Assigning jobs between the drivers",
                    "completed": true
                }
            ],
            "messages": [
                {
                    "text": "Optimisation started",
                    "time": "2021-07-29T16:47:01.446065+10:00"
                },
                {
                    "text": "2 new jobs were assigned to Arthur Dole during the Optimisation",
                    "time": "2021-07-29T16:47:14.103406+10:00"
                }
            ],
            "progress": 100
        },
        "type": "ADVANCED",
        "group": "scheduled",
        "state": "COMPLETED",
        "routes": [
            {
                "id": 1729,
                "color": "#F79F79",
                "state": "CREATED",
                "driver": {
                    "car": {
                        "capacity": 20,
                        "car_type": 1,
                        "car_type_name": "Car"
                    },
                    "phone": "+614339923333",
                    "status": "assigned",
                    "full_name": "Arthur Dole",
                    "is_online": false,
                    "member_id": 73709741,
                    "work_status": "not_working",
                    "last_location": {
                        "location": "53.901798,27.5037407"
                    },
                    "thumb_avatar_100x100": "/media/thumbnails/Member/c7090d8d-c238-48eb-bdb3-f691db55fea3_100x100.jpg"
                },
                "points": [
                    {
                        "id": 11579,
                        "number": 1,
                        "distance": 0,
                        "end_time": "2021-07-30T16:00:00+10:00",
                        "point_kind": "hub",
                        "point_type": "hub",
                        "start_time": "2021-07-30T16:00:00+10:00",
                        "driving_time": 0,
                        "point_object": {
                            "id": 379,
                            "name": "Hub",
                            "phone": "+61294446653",
                            "location": {
                                "id": 330,
                                "address": "31 Sturt St, Southbank VIC 3006, Australia",
                                "location": {
                                    "lat": -37.8238758,
                                    "lng": 144.9676033
                                },
                                "description": ""
                            }
                        },
                        "service_time": 0,
                        "planned_arrival": "2021-07-30T16:00:00+10:00",
                        "point_object_id": 379,
                        "utilized_capacity": 0,
                        "planned_arrival_after": "2021-07-30T15:00:00+10:00",
                        "planned_arrival_before": "2021-07-30T18:00:00+10:00"
                    },
                    {
                        "id": 11580,
                        "number": 2,
                        "distance": 8891,
                        "end_time": "2021-07-30T16:48:37+10:00",
                        "point_kind": "delivery",
                        "point_type": "order",
                        "start_time": "2021-07-30T16:18:37+10:00",
                        "driving_time": 1117,
                        "point_object": {
                            "external_id": null,
                            "deliver_before": "2021-07-30T16:50:00+10:00",
                            "manager": {
                                "member_id": 123456,
                                "email": "[email protected]",
                                "first_name": "",
                                "last_name": "",
                                "avatar": null,
                                "is_online": false,
                                "work_status": "not_working",
                                "phone": "+61 499 902 001",
                                "thumb_avatar_100x100": null,
                                "can_make_payment": false,
                                "merchant_position": "Manager",
                                "full_name": "",
                                "role": "Manager"
                            },
                            "customer": {
                                "id": 42181,
                                "email": "",
                                "name": "Robert Allen",
                                "phone": null
                            },
                            "deliver_address": {
                                "id": 71946,
                                "address": "Fairfield Park Dr, Fairfield VIC 3078, Australia",
                                "location": "-37.78518, 145.0137071",
                                "description": "",
                                "raw_address": "Fairfield Park Dr, Fairfield VIC 3078, Australia"
                            },
                            "deliver_address_2": "",
                            "pickup_after": null,
                            "pickup_before": null,
                            "pickup_address": null,
                            "pickup": null,
                            "confirmation_signature": null,
                            "geofence_entered_at": null,
                            "geofence_exited_at": null,
                            "title": "Job: ID 1234567",
                            "title_2": "",
                            "title_3": "",
                            "comment": "",
                            "started_at": null,
                            "picked_up_at": null,
                            "pick_up_distance": null,
                            "order_distance": null,
                            "status": "assigned",
                            "order_id": 184560588,
                            "starting_point": null,
                            "confirmation_comment": null,
                            "updated_at": "2021-07-29T16:50:00+10:00",
                            "created_at": "2021-07-29T16:50:00+10:00",
                            "rating": null,
                            "customer_comment": null,
                            "pending_comment": null,
                            "customer_review_opt_in": false,
                            "duration": null,
                            "deadline_passed": false,
                            "driver": 53249541,
                            "merchant": 1,
                            "description": "",
                            "sub_branding": 1,
                            "label": null,
                            "labels": [],
                            "error_code": null,
                            "error_comment": "",
                            "completion_code": null,
                            "completion_codes": [],
                            "completion_comment": "",
                            "customer_tracking_url": "http://127.0.0.1:3000/order/MQ/7d6f8739-6b6b-42a9-8696-c7a285fe96f3?domain=127.0.0.1:8000&merchant_identifier=merchant_dcpy-dev&cluster_number=dev",
                            "is_confirmed_by_customer": false,
                            "order_confirmation_photos": [],
                            "pre_inspection_comment": null,
                            "pre_inspection_signature": null,
                            "pre_inspection_photos": [],
                            "driver_checklist": null,
                            "pre_confirmation_photos": [],
                            "pre_confirmation_signature": null,
                            "pre_confirmation_comment": null,
                            "delivery_interval": null,
                            "skill_sets": [],
                            "barcodes": [
                                {
                                    "id": 3569,
                                    "comment": "",
                                    "scanned": false,
                                    "required": false,
                                    "code_data": "7678l",
                                    "created_by_driver": false,
                                    "scanned_upon_delivery": false,
                                    "scanned_at_the_warehouse": false
                                }
                            ],
                            "wayback_point": null,
                            "wayback_hub": null,
                            "pickup_geofence_entered_at": null,
                            "pickup_geofence_exited_at": null,
                            "pick_up_confirmation_photos": null,
                            "pick_up_confirmation_signature": null,
                            "pick_up_confirmation_comment": null,
                            "capacity": null,
                            "optimisation_id": 1754,
                            "enable_rating_reminder": true,
                            "custom_redirect_url": null,
                            "concatenated_order": null
                        },
                        "service_time": 1800,
                        "planned_arrival": "2021-07-30T16:18:37+10:00",
                        "point_object_id": 129823,
                        "utilized_capacity": 0,
                        "planned_arrival_after": "2021-07-30T15:15:00+10:00",
                        "planned_arrival_before": "2021-07-30T18:15:00+10:00"
                    },
                    {
                        "id": 6219,
                        "number": 3,
                        "point_type": null,
                        "point_kind": "break",
                        "point_object": null,
                        "point_object_id": null,
                        "service_time": 600,
                        "driving_time": 0,
                        "distance": 0,
                        "start_time": "2021-07-30T16:50:00+10:00",
                        "end_time": "2021-07-30T17:00:00+10:00",
                        "planned_arrival": "2021-07-30T16:50:00+10:00",
                        "planned_arrival_after": "2021-07-30T16:30:00+10:00",
                        "planned_arrival_before": "2021-07-30T18:30:00+10:00",
                        "utilized_capacity": 0
                    },
                    {
                        "id": 11581,
                        "number": 4,
                        "distance": 13983,
                        "end_time": "2021-07-30T17:32:39+10:00",
                        "point_kind": "delivery",
                        "point_type": "concatenatedorder",
                        "start_time": "2021-07-30T17:02:39+10:00",
                        "driving_time": 842,
                        "point_object": {
                            "external_id": null,
                            "deliver_after": "2022-12-24T09:50:00+11:00",
                            "deliver_before": "2022-12-24T19:00:00+11:00",
                            "delivery_interval": {
                                "upper": "2022-12-24T19:00:00+11:00",
                                "lower": "2022-12-24T09:50:00+11:00",
                                "bounds": "[)"
                            },
                            "manager": {
                                "member_id": 4788118,
                                "email": "[email protected]",
                                "first_name": "",
                                "last_name": "",
                                "avatar": null,
                                "is_online": false,
                                "work_status": "not_working",
                                "phone": "+61 499 902 000",
                                "thumb_avatar_100x100": null,
                                "can_make_payment": false,
                                "merchant_position": "Manager",
                                "full_name": "",
                                "role": "Manager"
                            },
                            "customer": {
                                "id": 1,
                                "email": "[email protected]",
                                "name": "Jon Vazovsky",
                                "phone": ""
                            },
                            "deliver_address": {
                                "id": 2,
                                "address": "144 Rouse St, Port Melbourne VIC 3207, Australia",
                                "raw_address": "",
                                "location": "-37.8421644,144.9399743",
                                "description": "",
                                "secondary_address": "Rock Paper Scissors"
                            },
                            "deliver_address_2": "Rock Paper Scissors",
                            "confirmation_signature": null,
                            "title": "external-job-000, external-job-001, external-job-002",
                            "title_2": ", , ",
                            "title_3": ", , ",
                            "comment": "",
                            "started_at": null,
                            "picked_up_at": null,
                            "status": "assigned",
                            "order_id": 132336278,
                            "starting_point": null,
                            "confirmation_comment": null,
                            "updated_at": "2022-12-23T23:27:18.745486+11:00",
                            "created_at": "2022-12-23T23:27:18.692007+11:00",
                            "rating": null,
                            "customer_comment": null,
                            "pending_comment": null,
                            "customer_review_opt_in": false,
                            "deadline_passed": false,
                            "driver": 23234037,
                            "merchant": 1,
                            "description": "",
                            "error_code": null,
                            "error_comment": null,
                            "completion_code": null,
                            "completion_codes": [],
                            "completion_comment": null,
                            "customer_tracking_url": "http://127.0.0.1:3000/order/MQ/c528d236-f46b-48f1-911c-4e8c0e77ef79?domain=127.0.0.1:8000&merchant_identifier=merchant_lxnq-dev&cluster_number=dev&lang=en-au",
                            "is_confirmed_by_customer": false,
                            "order_confirmation_photos": [],
                            "order_confirmation_documents": [],
                            "pre_inspection_comment": null,
                            "pre_inspection_signature": null,
                            "pre_inspection_photos": [],
                            "driver_checklist": null,
                            "pre_confirmation_photos": [],
                            "pre_confirmation_signature": null,
                            "pre_confirmation_comment": null,
                            "skill_sets": [],
                            "barcodes": [],
                            "wayback_point": null,
                            "wayback_hub": null,
                            "completed_at": null,
                            "pick_up_confirmation_photos": [],
                            "pick_up_confirmation_signature": null,
                            "pick_up_confirmation_comment": null,
                            "public_report_link": null,
                            "optimisation_id": 1,
                            "enable_rating_reminder": true,
                            "custom_redirect_url": null,
                            "orders": [
                                {
                                    "order_id": 183362642,
                                    "external_id": "external-job-000"
                                },
                                {
                                    "order_id": 199761273,
                                    "external_id": "external-job-001"
                                },
                                {
                                    "order_id": 169949100,
                                    "external_id": "external-job-002"
                                }
                            ]
                        },
                        "service_time": 1800,
                        "planned_arrival": "2021-07-30T17:02:39+10:00",
                        "point_object_id": 129820,
                        "utilized_capacity": 0,
                        "planned_arrival_after": "2021-07-30T16:00:00+10:00",
                        "planned_arrival_before": "2021-07-30T19:00:00+10:00"
                    },
                    {
                        "id": 11588,
                        "number": 5,
                        "distance": 2506,
                        "end_time": "2021-07-30T22:08:34+10:00",
                        "point_kind": "hub",
                        "point_type": "hub",
                        "start_time": "2021-07-30T22:08:34+10:00",
                        "driving_time": 661,
                        "point_object": {
                            "id": 379,
                            "name": "Hub",
                            "phone": "+614294446653",
                            "location": {
                                "id": 330,
                                "address": "31 Sturt St, Southbank VIC 3006, Australia",
                                "location": {
                                    "lat": -37.8238758,
                                    "lng": 144.9676033
                                },
                                "description": ""
                            }
                        },
                        "service_time": 0,
                        "planned_arrival": "2021-07-30T22:08:34+10:00",
                        "point_object_id": 379,
                        "utilized_capacity": 0,
                        "planned_arrival_after": "2021-07-30T21:00:00+10:00",
                        "planned_arrival_before": "2021-07-31T00:00:00+10:00"
                    }
                ],
                "options": {},
                "end_time": "2021-07-30T22:08:34+10:00",
                "start_time": "2021-07-30T16:00:00+10:00",
                "total_time": 22114,
                "driving_time": 7714,
                "orders_count": 8,
                "driving_distance": 72115
            }
        ],
        "options": {
            "end_hub": 379,
            "end_place": "hub_location",
            "start_hub": 379,
            "start_place": "hub_location",
            "service_time": 30,
            "working_hours": {
                "lower": "08:00",
                "upper": "17:00"
            },
            "pickup_service_time": 5,
            "re_optimise_assigned": false,
            "use_vehicle_capacity": false
        },
        "task_status": "completed",
        "customers_notified": false
    }
}

Token in headers

{
    "Authorization": "Token MlfqEdN60b9fLOHEPdPGUQ",
}

Body

{
    "topic": "optimisation.completed.v2",
    "updated_at": "2021-07-29T16:47:01.428972+10:00",
    "optimisation_info": {
        "id": 1754,
        "day": "2021-07-30",
        "log": {
            "steps": [
                {
                    "name": "Composing the distance matrix",
                    "completed": true
                },
                {
                    "name": "Looking for the optimum routes",
                    "completed": true
                },
                {
                    "name": "Assigning jobs between the drivers",
                    "completed": true
                }
            ],
            "messages": [
                {
                    "text": "Optimisation started",
                    "time": "2021-07-29T16:47:01.446065+10:00"
                },
                {
                    "text": "2 new jobs were assigned to Arthur Dole during the Optimisation",
                    "time": "2021-07-29T16:47:14.103406+10:00"
                }
            ],
            "progress": 100
        },
        "type": "ADVANCED",
        "group": "scheduled",
        "state": "COMPLETED",
        "routes": [
            {
                "id": 1729,
                "color": "#F79F79",
                "state": "CREATED",
                "driver": {
                    "car": {
                        "capacity": 20,
                        "car_type": 1,
                        "car_type_name": "Car"
                    },
                    "phone": "+614339923333",
                    "status": "assigned",
                    "full_name": "Arthur Dole",
                    "is_online": false,
                    "member_id": 73709741,
                    "work_status": "not_working",
                    "last_location": {
                        "location": "53.901798,27.5037407"
                    },
                    "thumb_avatar_100x100": "/media/thumbnails/Member/c7090d8d-c238-48eb-bdb3-f691db55fea3_100x100.jpg"
                },
                "points": [
                    {
                        "id": 11579,
                        "number": 1,
                        "distance": 0,
                        "end_time": "2021-07-30T16:00:00+10:00",
                        "point_kind": "hub",
                        "point_type": "hub",
                        "start_time": "2021-07-30T16:00:00+10:00",
                        "driving_time": 0,
                        "point_object": {
                            "id": 379,
                            "name": "Hub",
                            "phone": "+61294446653",
                            "location": {
                                "id": 330,
                                "address": "31 Sturt St, Southbank VIC 3006, Australia",
                                "location": {
                                    "lat": -37.8238758,
                                    "lng": 144.9676033
                                },
                                "description": ""
                            }
                        },
                        "service_time": 0,
                        "planned_arrival": "2021-07-30T16:00:00+10:00",
                        "point_object_id": 379,
                        "utilized_capacity": 0,
                        "planned_arrival_after": "2021-07-30T15:00:00+10:00",
                        "planned_arrival_before": "2021-07-30T18:00:00+10:00"
                    },
                    {
                        "id": 11580,
                        "number": 2,
                        "distance": 8891,
                        "end_time": "2021-07-30T16:48:37+10:00",
                        "point_kind": "delivery",
                        "point_type": "order",
                        "start_time": "2021-07-30T16:18:37+10:00",
                        "driving_time": 1117,
                        "point_object": {
                            "external_id": null,
                            "deliver_before": "2021-07-30T16:50:00+10:00",
                            "manager": {
                                "member_id": 123456,
                                "email": "[email protected]",
                                "first_name": "",
                                "last_name": "",
                                "avatar": null,
                                "is_online": false,
                                "work_status": "not_working",
                                "phone": "+61 499 902 001",
                                "thumb_avatar_100x100": null,
                                "can_make_payment": false,
                                "merchant_position": "Manager",
                                "full_name": "",
                                "role": "Manager"
                            },
                            "customer": {
                                "id": 42181,
                                "email": "",
                                "name": "Robert Allen",
                                "phone": null
                            },
                            "deliver_address": {
                                "id": 71946,
                                "address": "Fairfield Park Dr, Fairfield VIC 3078, Australia",
                                "location": "-37.78518, 145.0137071",
                                "description": "",
                                "raw_address": "Fairfield Park Dr, Fairfield VIC 3078, Australia"
                            },
                            "deliver_address_2": "",
                            "pickup_after": null,
                            "pickup_before": null,
                            "pickup_address": null,
                            "pickup": null,
                            "confirmation_signature": null,
                            "geofence_entered_at": null,
                            "geofence_exited_at": null,
                            "title": "Job: ID 1234567",
                            "title_2": "",
                            "title_3": "",
                            "comment": "",
                            "started_at": null,
                            "picked_up_at": null,
                            "pick_up_distance": null,
                            "order_distance": null,
                            "status": "assigned",
                            "order_id": 184560588,
                            "starting_point": null,
                            "confirmation_comment": null,
                            "updated_at": "2021-07-29T16:50:00+10:00",
                            "created_at": "2021-07-29T16:50:00+10:00",
                            "rating": null,
                            "customer_comment": null,
                            "pending_comment": null,
                            "customer_review_opt_in": false,
                            "duration": null,
                            "deadline_passed": false,
                            "driver": 53249541,
                            "merchant": 1,
                            "description": "",
                            "sub_branding": 1,
                            "label": null,
                            "labels": [],
                            "error_code": null,
                            "error_comment": "",
                            "completion_code": null,
                            "completion_codes": [],
                            "completion_comment": "",
                            "customer_tracking_url": "http://127.0.0.1:3000/order/MQ/7d6f8739-6b6b-42a9-8696-c7a285fe96f3?domain=127.0.0.1:8000&merchant_identifier=merchant_dcpy-dev&cluster_number=dev",
                            "is_confirmed_by_customer": false,
                            "order_confirmation_photos": [],
                            "pre_inspection_comment": null,
                            "pre_inspection_signature": null,
                            "pre_inspection_photos": [],
                            "driver_checklist": null,
                            "pre_confirmation_photos": [],
                            "pre_confirmation_signature": null,
                            "pre_confirmation_comment": null,
                            "delivery_interval": null,
                            "skill_sets": [],
                            "barcodes": [
                                {
                                    "id": 3569,
                                    "comment": "",
                                    "scanned": false,
                                    "required": false,
                                    "code_data": "7678l",
                                    "created_by_driver": false,
                                    "scanned_upon_delivery": false,
                                    "scanned_at_the_warehouse": false
                                }
                            ],
                            "wayback_point": null,
                            "wayback_hub": null,
                            "pickup_geofence_entered_at": null,
                            "pickup_geofence_exited_at": null,
                            "pick_up_confirmation_photos": null,
                            "pick_up_confirmation_signature": null,
                            "pick_up_confirmation_comment": null,
                            "capacity": null,
                            "optimisation_id": 1754,
                            "enable_rating_reminder": true,
                            "custom_redirect_url": null,
                            "concatenated_order": null
                        },
                        "service_time": 1800,
                        "planned_arrival": "2021-07-30T16:18:37+10:00",
                        "point_object_id": 129823,
                        "utilized_capacity": 0,
                        "planned_arrival_after": "2021-07-30T15:15:00+10:00",
                        "planned_arrival_before": "2021-07-30T18:15:00+10:00"
                    },
                    {
                        "id": 6219,
                        "number": 3,
                        "point_type": null,
                        "point_kind": "break",
                        "point_object": null,
                        "point_object_id": null,
                        "service_time": 600,
                        "driving_time": 0,
                        "distance": 0,
                        "start_time": "2021-07-30T16:50:00+10:00",
                        "end_time": "2021-07-30T17:00:00+10:00",
                        "planned_arrival": "2021-07-30T16:50:00+10:00",
                        "planned_arrival_after": "2021-07-30T16:30:00+10:00",
                        "planned_arrival_before": "2021-07-30T18:30:00+10:00",
                        "utilized_capacity": 0
                    },
                    {
                        "id": 11581,
                        "number": 4,
                        "distance": 13983,
                        "end_time": "2021-07-30T17:32:39+10:00",
                        "point_kind": "delivery",
                        "point_type": "concatenatedorder",
                        "start_time": "2021-07-30T17:02:39+10:00",
                        "driving_time": 842,
                        "point_object": {
                            "external_id": null,
                            "deliver_after": "2022-12-24T09:50:00+11:00",
                            "deliver_before": "2022-12-24T19:00:00+11:00",
                            "delivery_interval": {
                                "upper": "2022-12-24T19:00:00+11:00",
                                "lower": "2022-12-24T09:50:00+11:00",
                                "bounds": "[)"
                            },
                            "manager": {
                                "member_id": 4788118,
                                "email": "[email protected]",
                                "first_name": "",
                                "last_name": "",
                                "avatar": null,
                                "is_online": false,
                                "work_status": "not_working",
                                "phone": "+61 499 902 000",
                                "thumb_avatar_100x100": null,
                                "can_make_payment": false,
                                "merchant_position": "Manager",
                                "full_name": "",
                                "role": "Manager"
                            },
                            "customer": {
                                "id": 1,
                                "email": "[email protected]",
                                "name": "Jon Vazovsky",
                                "phone": ""
                            },
                            "deliver_address": {
                                "id": 2,
                                "address": "144 Rouse St, Port Melbourne VIC 3207, Australia",
                                "raw_address": "",
                                "location": "-37.8421644,144.9399743",
                                "description": "",
                                "secondary_address": "Rock Paper Scissors"
                            },
                            "deliver_address_2": "Rock Paper Scissors",
                            "confirmation_signature": null,
                            "title": "external-job-000, external-job-001, external-job-002",
                            "title_2": ", , ",
                            "title_3": ", , ",
                            "comment": "",
                            "started_at": null,
                            "picked_up_at": null,
                            "status": "assigned",
                            "order_id": 132336278,
                            "starting_point": null,
                            "confirmation_comment": null,
                            "updated_at": "2022-12-23T23:27:18.745486+11:00",
                            "created_at": "2022-12-23T23:27:18.692007+11:00",
                            "rating": null,
                            "customer_comment": null,
                            "pending_comment": null,
                            "customer_review_opt_in": false,
                            "deadline_passed": false,
                            "driver": 23234037,
                            "merchant": 1,
                            "description": "",
                            "error_code": null,
                            "error_comment": null,
                            "completion_code": null,
                            "completion_codes": [],
                            "completion_comment": null,
                            "customer_tracking_url": "http://127.0.0.1:3000/order/MQ/c528d236-f46b-48f1-911c-4e8c0e77ef79?domain=127.0.0.1:8000&merchant_identifier=merchant_lxnq-dev&cluster_number=dev&lang=en-au",
                            "is_confirmed_by_customer": false,
                            "order_confirmation_photos": [],
                            "order_confirmation_documents": [],
                            "pre_inspection_comment": null,
                            "pre_inspection_signature": null,
                            "pre_inspection_photos": [],
                            "driver_checklist": null,
                            "pre_confirmation_photos": [],
                            "pre_confirmation_signature": null,
                            "pre_confirmation_comment": null,
                            "skill_sets": [],
                            "barcodes": [],
                            "wayback_point": null,
                            "wayback_hub": null,
                            "completed_at": null,
                            "pick_up_confirmation_photos": [],
                            "pick_up_confirmation_signature": null,
                            "pick_up_confirmation_comment": null,
                            "public_report_link": null,
                            "optimisation_id": 1,
                            "enable_rating_reminder": true,
                            "custom_redirect_url": null,
                            "orders": [
                                {
                                    "order_id": 183362642,
                                    "external_id": "external-job-000"
                                },
                                {
                                    "order_id": 199761273,
                                    "external_id": "external-job-001"
                                },
                                {
                                    "order_id": 169949100,
                                    "external_id": "external-job-002"
                                }
                            ]
                        },
                        "service_time": 1800,
                        "planned_arrival": "2021-07-30T17:02:39+10:00",
                        "point_object_id": 129820,
                        "utilized_capacity": 0,
                        "planned_arrival_after": "2021-07-30T16:00:00+10:00",
                        "planned_arrival_before": "2021-07-30T19:00:00+10:00"
                    },
                    {
                        "id": 11588,
                        "number": 5,
                        "distance": 2506,
                        "end_time": "2021-07-30T22:08:34+10:00",
                        "point_kind": "hub",
                        "point_type": "hub",
                        "start_time": "2021-07-30T22:08:34+10:00",
                        "driving_time": 661,
                        "point_object": {
                            "id": 379,
                            "name": "Hub",
                            "phone": "+614294446653",
                            "location": {
                                "id": 330,
                                "address": "31 Sturt St, Southbank VIC 3006, Australia",
                                "location": {
                                    "lat": -37.8238758,
                                    "lng": 144.9676033
                                },
                                "description": ""
                            }
                        },
                        "service_time": 0,
                        "planned_arrival": "2021-07-30T22:08:34+10:00",
                        "point_object_id": 379,
                        "utilized_capacity": 0,
                        "planned_arrival_after": "2021-07-30T21:00:00+10:00",
                        "planned_arrival_before": "2021-07-31T00:00:00+10:00"
                    }
                ],
                "options": {},
                "end_time": "2021-07-30T22:08:34+10:00",
                "start_time": "2021-07-30T16:00:00+10:00",
                "total_time": 22114,
                "driving_time": 7714,
                "orders_count": 8,
                "driving_distance": 72115
            }
        ],
        "options": {
            "end_hub": 379,
            "end_place": "hub_location",
            "start_hub": 379,
            "start_place": "hub_location",
            "service_time": 30,
            "working_hours": {
                "lower": "08:00",
                "upper": "17:00"
            },
            "pickup_service_time": 5,
            "re_optimise_assigned": false,
            "use_vehicle_capacity": false
        },
        "task_status": "completed",
        "customers_notified": false
    }
}