This automation notifies your application whenever the following class bookings events occur:

  • Booking Created

  • Booking Cancelled

  • Booking Deleted

  • Booking Approved

  • Booking No Show

  • Booking Rejected

Check the API documentation for class booking events.

Sample Response Object – Booking Created

{
"id": "6239c1dea961750e01dda035",
"event_id": "6239c1dea961750e01dda034",
"event_schema": "v1",
"event_resource": "Class",
"event_type": "Class.Booking.Created",
"event_timestamp": "2022-03-22T12:32:30.292629Z",
"data": {
"workshop_id": 11370,
"track_id": -1,
"class_id": 11370,
"session_id": 89607,
"add_to_all": 0,
"training_virtual_guests": null,
"guest_id": "ef44e802-505c-4129-9744-0978c094c8f2",
"center_id": "e1693623-bda5-4b3e-a2a7-611ea4f1f7ad",
"waitlist": false,
"booking_source": null,
"registration_id": 119986,
"group_invoice_id": null,
"is_recurring": false,
"recurrence_id": null,
"recurrence_registration_ids": null,
"guest_registration_ids": null
}
}

Sample Response Object – Booking Deleted

{
"id": "6239c247a961750e01dda052",
"event_id": "6239c247a961750e01dda051",
"event_schema": "v1",
"event_resource": "Class",
"event_type": "Class.Booking.Deleted",
"event_timestamp": "2022-03-22T12:34:15.3797492Z",
"data": {
"workshop_id": 11370,
"track_id": -1,
"class_id": 11370,
"session_id": 89607,
"add_to_all": null,
"training_virtual_guests": null,
"guest_id": "ef44e802-505c-4129-9744-0978c094c8f2",
"center_id": "e1693623-bda5-4b3e-a2a7-611ea4f1f7ad",
"waitlist": null,
"booking_source": null,
"registration_id": 119986,
"group_invoice_id": null,
"is_recurring": false,
"recurrence_id": null,
"recurrence_registration_ids": null,
"guest_registration_ids": null
}
}

Sample Response Object – Booking Cancelled

{
"id": "6239c2dda961750e01dda065",
"event_id": "6239c2dda961750e01dda064",
"event_schema": "v1",
"event_resource": "Class",
"event_type": "Class.Booking.Cancelled",
"event_timestamp": "2022-03-22T12:36:45.390915Z",
"data": {
"workshop_id": 11370,
"track_id": -1,
"class_id": 11370,
"session_id": 89607,
"add_to_all": null,
"training_virtual_guests": null,
"guest_id": "adae1b6e-0015-4a0b-8ab9-f248f229f856",
"center_id": "e1693623-bda5-4b3e-a2a7-611ea4f1f7ad",
"waitlist": null,
"booking_source": null,
"registration_id": 119988,
"group_invoice_id": null,
"is_recurring": false,
"recurrence_id": null,
"recurrence_registration_ids": null,
"guest_registration_ids": null
}
}

Sample Response Object: Booking No Show

{
"id": "6239c378a961750e01dda09c",
"event_id": "6239c378a961750e01dda099",
"event_schema": "v1",
"event_resource": "Class",
"event_type": "Class.Booking.NoShow",
"event_timestamp": "2022-03-22T12:39:20.6984376Z",
"data": {
"workshop_id": 11370,
"track_id": -1,
"class_id": 11370,
"session_id": 89607,
"add_to_all": null,
"training_virtual_guests": null,
"guest_id": "ef44e802-505c-4129-9744-0978c094c8f2",
"center_id": "e1693623-bda5-4b3e-a2a7-611ea4f1f7ad",
"waitlist": null,
"booking_source": null,
"registration_id": 119987,
"group_invoice_id": null,
"is_recurring": false,
"recurrence_id": null,
"recurrence_registration_ids": null,
"guest_registration_ids": null
}
}

Sample Response Object – Booking Approved

{
"workshop_id": 5543,
"track_id": 1098,
"class_id": 4567,
"session_id": 55467,
"add_to_all": 0,
"guest_id": "204ad224-8f5d-4996-90f1-7add19e30213",
"center_id": "442af543-6b2c-7677-65t3-4dff40d43987",
"waitlist": true,
"booking_source": 0,
"registration_id": 43987,
"group_invoice_id": "C35C1C68-208A-4CDB-A01E-DC541BA9D3C1",
"training_virtual_guests": [{
"guest_id": "43FAE108-E5CB-4CE0-8A73-87995DBEEF87",
"registration_id": 43986,
"first_name": "test",
"last_name": "lastname",
"email": "test@email.com",
"mobile_phone":{
"country_code": 91,
"number": 7653467398
},
"gender": 1
}],
"recurrence_id": 23456,
"recurrence_registration_ids": [55467, 55468]
}

Sample Response Object – Booking Rejected

{
"workshop_id": 5543,
"track_id": 1098,
"class_id": 4567,
"session_id": 55467,
"add_to_all": 0,
"guest_id": "204ad224-8f5d-4996-90f1-7add19e30213",
"center_id": "442af543-6b2c-7677-65t3-4dff40d43987",
"waitlist": true,
"booking_source": 0,
"registration_id": 43987,
"group_invoice_id": "C35C1C68-208A-4CDB-A01E-DC541BA9D3C1",
"training_virtual_guests": [{
"guest_id": "43FAE108-E5CB-4CE0-8A73-87995DBEEF87",
"registration_id": 43986,
"first_name": "test",
"last_name": "lastname",
"email": "test@email.com",
"mobile_phone":{
"country_code": 91,
"number": 7653467398
},
"gender": 1
}],
"recurrence_id": 23456,
"recurrence_registration_ids": [55467, 55468]
}

Did this answer your question?