-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.5.0 API issues #1562
Comments
Hello! Which documentation page are you using for while developing your client? For now please check this config file for an accurate description of the API https://github.com/alextselegidis/easyappointments/blob/main/openapi.yml
|
Hi, |
Hello! That had to do with some late refactoring I had done before the 1.5 release. The docs will be updated but instead of categories use service_categories for your requests and things will work out right.
|
Docs were updated
|
Re-open to check the other issues
|
service_categories does not work either, it returns the "404 Page Not Found | Easy!Appointments" html page |
this needs to be changed to |
Good catch @EagleDelux, just updated this
|
acabei de puxar a versão latest e continua com o mesmo problema nessa rota de api |
I just get 404 pages when trying to get categories list with API.
Also, the API documentation for 1.5.0 may need corrections. I see "categoryId" in the services response but 1.5.0 now respond "serviceCategoryId". This is also a pity having to use different words in my program code for different API versions.
Providers API call returns a php error before response. (json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in models/Providers_model.php line 892) and also a warning (Cannot modify header information - headers already sent by (output started at /var/www/html/system/core/Exceptions.php:283) in core/Common.php line 574)
It would be very useful if you add the ea_appointments.update_date_time field in the API appointments response, so we can see whenever someone modified the appointment.
And with this addition, the possibility to get appointments list created/edited since a defined datetime, so we don't need to get the full list every time to check for modifications.
Thanks.
The text was updated successfully, but these errors were encountered: