I'm using the Alteryx Download Tool to make API calls to Azure DevOps, but I'm not sure how to get the remaining records when I get a
x-ms-continuationtoken passed back in the DownloadHeaders field. I've read up on using an Iterative Macro to put the
x-ms-continuationtoken value back into the URL and call Azure DevOps to retrieve the remain records. This process would need to loop thru until it no longer finds a x-ms-continuationtoken in the DownloadHeaders field.
[Example URL]:
[Logic]:
The logic is pretty straight forward:
1) After initial API call, check Download tool DownloadHeaders field for x-ms-continuationtoken
2) Loop process:
If x-ms-continuationtoken found
load x-ms-continuation value into url &continuationToken={continuationToken}&
call api (using url with continuationToken)
append returned results to previous records
Else
stop processing (no addition api call needed to retrieve additional records)
I've searched the forums and seen examples that might work but I don't have any experience using Iterative Macro. Any help would be appreciated.
Thank you.
I think you can achieve this by: