Skip to main content
Solved

I'm working with an API but the results come back paginated, how can I loop through the responses to get all the data back?

  • July 24, 2019
  • 1 reply
  • 46 views

fmelizard
Safer
Forum|alt.badge.img+21

I would love an example workspace if possible.

Best answer by brianatsafe

Hi FME Lizard!

 

 

Here is an example workspace to try out jobhistorystatisticsgathering.fmw This is distributed with FME Server (Dashboards folder) to grab the job history for our dashboard functionality. It uses the FME Server REST API and a custom transformer with a loop to ensure it grabs all the results. Give it a try!
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

brianatsafe
Safer
Forum|alt.badge.img+13
  • Safer
  • Best Answer
  • July 24, 2019

Hi FME Lizard!

 

 

Here is an example workspace to try out jobhistorystatisticsgathering.fmw This is distributed with FME Server (Dashboards folder) to grab the job history for our dashboard functionality. It uses the FME Server REST API and a custom transformer with a loop to ensure it grabs all the results. Give it a try!