I see that Amelia has the possibility to connect with a REST API. I couldn't find any documentation about it, and i don't even know where to start. I have found the possible routes, but just don't know where to start.
Could you please give me a small example, on how to get the data after one has booked an appointment?
I wouldn't normally ask this if there was any documentation, and i know you can't deliver support for this. But it would help me enormously, as i'd love to integrate Amelia with other services like ActiveCampaign (Without the use of Zapier)
If you could please just give me a small example of code where i can retreive all the data from an appointment booking, that'd be great.
Yes we have API Routes, but most of them are protected depends on of the permissions that is set in WordPress Accounts. You can check those API Routs in our free version of Amelia. Amelia Lite is a free WordPress booking plugin that allows to set up a fully-featured automated WordPress booking system on your website. It is a handy tool for small businesses and individuals that depend on stable appointment-booking processes. You can download it from this link.
When you download Lite version you can find all API Routs in this file ../wp-content/plugins/ameliabooking/src/Infrastructure/Routes/Routes.php
At the moment we have some JavaScript hooks that are triggered depending on the view:
JS files are modified (minimized) in public version of plugin (in our development environment is accessible), but unfortunately I can not send you our source code because that is the policy of our company.
All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features you can extract the js and customise it.
Hi Amelia!
I see that Amelia has the possibility to connect with a REST API. I couldn't find any documentation about it, and i don't even know where to start. I have found the possible routes, but just don't know where to start.
Could you please give me a small example, on how to get the data after one has booked an appointment?
I wouldn't normally ask this if there was any documentation, and i know you can't deliver support for this. But it would help me enormously, as i'd love to integrate Amelia with other services like ActiveCampaign (Without the use of Zapier)
If you could please just give me a small example of code where i can retreive all the data from an appointment booking, that'd be great.
Thanks in advance!
Hi Maarten
Thank you for reaching out to us.
Yes we have API Routes, but most of them are protected depends on of the permissions that is set in WordPress Accounts. You can check those API Routs in our free version of Amelia. Amelia Lite is a free WordPress booking plugin that allows to set up a fully-featured automated WordPress booking system on your website. It is a handy tool for small businesses and individuals that depend on stable appointment-booking processes. You can download it from this link.
When you download Lite version you can find all API Routs in this file ../wp-content/plugins/ameliabooking/src/Infrastructure/Routes/Routes.php
At the moment we have some JavaScript hooks that are triggered depending on the view:
JS files are modified (minimized) in public version of plugin (in our development environment is accessible), but unfortunately I can not send you our source code because that is the policy of our company.
All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features you can extract the js and customise it.
You can find an official documentation here:
https://wpamelia.com/documentation/
However, we don't have a separate API documentation at the moment.