Pentaho

 View Only

REST API - how to loop for "next" rows

This thread has been viewed 5 times
  • 1.  REST API - how to loop for "next" rows

    Posted 01-02-2023 10:06
    Hi

    I managed to authenticate and get a response from an API.
    Unfortunately, the response is partial and only 100 rows are returned.
    I will have to do other POST requests until there is no more a "next" value indicated in the XML rows I get.

    Any advice for achieving some kind of loop ?

    thx.

    ------------------------------
    Marc M
    Chief Information Officer
    mkmr
    ------------------------------