Closed sntlln93 closed 6 months ago
GET /appointments/closest
Show the appointment that is happening right now with:
If there is practician is available, show closest appointment with:
The optimal path will be is to do it with a GET closest-appointment/ endpoint but the fastest way is to reuse the GET appointments/ endpoint.
GET closest-appointment/
GET appointments/
Checklist
GET /appointments/closest
Client
Show the appointment that is happening right now with:
If there is practician is available, show closest appointment with:
Api
The optimal path
will beis to do it with aGET closest-appointment/
endpointbut the fastest way is to reuse the.GET appointments/
endpoint