How to Access Data From Rest API which has PagingToken

Prapul Kumar Dongari 116 Reputation points
2022-05-13T02:11:31.137+00:00

Hi team, I want to pull the data from rest api using Paging Token .How to use Paging Token in ADF copy Activity.201586-pagingtoken.png201646-adf-copy.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,483 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MartinJaffer-MSFT 26,011 Reputation points
    2022-05-16T19:57:03.627+00:00

    Hello @Prapul Kumar Dongari ,
    Thanks for the question and using MS Q&A platform.

    As we understand the ask here is how to get the pagingToken to use in pagination rules .

    I can help you with how to reference it, the Value portion. However what goes in the Name portion depends on your REST api. It might go in header or in url or in request body (unless it is Get. Get doesn't have body).

    It looks like the pagingToken is in the outermost level of a JSON. Set Value to Body, and then write in $.pagingToken . I made picture below guessing what way your api expects. I can't do better without more information.

    202421-image.png
    Please do let me if you have any queries.

    Thanks
    Martin


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
      • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators