Skip to main content
Skip table of contents

Conventions

Paging 

Endpoints support paging to prevent overloading Avercast servers with large result sets. Two query string parameters support paging. These are page and pageSize. The response will have a pageInfo object under the “data” root. You can iterate through the pages using the nextPage value until you have reached the end of the dataset. Be aware that if you do not specify paging parameters they may be set automatically if your dataset is large enough and the result may contain only the first portion of your data.

https://api.avercast.com/dependent_demand?pageSize=100&page=10 

Code Snippet
JSON
"pageInfo": {

  "description": "pagination information indexed starting at 0, and default page=0 and pageSize=100",

  "totalRecords": 5008,

  "totalPages": 50,

  "selectedPageSize": 100,

  "currentPageSize": 100,

  "currentPage": 10,

  "remainingPages": 40,

  "nextPage": 11

}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.