Uploaded confirmation document

Here is the full example of the event that Radaro sends out when driver passes the Uploaded confirmation document.

Token in body

{
    "new_values": {
        "order_confirmation_documents": [
            {
                "id": 32,
                "document": "/media/OrderConfirmationDocument/85e59a13-f74c-4dd6-afd5-3f11744a2415.pdf",
                "name": "Scan-30-07-2020-16.33",
                "tags": [
                    {
                        "id": 57,
                        "name": "Important"
                    }
                ]
            }
        ]
    },
    "old_values": {
        "order_confirmation_documents": []
    },
    "order_info": {
        "external_id": "Ext_id23",
        "deliver_after": null,
        "deliver_before": "2020-07-30T18:55:46.653530+10:00",
        "delivery_interval": null,
        "manager": {
            "member_id": 40,
            "email": "[email protected]",
            "first_name": "Robert",
            "last_name": "Turner",
            "avatar": "/media/Member/021c77ef-8240-417a-b7a2-a3e1a967ced8.png",
            "is_online": false,
            "work_status": "not_working",
            "phone": "+61370101435",
            "thumb_avatar_100x100": "/media/thumbnails/Member/021c77ef-8240-417a-b7a2-a3e1a967ced8_100x100.png",
            "can_make_payment": true,
            "merchant_position": "Admin Manager",
            "full_name": "Robert Turner",
            "role": "Admin Manager"
        },
        "customer": {
            "id": 97,
            "email": "[email protected]",
            "name": "Paul Tucker",
            "phone": "+61322188091"
        },
        "deliver_address": {
            "id": 543,
            "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_address": {
            "id": 77,
            "address": "1A Dalgety St, Brunswick West VIC 3055, Australia",
            "raw_address": "",
            "location": "-37.76337848,144.94200468",
            "description": ""
        },
        "pickup_address_2": "",
        "pickup": null,
        "pickup_after": null,
        "pickup_before": null,
        "confirmation_signature": /media/Order/bc265385-349f-40b1-8aeb-79303ee2d626.jpg,
        "geofence_entered_at": null,
        "geofence_exited_at": null,
        "title": "PO1298371",
        "title_2": "",
        "title_3": "",
        "comment": "",
        "started_at": '2020-07-30T11:30:28.601095+10:00',
        "picked_up_at": '2020-07-30T12:20:15.357123+10:00',
        "pick_up_distance": null,
        "order_distance": null,
        "status": "assigned",
        "order_id": 131317495,
        "starting_point": {
            "id": 1,
            "address": "261 Franklin St, Melbourne VIC 3000, Australia",
            "raw_address": "",
            "location": "-37.80969919,144.95676756",
            "description": ""
        },
        "confirmation_comment": null,
        "updated_at": "2020-07-30T09:22:44.498580+10:00",
        "created_at": "2020-07-30T10:20:14.498603+10:00",
        "rating": null,
        "customer_comment": null,
        "pending_comment": null,
        "customer_review_opt_in": false,
        "duration": null,
        "deadline_passed": false,
        "driver": 86251752,
        "merchant": 2,
        "description": "",
        "sub_branding": 1,
        "label": 21,
        "labels": [],
        "error_code": null,
        "error_comment": null,
        "completion_code": null,
        "completion_codes": [
            {
                "code": 203,
                "name": "Fast delivery",
                "type": "success"
            }
        ],
        "completion_comment": null,
        "customer_tracking_url": "https://rtra.cc/pFIEJ",
        "is_confirmed_by_customer": false,
        "order_confirmation_photos": [],
        "order_confirmation_documents": [
            {
                "id": 32,
                "document": "/media/OrderConfirmationDocument/85e59a13-f74c-4dd6-afd5-3f11744a2415.pdf",
                "name": "Scan-30-07-2020-16.33",
                "tags": [
                    {
                        "id": 57,
                        "name": "Important"
                    }
                ]
            }
        ],
        "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": [
            220,
            234
         ],
        "barcodes": [],
        "wayback_point": null,
        "wayback_hub": null,
        "completed_at": null,
        "pickup_geofence_entered_at": null,
        "pickup_geofence_exited_at": null,
        "pick_up_confirmation_photos": [],
        "pick_up_confirmation_signature": /media/Order/bc265385-349f-40b1-8aeb-79303ee2d626.jpg,
        "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
    },
    "updated_at": "2020-07-29T19:22:45.156723+10:00",
    "event_type": "updated",
    "token": "npyAL0PG3f1Ib4yoIttH-g",
    "topic": "job.uploaded_confirmation_document"
    }

Token in headers

{
    "Authorization": "Token MlfqEdN60b9fLOHEPdPGUQ",
}

Body

{
    "new_values": {
        "order_confirmation_documents": [
            {
                "id": 32,
                "document": "/media/OrderConfirmationDocument/85e59a13-f74c-4dd6-afd5-3f11744a2415.pdf",
                "name": "Scan-30-07-2020-16.33",
                "tags": [
                    {
                        "id": 57,
                        "name": "Important"
                    }
                ]
            }
        ]
    },
    "old_values": {
        "order_confirmation_documents": []
    },
    "order_info": {
        "external_id": "Ext_id23",
        "deliver_after": null,
        "deliver_before": "2020-07-30T18:55:46.653530+10:00",
        "delivery_interval": null,
        "manager": {
            "member_id": 40,
            "email": "[email protected]",
            "first_name": "Robert",
            "last_name": "Turner",
            "avatar": "/media/Member/021c77ef-8240-417a-b7a2-a3e1a967ced8.png",
            "is_online": false,
            "work_status": "not_working",
            "phone": "+61370101435",
            "thumb_avatar_100x100": "/media/thumbnails/Member/021c77ef-8240-417a-b7a2-a3e1a967ced8_100x100.png",
            "can_make_payment": true,
            "merchant_position": "Admin Manager",
            "full_name": "Robert Turner",
            "role": "Admin Manager"
        },
        "customer": {
            "id": 97,
            "email": "[email protected]",
            "name": "Paul Tucker",
            "phone": "+61322188091"
        },
        "deliver_address": {
            "id": 543,
            "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_address": {
            "id": 77,
            "address": "1A Dalgety St, Brunswick West VIC 3055, Australia",
            "raw_address": "",
            "location": "-37.76337848,144.94200468",
            "description": ""
        },
        "pickup_address_2": "",
        "pickup": null,
        "pickup_after": null,
        "pickup_before": null,
        "confirmation_signature": /media/Order/bc265385-349f-40b1-8aeb-79303ee2d626.jpg,
        "geofence_entered_at": null,
        "geofence_exited_at": null,
        "title": "PO1298371",
        "title_2": "",
        "title_3": "",
        "comment": "",
        "started_at": '2020-07-30T11:30:28.601095+10:00',
        "picked_up_at": '2020-07-30T12:20:15.357123+10:00',
        "pick_up_distance": null,
        "order_distance": null,
        "status": "assigned",
        "order_id": 131317495,
        "starting_point": {
            "id": 1,
            "address": "261 Franklin St, Melbourne VIC 3000, Australia",
            "raw_address": "",
            "location": "-37.80969919,144.95676756",
            "description": ""
        },
        "confirmation_comment": null,
        "updated_at": "2020-07-30T09:22:44.498580+10:00",
        "created_at": "2020-07-30T10:20:14.498603+10:00",
        "rating": null,
        "customer_comment": null,
        "pending_comment": null,
        "customer_review_opt_in": false,
        "duration": null,
        "deadline_passed": false,
        "driver": 86251752,
        "merchant": 2,
        "description": "",
        "sub_branding": 1,
        "label": 21,
        "labels": [],
        "error_code": null,
        "error_comment": null,
        "completion_code": null,
        "completion_codes": [
            {
                "code": 203,
                "name": "Fast delivery",
                "type": "success"
            }
        ],
        "completion_comment": null,
        "customer_tracking_url": "https://rtra.cc/pFIEJ",
        "is_confirmed_by_customer": false,
        "order_confirmation_photos": [],
        "order_confirmation_documents": [
            {
                "id": 32,
                "document": "/media/OrderConfirmationDocument/85e59a13-f74c-4dd6-afd5-3f11744a2415.pdf",
                "name": "Scan-30-07-2020-16.33",
                "tags": [
                    {
                        "id": 57,
                        "name": "Important"
                    }
                ]
            }
        ],
        "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": [
            220,
            234
         ],
        "barcodes": [],
        "wayback_point": null,
        "wayback_hub": null,
        "completed_at": null,
        "pickup_geofence_entered_at": null,
        "pickup_geofence_exited_at": null,
        "pick_up_confirmation_photos": [],
        "pick_up_confirmation_signature": /media/Order/bc265385-349f-40b1-8aeb-79303ee2d626.jpg,
        "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
    },
    "updated_at": "2020-07-29T19:22:45.156723+10:00",
    "event_type": "updated",
    "topic": "job.uploaded_confirmation_document"
    }