Issue in Pagination step, Data stream action

Bhavani Shankar
Tera Guru

My response looks like this

 

{
  "value": [<more JSON objects inside>],
  "@odata.nextLink": <This contains the next link to the next set of data>  //I want this!!!
}

 

How do I do the pagination with this. I have tried a lot of steps, here are few rational ones I which were unsuccessful.

 

1. Created one variable in pagination step, select the option get value from response body. In the path I could not say $.@odata..nextLink for obvious reasons, could not say $["@odata.nextLink"] either, for some reason it was not supported. I got a error that said "this is not a proper JSON path"

2. Explored what I get in pageResponse object that comes with the pagination script. That didn't help as it only had response headers.

 

P.S. The rest of the setup looks fine as I get the first set of response. Any help is appreciated.

 

 

Regards,
Bhavani Shankar
Linked In
0 REPLIES 0