To poll the status you would need to use the REST APIs (/compute), not the Web interface (/SASJobExecution).
If you're looking to run jobs from a web frontend, you could look at SASjs - this will automatically handle the polling for you with a very simple javascript method ( sasjs.request(/job/name,dataPayload) ).
If you are looking to do this from commandline, you can also use the CLI (`sasjs job execute /some/job`) - https://cli.sasjs.io/job/
These are open source tools built and maintained by my team (not SAS). They are free for commercial use.
/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya -
Data ControllerDevOps and AppDev on SAS 9 / Viya / Base SAS -
SASjs