How to get all information rather than parts returned from RTC using Rest API?
Hi all,
When I use Rest API to get the information in the RTC, but I can only get parts of all the information . For example,the counts of members returned from RTC using Rest API should be 451, but the result set only display 50?How can I get the others?
Thanks for any help in advance! |
2 answers
Normaly you control this with the size parameter in the URL: e.g. &size=2000 Comments Hi,Guido,
Thanks for your comments! According to your suggest, I set the size parameter(oslc.pageSize) in my URL The URL can work when the value of oslc.pageSize is less than 100.But it can't work when value of oslc.pageSize equals to the totalCount(the counts >100), returning 500 state code .Besides, I have tried to use the property value of nextpage as the URL, but the returned results were not right. I have no ideas about these,can you give me some guidance?
Thanks in advance!
Brian Fleming
commented Jun 17 '13, 11:33 a.m.
Can you elaborate on what was wrong when you used the "nextpage" url?
Hi,Brian, thanks for your attention. <o:p> </o:p> I want to get all work items belong to a Planned For. So My query URL is https://igartc03.swg.usma.ibm.com/jazz/oslc/contexts/_83qvgGzSEd-Xqre3_CpPFQ/workitems?oslc.where=rtc_cm:plannedFor=https://igartc03.swg.usma.ibm.com/jazz/oslc/iterations/_bDaAEAmeEeKapp8glHcCLw>. When I send request to this URL using the rest add-on in mozilla, the returned result is.
Then I send request to the “nextpage” URL, the result is: <o:p> </o:p>
I have no ideas about why this happened, can you give me some guidance? <o:p> </o:p> Thanks in advance! <o:p> </o:p>
|
Hi all,
This question has been solved by replacing the "&"with "&" in the "nextPage" URL!
Comments +1
Brian Fleming
commented Jun 25 '13, 3:57 p.m.
https://jazz.net/wiki/bin/view/Main/RqmApi actually documents this...
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.