Job checklist confirmation

Here is the full example of the event that Radaro sends out when driver confirms the Job Checklist.

Token in body

{
    "updated_at": "2020-05-28T22:30:01.343981+10:00",
    "token": "yTIG--K4LFroqEIyd_HmBA",
    "result_checklist_info": {
        "created_at": "2020-05-28T22:30:00.988458+10:00",
        "checklist": {
            "title": "Test Job Checklist",
            "description": null,
            "questions": [
                {
                    "description_image": null,
                    "correct_answer": true,
                    "text": "Have you parked your vehicle properly?",
                    "description": null,
                    "subtitles": [],
                    "answer": {
                        "choice": true,
                        "comment": null,
                        "photos": [
                            {
                                "image": "/media/ResultChecklistAnswerPhoto/0e580440-9bc4-4f15-9e72-f3a53074a836.png",
                                "image_location": {
                                    "location": "52.489592,24.712061"
                                },
                                "happened_at": "2022-04-20T22:34:23+10:00"
                            }
                        ]
                    }
                },
                {
                    "description_image": null,
                    "correct_answer": true,
                    "text": "Do you have all the required documents to provide to the customer?",
                    "description": null,
                    "subtitles": [],
                    "answer": {
                        "choice": false,
                        "comment": "Some papers were missing, the delivery is rescheduled for tomorrow",
                        "photos": [
                            {
                                "image": "/media/ResultChecklistAnswerPhoto/11ecac63-ec00-4bb2-b575-b065a437bfc6.png",
                                "image_location": {
                                    "location": "52.489592,24.712061"
                                },
                                "happened_at": "2022-04-20T22:34:23+10:00"
                            }
                        ]
                    }
                }
            ]
        }
    },
    "topic": "checklist.job_checklist_confirmation",
    "order_info": {
        "external_id": "external-job-000",
        "deliver_before": "2021-09-03T12:30:13.103311+10:00",
        "manager": {
            "member_id": 79615228,
            "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": 1,
            "email": "[email protected]",
            "name": "apHlBkYjxEFs",
            "phone": null
        },
        "deliver_address": {
            "id": 1,
            "address": "42-2 Piera St, Brunswick East VIC 3057, Australia",
            "raw_address": "",
            "location": "-37.7740561,144.97212052",
            "description": "The third floor"
        },
        "deliver_address_2": "",
        "pickup_after": null,
        "pickup_before": null,
        "pickup_address": {
            "id": 1,
            "address": "42-2 Piera St, Brunswick East VIC 3057, Australia",
            "raw_address": "",
            "location": "-37.7740561,144.97212052",
            "description": "The third floor"
        },
        "pickup": {
            "name": "Warehouse 2",
            "email": "[email protected]",
            "phone": ""
        },
        "confirmation_signature": null,
        "geofence_entered_at": null,
        "geofence_exited_at": null,
        "title": "Job: ID 179736047",
        "title_2": "",
        "title_3": "",
        "comment": "",
        "started_at": null,
        "picked_up_at": null,
        "pick_up_distance": null,
        "order_distance": null,
        "status": "delivered",
        "order_id": 179736047,
        "starting_point": {
            "id": 1,
            "address": "42-2 Piera St, Brunswick East VIC 3057, Australia",
            "raw_address": "",
            "location": "-37.7740561,144.97212052",
            "description": "The third floor"
        },
        "confirmation_comment": null,
        "updated_at": "2020-06-15T21:38:16.440763+10:00",
        "created_at": "2020-06-15T21:38:16.440787+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": "Test",
        "completion_code": {
            "code": 201,
            "type": "success",
            "name": "Success #1"
        },
        "completion_codes": [
            {
                "code": 201,
                "type": "success",
                "name": "Success #1"
            },
            {
                "code": 202,
                "type": "success",
                "name": "Success #2"
            }
        ],
        "completion_comment": "Test",
        "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": [],
        "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": null,
        "enable_rating_reminder": true,
        "custom_redirect_url": true,
        "concatenated_order": {
            "order_id": 183353502,
            "external_id": null
        },
        "orders": null,
        "is_concatenated_order": false
    }
}

Token in headers

{
    "Authorization": "Token MlfqEdN60b9fLOHEPdPGUQ",
}

Body

{
    "updated_at": "2020-05-28T22:30:01.343981+10:00",
    "result_checklist_info": {
        "created_at": "2020-05-28T22:30:00.988458+10:00",
        "checklist": {
            "title": "Test Job Checklist",
            "description": null,
            "questions": [
                {
                    "description_image": null,
                    "correct_answer": true,
                    "text": "Have you parked your vehicle properly?",
                    "description": null,
                    "subtitles": [],
                    "answer": {
                        "choice": true,
                        "comment": null,
                        "photos": [
                            {
                                "image": "/media/ResultChecklistAnswerPhoto/0e580440-9bc4-4f15-9e72-f3a53074a836.png",
                                "image_location": {
                                    "location": "52.489592,24.712061"
                                },
                                "happened_at": "2022-04-20T22:34:23+10:00"
                            }
                        ]
                    }
                },
                {
                    "description_image": null,
                    "correct_answer": true,
                    "text": "Do you have all the required documents to provide to the customer?",
                    "description": null,
                    "subtitles": [],
                    "answer": {
                        "choice": false,
                        "comment": "Some papers were missing, the delivery is rescheduled for tomorrow",
                        "photos": [
                            {
                                "image": "/media/ResultChecklistAnswerPhoto/11ecac63-ec00-4bb2-b575-b065a437bfc6.png",
                                "image_location": {
                                    "location": "52.489592,24.712061"
                                },
                                "happened_at": "2022-04-20T22:34:23+10:00"
                            }
                        ]
                    }
                }
            ]
        }
    },
    "topic": "checklist.job_checklist_confirmation",
    "order_info": {
        "external_id": "external-job-000",
        "deliver_before": "2021-09-03T12:30:13.103311+10:00",
        "manager": {
            "member_id": 79615228,
            "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": 1,
            "email": "[email protected]",
            "name": "apHlBkYjxEFs",
            "phone": null
        },
        "deliver_address": {
            "id": 1,
            "address": "42-2 Piera St, Brunswick East VIC 3057, Australia",
            "raw_address": "",
            "location": "-37.7740561,144.97212052",
            "description": "The third floor"
        },
        "deliver_address_2": "",
        "pickup_after": null,
        "pickup_before": null,
        "pickup_address": {
            "id": 1,
            "address": "42-2 Piera St, Brunswick East VIC 3057, Australia",
            "raw_address": "",
            "location": "-37.7740561,144.97212052",
            "description": "The third floor"
        },
        "pickup": {
            "name": "Warehouse 2",
            "email": "[email protected]",
            "phone": ""
        },
        "confirmation_signature": null,
        "geofence_entered_at": null,
        "geofence_exited_at": null,
        "title": "Job: ID 179736047",
        "title_2": "",
        "title_3": "",
        "comment": "",
        "started_at": null,
        "picked_up_at": null,
        "pick_up_distance": null,
        "order_distance": null,
        "status": "delivered",
        "order_id": 179736047,
        "starting_point": {
            "id": 1,
            "address": "42-2 Piera St, Brunswick East VIC 3057, Australia",
            "raw_address": "",
            "location": "-37.7740561,144.97212052",
            "description": "The third floor"
        },
        "confirmation_comment": null,
        "updated_at": "2020-06-15T21:38:16.440763+10:00",
        "created_at": "2020-06-15T21:38:16.440787+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": "Test",
        "completion_code": {
            "code": 201,
            "type": "success",
            "name": "Success #1"
        },
        "completion_codes": [
            {
                "code": 201,
                "type": "success",
                "name": "Success #1"
            },
            {
                "code": 202,
                "type": "success",
                "name": "Success #2"
            }
        ],
        "completion_comment": "Test",
        "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": [],
        "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": null,
        "enable_rating_reminder": true,
        "custom_redirect_url": true,
        "concatenated_order": {
            "order_id": 183353502,
            "external_id": null
        },
        "orders": null,
        "is_concatenated_order": false
    }
}