Fetching appointments via API causing timeouts

This forum is for programmers who have questions about the source code.
Post Reply
rasheemo
Posts: 15
Joined: Wed May 27, 2020 6:01 am

Fetching appointments via API causing timeouts

Post by rasheemo » Thu Dec 03, 2020 11:51 am

If I filter by passing a status="booked" param, I get the results just fine, but i'm trying to get all the appointments as a one time upload into our system. How do we increase the timeout on the API or what other way can we do this to prevent timeouts?

Image

rochelle
Posts: 10
Joined: Mon Jun 01, 2020 10:29 am

Re: Fetching appointments via API causing timeouts

Post by rochelle » Fri Dec 04, 2020 6:33 am

We actively limit the results if they will take too long to retrieve. If you have a large number of appointments, we will time out instead of return them all. It is recommended that you limit them by some form of criteria and get them in batches based on those criteria instead.

Post Reply