Create appointment

Creates appointment

post-api /appointments/create

https://api.oauth.pabau.com/{api_key}/appointments/create

Request

Query Parameters:  
api_key *  
employee_id * System ID of the user
service_id * System ID of the service
location_id * System ID of the location
contact_id * System ID of the contact
start_time * Date (d-m-Y H:i)
end_time Date (d-m-Y H:i) - if not sent it will take the service duration
title String
sent_survey Int - 1 for true (enabled), 0 for false (disabled)
sent_email_reminder
Int - 1 for true (enabled), 0 for false (disabled)
sent_sms int - 1 to send the SMS confirmation, 0 not to send
sent_email int - 1 to send the email confirmation, 0 not to send

Response sample

application/json

{
    "success": true,
    "message": "Appointment created successfully"
}