Maintain control of your Microsoft 365 data
Post Reply
flavio.santos
Enthusiast
Posts: 28
Liked: 3 times
Joined: Nov 26, 2020 3:57 pm
Full Name: Flavio Santos
Contact:

VBO API Search Exchange Items - Date format

Post by flavio.santos »

Good morning guys, I'm trying to use the query parameters for exchange filters https://helpcenter.veeam.com/archive/vb ... ox_id.html

I'm trying to retrieve e-mails created from date A to date B, but it never returns any e-mail. For other filters, like to, from, subject, title, it is working.

https://<<IP>>:4443/v4/RestoreSessions/{{restoreSessionID}}/organization/mailboxes/{{mailboxID}}/action

Code: Select all

{
  "search":{
     "query": "start:2020-08-28T00:00:38Z end:2022-08-28T00:00:38Z"
  }
}
Any idea?

Thanks!
Polina
Veeam Software
Posts: 2976
Liked: 707 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: VBO API Search Exchange Items - Date format

Post by Polina » 2 people like this post

Hi Flavio,

Try something like this:

Code: Select all

{
  "search":{
     "query": "datecreated:>2020-08-28T00:00:38Z AND datecreated:<2022-08-28T00:00:38Z"
  }
}
And here you can find the full list of search parameters: https://helpcenter.veeam.com/archive/vb ... earch.html
flavio.santos
Enthusiast
Posts: 28
Liked: 3 times
Joined: Nov 26, 2020 3:57 pm
Full Name: Flavio Santos
Contact:

Re: VBO API Search Exchange Items - Date format

Post by flavio.santos »

It worked Polina, Thanks for your help!
Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests