[#934] Impossible to get a provider ID of a slot

Migrated from Redmine #934 | Author: Mathieu Laurent
Status: New | Priority: Normal | Created: 2022-09-23


I’m a part of a team which is working on a product selling website for skiing domains.
For these sales, we use SimplyBook.me to manage and reserve slots for activities.
Clients can reserve a slot for an activity during their holidays without regarding which service provider is linked to the specific slot.

To manage and reserve our slots we are using :
The API GET /admin/timeline/slots to get every slots possible
We offer the customer every slot (with no information of the linked providers)
The customer select a slot
We create the booking with the API POST /admin/bookings
We want to offer every slot of every provider to the client, but when the client selects a slot we want to know who is the provider of this specific slot.
Thus when we create the booking with the API POST /admin/bookings, we do not know which provider id we should give

We searched in your REST API documentation to find how to do it, but we didn’t find an API which returns the provider for a slot.

How can we identify with a specific slot given, which providers are offering this slot?

Many thanks in advance you for your help,
Best regards

Redmine Admin wrote:

hi, before showing slots to client you need to search available slots by this method API documentation | SimplyBook.me Online Scheduling
provider_id is one of the mandatory params

Mathieu Laurent wrote:

Thank you for your answer !