Total Page Count Pagination Testing API
Bizdata Total Page Count Pagination Testing API demonstrates pagination where total pages are known, allowing direct navigation.
Method: GET
URL: {{base_url}}/orderdetails-tpc
Query Parameters:
| Parameter Name | Value | Description |
| limit | {%max_num%} | Maximum records per page |
| page | {%min_num%} | Starting page number |
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: Total Page Count Pagination
User Key: total_pages
Key to update: page
Data Collection Key: [‘response’]
Numeric Parameters:
| Parameter | Value | Description |
| Minimum Number | 1 | Minimum records per page |
| Maximum Number | 100 | Maximum records per page |
Notes:
- Allows direct page jumps.
Authentication Instructions:
To acquire the Base URL and create your own Client ID and Secret, please refer to the My Profile section within your Bizdata account.
