How to increase number of records returned by REST API call?
Hello,
I'm trying to get all users allocation XML using REST API. I've tried https://kvhoclm3.delta.internal:9443/ccm/rpt/repository/apt?fields=apt%2FworkResourceDetails%2F%28contributor%2FuserId|assignment|startDate|endDate%29 and it returns only 100 records.
I've tried https://kvhoclm3.delta.internal:9443/ccm/rpt/repository/apt?fields=apt%2FworkResourceDetails%2F%28contributor%2FuserId|assignment|startDate|endDate%29&size=1000
and again only 100 records.
Any ideas on how I could retrieve all records?
-thanks in advance
One answer
The URL should return all the records, but only display 100 element per page. You can use the URL at the top of the page to navigate to the following pages.
<apt Version="1.0.0" rel="next" href="https://kvhoclm3.delta.internal:9443/ccm/rpt/repository/apt?fields=apt%2FworkResourceDetails%2F%28contributor%2FuserId%7Cassignment%7CstartDate%7CendDate%29&id=<id>&size=100&pos=100"/>
<apt Version="1.0.0" rel="next" href="https://kvhoclm3.delta.internal:9443/ccm/rpt/repository/apt?fields=apt%2FworkResourceDetails%2F%28contributor%2FuserId%7Cassignment%7CstartDate%7CendDate%29&id=<id>&size=100&pos=100"/>
Comments
Sandy Grewal
JAZZ DEVELOPER Apr 10 '13, 9:55 a.m.Timur Markunin
Apr 10 '13, 10:09 a.m.