This automation notifies your application whenever the following Classes events occur:

  • Schedule Created

  • Schedule Updated

  • Schedule Cancelled

  • Schedule Deleted

Check the API documentation for the class schedule events.

Sample Response Object – Schedule Created

{
"id": "6239abffa961750e01dd9c86",
"event_id": "6239abffa961750e01dd9c85",
"event_schema": "v1",
"event_resource": "Class",
"event_type": "Class.Schedule.Created",
"event_timestamp": "2022-03-22T10:59:11.4809104Z",
"data": {
"sesion_id": 89604,
"center_id": "e1693623-bda5-4b3e-a2a7-611ea4f1f7ad",
"class_name": "abc camp",
"start_time": "2022-03-21T15:15:00",
"end_time": "2022-03-21T17:45:00",
"duration_in_mins": 30,
"instructor_details_list": null,
"room_id": null,
"capacity": 10,
"web_capacity": 5,
"show_in_catalog": 1,
"is_free_session": false,
"description": null,
"html_description": null,
"is_recurring": false,
"recurrence_start_time": null,
"recurrence_end_time": null,
"recurrence_type": null,
"frequency": null,
"num_occurences": null,
"weekdays": null,
"override_conflict_check": false,
"enforce_add_on_conflict": false,
"class_type": 1,
"code": null,
"event_id": null,
"student_virtual_link": null,
"instructor_virtual_link": null,
"recurrence_id": null,
"recurrence_session_ids": null
}
}

Sample Response Object – Schedule Updated

{
"id": "6239ada0a961750e01dd9cb9",
"event_id": "6239ada0a961750e01dd9cb7",
"event_schema": "v1",
"event_resource": "Class",
"event_type": "Class.Schedule.Updated",
"event_timestamp": "2022-03-22T11:06:08.1767409Z",
"data": {
"sesion_id": 89604,
"center_id": "e1693623-bda5-4b3e-a2a7-611ea4f1f7ad",
"class_name": "abc camp",
"start_time": "2022-03-21T15:15:00",
"end_time": "2022-03-21T18:00:00",
"duration_in_mins": 45,
"instructor_details_list": null,
"room_id": null,
"capacity": 10,
"web_capacity": 5,
"show_in_catalog": 1,
"is_free_session": false,
"description": "",
"html_description": "",
"is_recurring": false,
"recurrence_start_time": null,
"recurrence_end_time": null,
"recurrence_type": null,
"frequency": null,
"num_occurences": null,
"weekdays": null,
"override_conflict_check": false,
"enforce_add_on_conflict": false,
"class_type": 1,
"code": null,
"event_id": -1,
"student_virtual_link": "",
"instructor_virtual_link": "",
"recurrence_id": null,
"recurrence_session_ids": null
}
}

Sample Response Object – Schedule Cancelled

{
"id": "6239bff3a961750e01dd9fba",
"event_id": "6239bff3a961750e01dd9fb9",
"event_schema": "v1",
"event_resource": "Class",
"event_type": "Class.Schedule.Cancelled",
"event_timestamp": "2022-03-22T12:24:19.503615Z",
"data": {
"sesion_id": 89606,
"center_id": "e1693623-bda5-4b3e-a2a7-611ea4f1f7ad",
"class_name": "abc camp",
"start_time": "2022-03-22T13:00:00",
"end_time": "2022-03-22T13:30:00",
"duration_in_mins": 30,
"instructor_details_list": null,
"room_id": null,
"capacity": 10,
"web_capacity": 5,
"show_in_catalog": 1,
"is_free_session": false,
"description": null,
"html_description": null,
"is_recurring": false,
"recurrence_start_time": null,
"recurrence_end_time": null,
"recurrence_type": null,
"frequency": null,
"num_occurences": null,
"weekdays": null,
"override_conflict_check": false,
"enforce_add_on_conflict": false,
"class_type": 1,
"code": null,
"event_id": null,
"student_virtual_link": null,
"instructor_virtual_link": null,
"recurrence_id": null,
"recurrence_session_ids": null
}
}

Sample Object Response – Schedule Deleted

{
"id": "6239c037a961750e01dd9fcf",
"event_id": "6239c037a961750e01dd9fcd",
"event_schema": "v1",
"event_resource": "Class",
"event_type": "Class.Schedule.Deleted",
"event_timestamp": "2022-03-22T12:25:27.6049613Z",
"data": {
"sesion_id": 89606,
"center_id": "e1693623-bda5-4b3e-a2a7-611ea4f1f7ad",
"class_name": "abc camp",
"start_time": "2022-03-22T13:00:00",
"end_time": "2022-03-22T13:30:00",
"duration_in_mins": 30,
"instructor_details_list": null,
"room_id": null,
"capacity": 10,
"web_capacity": 5,
"show_in_catalog": 1,
"is_free_session": false,
"description": null,
"html_description": null,
"is_recurring": false,
"recurrence_start_time": null,
"recurrence_end_time": null,
"recurrence_type": null,
"frequency": null,
"num_occurences": null,
"weekdays": null,
"override_conflict_check": false,
"enforce_add_on_conflict": false,
"class_type": 1,
"code": null,
"event_id": null,
"student_virtual_link": null,
"instructor_virtual_link": null,
"recurrence_id": null,
"recurrence_session_ids": null
}
}

Did this answer your question?