Popular Articles
Sorry! nothing found for
Posted about 2 years by Florian Mathieu
Here is an API batch to create a location for a training center, including the settings for the scheduling process:
widget:
notifications:
Appointment booking process:
You can learn more about settings for a training center in our use case.
{ "requests": [ { "path": "/api/2.1/scheduling/companies", "method": "POST", "body": { "name": "My Location", "address": { "city": "", "country": "US", "otherStreet": "", "state": "", "street": "", "zipCode": "" }, "currency": "USD", "email": "", "phone": "", "scheduledItems": "service-staff", "timeZone": "US/Eastern", "workingHours": [ { "day": "monday", "hours": [ { "end": "12:00", "start": "09:00" }, { "end": "18:00", "start": "14:00" } ] }, { "day": "tuesday", "hours": [ { "end": "12:00", "start": "09:00" }, { "end": "18:00", "start": "14:00" } ] }, { "day": "wednesday", "hours": [ { "end": "12:00", "start": "09:00" }, { "end": "18:00", "start": "14:00" } ] }, { "day": "thursday", "hours": [ { "end": "12:00", "start": "09:00" }, { "end": "18:00", "start": "14:00" } ] }, { "day": "friday", "hours": [ { "end": "12:00", "start": "09:00" }, { "end": "18:00", "start": "14:00" } ] }, { "day": "saturday", "hours": [ { "end": "12:00", "start": "09:00" } ] }, { "day": "sunday", "hours": [] } ] } }, { "path": "/api/2.1/scheduling/companies/{id}/services", "method": "POST", "body": { "allowBookingIteration": false, "availability": "public", "bufferDuration": 0, "price": 0, "capacity": 20, "color": "#770d69", "description": "", "duration": 15, "maxAppointmentsPerDay": 0, "name": "Online course", "overNight": false, "overNightStartTime": "", "payable": false } }, { "path": "/api/2.1/scheduling/companies/{company.id}/staff", "method": "POST", "body": { "firstName": "Jane", "lastName": "Doe", "email": "", "description": "Formateur", "services": [ { "id": "{id}" } ] } }, { "path": "/api/2.1/scheduling/companies/{company.id}/settings", "method": "PUT", "body": { "rules": { "validation": "auto", "maxAppointmentDate": "months-2", "minAppointmentDate": "hours-1", "waitingList": true }, "widget": { "appointmentForSomeoneElse": true, "displayPrices": false, "displayDuration": true, "displayServicePicture": false, "staffMemberNameFormat": "{staff name} {staff lastname}", "freeSlotsIntervalTime": "service+buffer", "displayConfirmPrintPage": true }, "items": { "serviceAlgorithm": "smart", "staffServiceAllowRandomStaff": false, "scheduledItems": "staff-service" }, "reminders": { "first": { "delay": "1440", "email": true }, "second": { "delay": "60", "sms": true } } } } ] }
0 Votes
0 Comments
Login or Sign up to post a comment
People who like this
This post will be deleted permanently. Are you sure?
Here is an API batch to create a location for a training center, including the settings for the scheduling process:
widget:
notifications:
Appointment booking process:
You can learn more about settings for a training center in our use case.
0 Votes
0 Comments
Login or Sign up to post a comment