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

  • Appointment started

  • Appointment completed

Check the API documentation for the appointment events.

Sample Response Code – Appointment Started

{
"invoice_id": "413c2fbe-e3a9-4638-a9c6-1369c8eccaf5",
"invoice_number": "4901",
"appointment_group_id": "1832089f-d2bc-402e-a56f-249e70492e2a",
"center_id": "9a895b3c-1994-42c0-bc61-efda4a6e2828",
"appointments": [
{
"id": "01d2dbac-51ad-4a5c-a252-40eaf47dd3a0",
"invoice_item_id": "40a64c18-ae1e-4c5d-913c-0072763acd09",
"service_name": "Service with segments",
"service_id": "0e76466a-c514-447d-ac07-e04c0b86fdca",
"start_time": "2022-02-21T18:30:00",
"end_time": "2022-02-21T19:30:00",
"serviceduration_in_miutes": 120,
"has_add_ons": true,
"is_add_on": false,
"therapist_name": "RENU K",
"TherapistId": "461ac926-2553-49f8-b9bd-0f7b6518daaa",
"is_recurring": false,
"appointment_type": 2,
"therapist_request_type": 4,
"room_name": "",
"equipment_name": "",
"appointment_progress": 1
}
]
}

Sample Response Object – Appointment Completed

{
"invoice_id": "095b1101-2904-4bc2-9de4-043591fdfb8e",
"invoice_number": "4902",
"appointment_group_id": "6b675eff-35c9-4c40-8688-e4746a71fa98",
"center_id": "9a895b3c-1994-42c0-bc61-efda4a6e2828",
"appointments": [
{
"id": "e4895bb9-2ef5-4fb2-9cbe-318e07d251c7",
"invoice_item_id": "39062a9e-4db7-4686-8c2a-22ea8adf1850",
"service_name": "1 Service",
"service_id": "4da307fb-0798-4b12-b34a-12be6903ef20",
"start_time": "2022-02-25T06:00:00",
"end_time": "2022-02-25T07:00:00",
"serviceduration_in_miutes": 60,
"has_add_ons": true,
"is_add_on": false,
"therapist_name": "Pavan K",
"TherapistId": "40bed28f-6f27-4fd1-a65b-05e80a26b96a",
"is_recurring": false,
"appointment_type": 2,
"therapist_request_type": 4,
"room_name": "",
"equipment_name": "",
"appointment_progress": 2
}
]
}

Did this answer your question?