search cancel

API query only returns 20 active users when I know there are more

book

Article ID: 216603

calendar_today

Updated On:

Products

CA Agile Central SaaS (Rally)

Issue/Introduction

The following query is only bringing up 20 active users who have admin access irrespective of project, Am I missing something here. How can I get all the active Project admins instead of 20.

https://rally1.rallydev.com/slm/webservice/v2.0/projectpermission?query=(((Project.Name%20=%20%22Test%20-%20Test%20-TEAM%20TEST%20(DevOps%20%26%20Test)%22)%20and%20(Role%20=%20Admin))%20and%20(User.Disabled%20=%20False))&order=Rank&fetch=User,EmailAddress&stylesheet=/slm/doc/webservice/browser

 

Resolution

Please try adding this to the end of your query:

%26start%3D1%26pagesize%3D200

It's the equivalent of

&start=1&pagesize=200

Our API queries default to a page size of 20