Discussions
Query available booking times/dates through API
almost 4 years ago by Nick Tyshing
I am looking at building a custom form on my website which enables a customer to make a booking directly into the Servicem8 system as the generic form is not suitable for my business.
I need to understand what the available fields are, and in particular, how to query the available appointment time/date component through the API to list available booking times and dates on my website.
I am looking to collect the following fields on my website:
- Customer Name
- Customer Address
- Customer Phone Number
- Customer Email Address
- Customer preferred booking time/date
I envisage the first four fields (name, address, phone number and email address) are relatively straight forward, however I need to understand how to get the available appointment times/dates from Servicem8 to display on my website for customers to select?