cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Rest API help required

yash_verma
New Contributor

Hi Team,
My requirement is I want to pass email address for validity to Rest API post call and it will return the id of the job submitted. Than I need to execute another Rest API Get call which will list the status of all the job submitted and in that response I need to check the status of latest job id (returned from Rest POST call I mentioned above) and continue to get the status till it shows completed. After the status is completed I need to call another rest get to get the details of emails. Please help how to do this.

image

image

1 REPLY 1

spinaka
New Contributor III

Hello Yash,
Keep a condition in has_next property like status!=โ€˜completedโ€™ and provide the next URL. It will keep iteration until the condition evaluates false but will pass the response data of every call to output. You can have a filter snap with condition status==โ€˜completedโ€™ and then the last REST Get.