REST API Paging Advice (Breaking JSON)

REST API Paging Advice (Breaking JSON)

Comments

  • We are paging through a REST API which returns JSON. For each subsequent call we need to get the last ID from the page before.

    We have been able to achieve this using JSON Deserialisation in the flow (after creating the JSON structure), but ideally we wouldnt have to deserialise the JSON in order to do this.

    We have seen the step "Get Value From Json By Name" which we believe may give us the result we need, but there is no documentation on how this works.

    1. Whats the best way to achieve this?
    2. Is the step "Get Value From Json By Name" an option?
    3. If so, what is the syntax for the "Name" variable if the value we need is nested in multiple levels?

    Thanks in advance for any help.

  • [font=Roboto]Hi Andy, you might try dot notation (Structure.Property.MyData) to get the correct data from your JSON text. If that does not work, then your best option would be to deserialize the data and map the data accordingly.[/font]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!