AnsweredAssumed Answered

Best way to check scan status for a change Via API

Question asked by Nathan Gibson on Dec 28, 2016
Latest reply on Jan 4, 2017 by Martin Walker

I have a need to initiate a scan via the API and then periodically check for a status change ( i.e

'FINISHED','CANCELED','PAUSED','etc). Once the status changes I want to fetch the results using the fetch action. 

 

Currently my script poles the action:list parm every 5 seconds waiting for the status reponse to change. This is crushing my API limits on the account resulting in me only being able to execute the scripts a few times a day. 

 

Any thoughts on a better way to initiate a scan, check for status stages?

 

 

Outcomes