Cursor Pagination Testing API demonstrates cursor-based pagination, useful for large datasets where offset is inefficient.
Method
GET
Endpoint
{{base_url}}/orderdetails-cursor_OAuth2.0
Query Parameters
| Parameter Name | Value | Description |
|---|---|---|
| limit | {%max_num%} | Maximum records per request |
| cursor | {%cursor_val%} | Token representing current pagination state |
Authorization
Type: OAuth 2.0
Refresh Token Endpoint URL: {{base_url}}/api/oauth2/token
Headers
{
"Content-Type": "application/x-www-form-urlencoded"
}
Body
{
"grant_type": "password",
"client_id": "{{client_id}}",
"client_secret": "{{client_secret}}",
"username": "training@bizdata360.com",
"password": "B!zdata@360"
}
Pagination Details
Pagination Type: Cursor Pagination
User Key: nextCursor
Data Collection Key: [‘items’]
Numeric Parameters
| Parameter | Value | Description |
|---|---|---|
| Minimum Number | 0 | Minimum records per page |
| Maximum Number | 100 | Maximum records per page |
Notes
- Cursor values are opaque and must not be modified.
- Each response returns a cursor for the next page.
Authentication Instructions
To acquire the Base URL and create your own Client ID and Secret, please refer to the My Profile section within your eZintegrations account.