"If you want to search the job database for a specific set of jobs, for example, all the failed jobs in the last 2 hours, you can build an API query like the following:"
GET /nwrestapi/v3/global/jobs?q=completionStatus:Failed AND startTime:['2020-03-25T10:00:00' TO '2020-03-25T12:00:00']&fl=id,command,exitCode
barry_beckers
393 Posts
0
February 5th, 2023 05:00
did you have a look at the NW api setup on https://developer.dell.com (or NW specifically https://developer.dell.com/apis/2378/versions/v3/docs/GettingStarted.md)? Might wanna use Chrome as FF doesn't seem to be rendering the site OK enough (missing scroll bar on left hand side).
https://developer.dell.com/apis/2378/versions/v3/docs/examples/Example-9JobMonitoring.md
"If you want to search the job database for a specific set of jobs, for example, all the failed jobs in the last 2 hours, you can build an API query like the following:"
API response:
Or doesn't that work combined with the last 24h query?