Is there a way to search for a calendar event that does not have a specific common extended set of properties?
Using sharedExtendedProperty, I can search for calendar events containing a specific value of the extended property, for example sharedExtendedProperty = "student_id = 500", will return all calendar events where the common extended property of student_id is 500.
But I cannot find a way to search for events in which the same property has not yet been set. Is there any way to do this?
As an example, consider the three events below. I want to perform a search that will return any event that does not have the extended student_id property. Therefore, "training 2" and "training 3" must be returned, but not "training 1".
{ "summary": "training 1", "start": { "dateTime": "2016-08-02T09:00:00-07:00" }, "end": { "dateTime": "2016-08-02T11:00:00-07:00" }, "extendedProperties": { "shared": { "student_id": "56a71d61c17c248729c9b815" } } } { "summary": "training 2", "start": { "dateTime": "2016-08-04T09:00:00-07:00" }, "end": { "dateTime": "2016-08-04T11:00:00-07:00" }, "extendedProperties": { "shared": { "course_type": "internal" } } } { "summary": "training 3", "start": { "dateTime": "2016-08-06T09:00:00-07:00" }, "end": { "dateTime": "2016-08-06T11:00:00-07:00" } }
source share