How can I use the AAI REST API to pull information similar to what is on the AAI monitoring tab, to see a list of completed, in progress, and/or forecasted jobstream runs over a specific time period?
Release : 6.4.6
1. Access the the AAI REST API Swagger page using the URL http://<serverName>8080/aai/devPreview
2. To use the REST API endpoints on the Swagger page you must first Authenticate using the POST /authentication/login endpoint.
You can get there directly by accessing: http://<serverName>:8080/aai/devPreview/#!/authentication/login
3. To authenticate, click the example on the right hand side, which will copy the payload with the user credentials over to the left hand side, make any updates to your user and password and click "Try it now"
If you get a 200 return code you will be authenticated, if you get any other return code there was an issue logging in.
4. Once authenticated go to the GET /jobstreamRuns API endpoint on the swagger page.
You can get their directly with this URL: http://<serverName>:8080/aai/devPreview/#!/jobstreamRuns/getJobStreamRuns
5. There are quite a few options for this GET request, if you specify no jobstreamId or businessArea it will try to return all jobstreams.
select businessDomainId, businessDomainName from BusinessDomain order by businessDomainName;