-
- Enthusiast
- Posts: 43
- Liked: 6 times
- Joined: Oct 21, 2014 7:56 am
- Contact:
REST API: Filter JobSessions by Time
Hello,
i'm using the following endpoint to retrieve the jobsessions for a Job. "/v5/Jobs/{jobId}/JobSessions"
This works fine but gives me all Job Sessions and i'm not sure how it will perform if there are a lot of sessions.
Is it possible to use a filter like ?filter=endTime>="{fromDate}" ?
I tried it but it seems like the API just ignores it.
i'm using the following endpoint to retrieve the jobsessions for a Job. "/v5/Jobs/{jobId}/JobSessions"
This works fine but gives me all Job Sessions and i'm not sure how it will perform if there are a lot of sessions.
Is it possible to use a filter like ?filter=endTime>="{fromDate}" ?
I tried it but it seems like the API just ignores it.
BACKUP EAGLE® Developer
-
- Veeam Software
- Posts: 3194
- Liked: 774 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: REST API: Filter JobSessions by Time
Hi,
Currently, such filtering is not supported for this call. I'll take it as a FR.
Thanks!
Currently, such filtering is not supported for this call. I'll take it as a FR.
Thanks!
-
- Enthusiast
- Posts: 43
- Liked: 6 times
- Joined: Oct 21, 2014 7:56 am
- Contact:
Re: REST API: Filter JobSessions by Time
Thanks Polina. That would be great.
In the meantime i have to deal with it. Do you know how long the retention period for JobSessions is?
In the meantime i have to deal with it. Do you know how long the retention period for JobSessions is?
BACKUP EAGLE® Developer
-
- Veeam Software
- Posts: 3194
- Liked: 774 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: REST API: Filter JobSessions by Time
It depends on your current settings: https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=50
-
- Enthusiast
- Posts: 43
- Liked: 6 times
- Joined: Oct 21, 2014 7:56 am
- Contact:
Re: REST API: Filter JobSessions by Time
Hi Polina,
can you give me an update about the FR?
If this will be implemented, it would be nice to query the Version or Buildnumber, so i can switch between filtered and non filtered Command.
can you give me an update about the FR?
If this will be implemented, it would be nice to query the Version or Buildnumber, so i can switch between filtered and non filtered Command.
BACKUP EAGLE® Developer
-
- Veeam Software
- Posts: 3194
- Liked: 774 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: REST API: Filter JobSessions by Time
Hi Talom,
The upcoming v6 will allow filtering sessions from the most recent to the specified date.
The upcoming v6 will allow filtering sessions from the most recent to the specified date.
Who is online
Users browsing this forum: No registered users and 5 guests