Hello
I am trying to get a list of jobs using the REST API’s backupJobs operation. It seems that if no filter is given, only the last 24 hours worth of jobs is returned. I would like to get all the jobs that started after a certain date and for this, I am using a filter similar to:
$filter=startTime%20ge%20datetime'2016-12-15T22:30:04Z'
I say “similar” because I have tried all sorts of ways to encode this query (‘+’ instead of %20, %3A instead of ‘:’, various formats for the time stamp), to no avail. I always end up with the jobs for the past 24 hours.
What is strange is that if I try to filter on the operation type (i.e. “backup”), then I get all the backups there are in the system (I only have backups for the past 2 months).
Here is an example of the query I use:
Does anyone have an example of a backupJobs query with a timestamp filter that works?
Thanks in advance,
Laurent.