How to get jobs ran in last 24 hours using orchestrator api?

How to fetch jobs from orchestrator which ran in last 24 hours using orchestrator API?

2 Likes

hi @ajay_sai, Use orderby=StartTime desc , may be something like this given below:
get “+str(yearint)+”-“+monthstr+”-"+daystr+"T00:00:00Z&$orderby=StartTime des

The str(yearint), monthstr and daystr are all variables to get current day values.

Suggesting you to go through below link:

Refer it , Hope it will be helpful

3 Likes