Odata v.4 $filter for the DateTime Calendar Events in the Office 365 REST API -


i trying , filter calendar events office 365 rest api following query:

https://outlook.office.com/api/v2.0/users/user@user.com/calendars/aaaaaaaaaaa/events?$top=100&$select=bodypreview&$filter=start ge 2016-02-10t22:00:00z 

so want 100 results bodypreview return value events greater 2016-02-10 22:00:00.

the error message receive one:

error request returned 400 error: code: 'requestbroker-parseuri', message: 'a binary operator incompatible types detected. found operand types \'microsoft.outlookservices.datetimetimezone\' , \'edm.datetimeoffset\' operator kind \'greaterthanorequal\'.' 

the query without filter option works flawlessly. how query represent 'microsoft.outlookservices.datetimetimezone' type?

i had @ post: odata $filter date in office 365 rest api

but can not see difference between query , 1 in post.

and examples on https://msdn.microsoft.com/en-us/office/office365/api/complex-types-for-mail-contacts-calendar not mention type of datetimetimezone query in examples.

i tried query format:

datetime'2016-01-10t22:00:00' 

also no luck. ideas?

the type start , end changed in beta , v2 endpoints. it's complex type, need change filter bit:

$filter=start/datetime ge 2016-02-10t22:00:00z 

Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -