Points to Consider

The Receivables Customer Account Site Activities resource has six child resources. While expanding the child resources, the resource may take longer to respond if a high volume of records need to be fetched.

Here are some recommended parameters you can use to fetch only the required data:

  • Expand: Expand only the required child resources. Avoid specifying all options and expanding all child resources at once.
  • Fields: Use the fields option to fetch only the required attributes from the resource.
  • Limit & Offset: Always fetch data using pagination by specifying limit & offset parameters in the request URL. By default, the service will fetch 25 records at a time if the limit parameter is not specified. Keep the limit value low for faster responses.

Note:

You can use the hasMore attribute from the response to find out if the result has more data to be fetched.

In addition, try to fetch details of one specific site at a time. Fetching multiple sites along with their child resources can take much longer.