Pagination

Overview

General information about the pagination is listed in Results Pagination topic.

Here you can find:

Examples of pagination usage with cURL requests.

Using pagination in cURL requests

This tutorial requires prior knowledge of compiling and executing POST requests in Base Employee API.

Use parameter x-next-page-after to retrieve a second page of IDs.

  1. Navigate to the Headers section and click it:

  1. Find the following information: – x-next-page-afterx-total-pagesx-total-results

  2. Add parameter ?after={x-next-page-after} to the POST request to see the next results page:

  1. Execute the request, and you will see the next page in the Body section:

Limiting search results per page

Query parameter ?items_per_page={int} allows you to specify the number of results retrieved per Search results page. The current limit is 1,000. Thus, this parameter lets you set a smaller limit value for the results page.

Last updated

Was this helpful?