Microsoft Graph $filter by singleValueExtendedProperties

  Kiến thức lập trình

I’m trying to filter singleValueExtendedProperties through Graph api.
A singleValueExtendedProperties which I want to filter is PidTagDeferredSendTime (Property ID: 0x3FEF, Data type: PtypTime, 0x0040).

I can get this value with expand.

https://graph.microsoft.com/v1.0/me/mailfolders/drafts/messages?$expand=singleValueExtendedProperties($filter=id eq 'SystemTime 0x3FEF')

However, I want to get list of messages which have value for PidTagDeferredSendTime.
I tried bellow urls but failed.

https://graph.microsoft.com/v1.0/me/messages?$filter=singleValueExtendedProperties/Any(ep: ep/id eq 'SystemTime 0x3FEF' and ep/value ge '2023-04-24T04:00:00Z')

https://graph.microsoft.com/v1.0/me/messages?$filter=singleValueExtendedProperties/Any(ep: ep/id eq 'SystemTime 0x3FEF' and contains(ep/value, '2024'))

https://graph.microsoft.com/v1.0/me/messages?$filter=singleValueExtendedProperties/Any(ep: ep/id eq 'String {SystemTime 0x3FEF}' and ep/value ne null)&$expand=singleValueExtendedProperties($filter=id eq 'String {SystemTime 0x3FEF}')

I would be very appreciated for any help/hints/thoughts.

LEAVE A COMMENT