Next availability

Publié sur un an par  Mathieu Changeat

Publier une rubrique
Sans réponse
M
Mathieu Changeat

In the API the APPOINTMENTS endpoints give the ability to list every appointments for every people in the staff.


Is there a way to get a list of next availabilities with the following parameters:

  • service id
  • start datetime
  • end datetime
  • staff id : optional

?

Thanks


0 Votes


5 Commentaires

Triés par
Julien Pauthier

Julien Pauthier publiés 9 mois Administrateur

Hello,

Actually, the startDate & endDate are simply expected as yyyy-MM-dd format, without any hour limit.

I hope this helps!

Best regards,

Julien

0 Votes

M

Mathieu Changeat publiés 9 mois

Thank you.

Is there a way to precise an hour range, for example in the parameters startDate, endDate?

I tried startDate=2022-03-23T09:00:00 and endDate=2022-03-23T10:00:00 but I still get slots outside the hour range.


Thanks!

0 Votes

Julien Pauthier

Julien Pauthier publiés 9 mois Administrateur

Hello,


Following up on your feedback, the section "Widget" is now renamed "Available time slots" in our documentation (same URL though: https://developers.agendize.com/v2.1/scheduling/reference/widget/index.jsp)


Best regards

0 Votes

M

Mathieu Changeat publiés sur un an

Thank you, that's exactly what I was looking for... I got confused by the name "widget", I did not expect to find this in this section.


Have a good day!

0 Votes

Julien Pauthier

Julien Pauthier publiés sur un an Administrateur

Hello Mathieu,


Sure, you can get list of all available time slots, using either nextSlots or freeSlots:

https://developers.agendize.com/v2.1/scheduling/reference/widget/index.jsp


In both cases, you can look up available time slots for [shortest] or [longest] service. And for nextSlots, start/end datetime are not mandatory.


I hope this helps!


Best regards


0 Votes

Connexion ou S'inscrire pour poster un commentaire