Data Webook Payload

JRNI provides a standard payload that includes all the appointment information. The
payload will contain a JSON snapshot of the appointment.

{
    "appointment": {
        "bookingId": 1294,
        "longId": "FXy84U3VZSsdlG8BMTI0MA",
        "customerStartTime": "2023-02-17T08:00:00-11:00",
        "customerEndTime": "2023-02-17T09:00:00-11:00",
        "companyStartTime": "2023-02-17T14:00:00-05:00",
        "companyEndTime": "2023-02-17T15:00:00-05:00",
        "duration": 60,
        "bookedBy": "Admin User",
        "channel": "Administrator",
        "status": "Booking",
        "joinVideoURL": "https://example.jrni.com/app/zoom/join?ref=hLevdp1-Av_7tm4dMjUx",
        "customerModifyURL": "https://example.jrni.com/book?purchase=FXy84U3VZSsdlG8BMTI0MA",
        "adminModifyURL": "https://example.jrni.com/1294/booking/info?companyId=37011",
        "customBookingFields": [
            {
                "ref": "are_you_an_existing_member",
                "value": "Yes"
            },
            {
                "ref": "additional_comments",
                "value": "test"
            },
            {
                "ref": "do_you_agree",
                "value": true
            }
        ]
    },
    "company": {
        "name": "Virtual Location",
        "address": "United States",
        "jrniId": 37011,
        "externalId": "99",
        "customCompanyFields": [
            {
                "ref": "company_field",
                "value": "1"
            },
            {
                "ref": "company_field_2",
                "value": "2"
            },
            {
                "ref": "company_field_3",
                "value": "True"
            }
        ]
    },
    "service": {
        "name": "Video Service",
        "category": "Virtual Sub Category 1",
        "categoryId": 22,
        "method": "Video",
        "methodId": 2,
        "jrniId": 48855,
        "externalId": "423512",
        "customServiceFields": [
            {
                "ref": "service_field",
                "value": "1"
            },
            {
                "ref": "service_field_2",
                "value": "2"
            }
        ]
    },
    "staff": {
        "name": "Staff Member Name",
        "email": "[email protected]",
        "jrniId": 15400,
        "externalId": "1234",
        "phoneNumber": "1234567890",
        "customStaffFields": [
            {
                "ref": "person_field",
                "value": "1"
            },
            {
                "ref": "person_field_2",
                "value": "2"
            }
        ]
    },
    "resource": {
        "name": "resource",
        "address": "123, 345, town, United States",
        "jrniId": 10,
        "externalId": "resref"
    },
    "customer": {
        "firstName": "Jrni",
        "lastName": "Test",
        "email": "[email protected]",
        "mobile": "+1 1234567890",
        "homePhone": "",
        "jrniId": 12,
        "externalId": "123545462"
    },
    "additionalAttendeeCustomers": [
        {
            "firstName": "Additional",
            "lastName": "Customer",
            "email": "[email protected]",
            "mobile": "+11234567890",
            "type": "Customer",
            "createdAt": "2023-02-15 17:19:20",
            "extra_infos": null
        }
    ],
    "additionalAttendeeStaff": [
        {
            "name": "Staff Member Name",
            "email": "[email protected]",
            "jrniId": 15406,
            "externalId": "addstaff",
            "type": "Staff",
            "createdAt": "2022-08-09 19:54:22",
            "customStaffFields": [
                {
                    "ref": "person_field",
                    "value": "1"
                },
                {
                    "ref": "person_field_2",
                    "value": "2"
                }
            ]
        }
    ],
    "triggerName": "booking_created",
    "triggeredBy": "",
    "triggerTime": "2023-02-15T17:48:36+0000"
}