Thank you for expressing interest in the Amelia plugin.
We have API, but unfortunately, we don't have documentation for it, but you can inspect request/response HTTP headers in our Lite version.
You can check these routes:
For fetching entities:
/wp-admin/admin-ajax.php?action=wpamelia_api&call=/entities&types[]=locations&types[]=employees&types[]=categories&types[]=custom_fields
For fetching time slots:
/wp-admin/admin-ajax.php?action=wpamelia_api&call=/slots&locationId=[LOCATION_ID]&serviceId=[SERVICE_ID]&providerIds[]=[PROVIDER_ID]&group=1&persons=1
For booking:
/wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings
For notification after successfull booking:
/wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings/success/[BOOKING_ID]e.g.
I get the slots via this route : /wp-admin/admin-ajax.php?action=wpamelia_api&call=/slots&locationId=[LOCATION_ID]&serviceId=[SERVICE_ID]&providerIds[]=[PROVIDER_ID]&group=1&persons=1
"Group=1" means that when booking from the front-end, the customer will also have the group appointments displayed as available. This is how it is by default, except on the back-end where when you create a new appointment, it cannot be created at the same date/time as the already existing appointment for the same employee.
Hope this helps you.
Please let me know if you have any other questions.
Hello !
I'm willing to buy your plugin but before that I want to be sure that there is an exisiting documentation for developers.
I will create an REST API where I'll get avalaible slots from employees for example. Are there any exisiting action/filters hooks ou function ?
Thanks !
Corentin BRANQUET
Hello Branquet,
Thank you for expressing interest in the Amelia plugin.
We have API, but unfortunately, we don't have documentation for it, but you can inspect request/response HTTP headers in our Lite version.
You can check these routes:
For fetching entities: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/entities&types[]=locations&types[]=employees&types[]=categories&types[]=custom_fields
For fetching time slots: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/slots&locationId=[LOCATION_ID]&serviceId=[SERVICE_ID]&providerIds[]=[PROVIDER_ID]&group=1&persons=1
For booking: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings
For notification after successfull booking: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings/success/[BOOKING_ID]e.g.
Booking made with ajax request:
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi !
I get the slots via this route : /wp-admin/admin-ajax.php?action=wpamelia_api&call=/slots&locationId=[LOCATION_ID]&serviceId=[SERVICE_ID]&providerIds[]=[PROVIDER_ID]&group=1&persons=1
What does group=1 means ?
Thanks for your reply !
Hello Branquet,
Thank you for reaching back out to us.
"Group=1" means that when booking from the front-end, the customer will also have the group appointments displayed as available. This is how it is by default, except on the back-end where when you create a new appointment, it cannot be created at the same date/time as the already existing appointment for the same employee.
Hope this helps you.
Please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables