Next URL Pagination Testing API demonstrates following a returned URL link for pagination.
Method
GET
Endpoint
{{base_url}}/orderdetails-nexturl_OAuth2.0
Query Parameters
| Parameter Name | Value | Description |
|---|---|---|
| limit | {%max_num%} | Maximum records per page |
| page | {%min_num%} | Starting page number |
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: Next URL Pagination
User Key: @odata.nextLink
Data Collection Key: [‘response’]
Numeric Parameters
| Parameter | Value | Description |
|---|---|---|
| Minimum Number | 1 | Minimum records per page |
| Maximum Number | 100 | Maximum records per page |
Notes:
- Next URL must be called exactly as provided.
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.