qinglau
11 years agoMentor
How to use Users object page index in REST API call
Hi Guys,
I am using a REST API call with the specific role id to get list of users. However, each time the return total number of users object is only 25.
http://forum.kpn.com/restapi/vc/roles/id/627/users?page=1&pagesize=1000
The total number of users is 66 . When I am using
http://forum.kpn.com/restapi/vc/roles/id/627/users/count
Is there a way to return all the users object in one call? or i have to change the page parameter each time to make another call to next 25 users.
Cheers,
Qing
Hi qinglau ,
The parameter name should be "page_size", not "pagesize", that is why default (25) is used for page size.
Best Regards
Haidong