You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Page

edited Mar 4, 2020 2:46AM in Integration 3 comments

Content

Hello -

we have a third party printing service that has exposed a REST API. When we call this service it returns us XML response that has repetition element called  <imageLocation>  </imageLocation> and we get multiple images.

Issue is this REST API can return only 100 records ( 100 of imageLocation) at a time. But it does return us a entire URL ( URL has parameter called offset=100 and  ) in the response indicating   these are more records to come. We have to extract that entire URL from response and call the service with this new extracted URL to fetch next batch of 100 (this time URL will have offset=200)... we repeat this process till the point a URL in response will indicate nextPage=no

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!