[#488] API Book Method - How to specify provider and service?

Migrated from Redmine #488 | Author: Vu La
Status: New | Priority: Normal | Created: 2020-03-12


Hi,

I am able to call the book method, however I can’t seem to see a parameter to specify what provider or service the booking is for.

Is it possible to book an appointment for a particular provider selecting the service and datetime?

Thanks.

Vu La wrote:

I think I found it so the event_id is the service id and the unitId is the provider id?

If so, how can we get or know the event_id and unitID? Is there an API that we can call?

Redmine Admin wrote:

Please check list of available methods here Company public service methods - Company public service methods - SimplyBook.me

you need getEventList and getUnitList

Vu La wrote:

Great thank you!

(Short original content)