chris
chris

Reputation: 113

How do I get `singleValueExtendedProperties` for MS Graph v1.0 delta queries?

I'm trying to $expand on singleValueExtendedProperties for a delta query on my messages, but I'm getting an odd error.

Delta query

https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages/delta?$expand=singleValueExtendedProperties($filter=id eq 'String 0x007D')

Response

{
    "error": {
        "code": "InternalServerError",
        "message": "Value cannot be null.\r\nParameter name: type",
        "innerError": {
            "request-id": "d7cf6c83-a062-4051-85b4-30a5aadf2e65",
            "date": "2017-10-06T10:05:10"
        }
    }
}

The documentation says this is supported. I've also verified (via the GraphAPI explorer) that:

  1. the non-delta version of the query works with singleValueExtendedProperties
  2. the delta version works without singleValueExtendedProperties

Is this a bug in the API or expected behavior? I know I can follow up with multiples GETs to pull the desired extended properties, but I'd rather avoid spawning several requests if I can get away with one.

Upvotes: 5

Views: 3095

Answers (1)

Marc LaFleur
Marc LaFleur

Reputation: 33124

There is limited support for the $filter query parameter on messages/delta. From the documentation:

The only supported $filter expresssions are $filter=receivedDateTime+ge+{value} or $filter=receivedDateTime+gt+{value}.

Upvotes: 1

Related Questions