Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query onlineMeetings by Start Date Time #2492

Closed
mwasham opened this issue May 14, 2024 · 3 comments
Closed

Query onlineMeetings by Start Date Time #2492

mwasham opened this issue May 14, 2024 · 3 comments
Labels
for:MS-Q&A An issue that's better suited for Microsoft Q&A Needs: Attention 👋 Question: API type:bug A broken experience type:question An issue that's a question

Comments

@mwasham
Copy link

mwasham commented May 14, 2024

Describe the bug

I'm querying the users online meetings (using MS Graph)
var result = await graphClient.Users[userid].OnlineMeetings.GetAsync((requestConfiguration) =>
{
requestConfiguration.QueryParameters.Filter = "start/dateTime ge 2024-04-13T23:00:00.0000000Z";
});
This is from Fiddler
GET https://graph.microsoft.com/v1.0/users/966226d6-44e1-4910-a984-1ec8b27c94c3/onlineMeetings?$filter=start%2FdateTime%20ge%202024-04-13T23%3A00%3A00.0000000Z HTTP/1.1

This is the response..
{"error":{"code":"InvalidArgument","message":"Filter expression expected - /onlineMeetings?$filter={ParameterName} eq '{id}'.","innerError":{"request-id":"b1a87825-1677-4f00-9a45-31603f4dcdd4","date":"2024-05-14T19:59:34","client-request-id":"b6330b35-382b-4cf6-8660-d1c5dc857760"}}}

What am I missing to query upcoming online meetings for this user?

Expected behavior

Returned future onlineMeetings

How to reproduce

Query Graph
var result = await graphClient.Users[userid].OnlineMeetings.GetAsync((requestConfiguration) =>
{
requestConfiguration.QueryParameters.Filter = "start/dateTime ge 2024-04-13T23:00:00.0000000Z";
});

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
@mwasham mwasham added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels May 14, 2024
@andrueastman
Copy link
Member

Thanks for raising this @mwasham

As this repo is mainly intended for SDK related issues, we may not be best placed to answer if the API supports this functionality. The error suggests that the filter clause expects an eq clause.

Any chance you can post the same question at the link below to get feedback from the API owners? It would be great if you could post back the link of the issue here as a comment so that anyone who comes across this may also find the information.

https://aka.ms/askgraph

@andrueastman andrueastman added Question: API type:question An issue that's a question for:MS-Q&A An issue that's better suited for Microsoft Q&A Needs: Author Feedback and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels May 16, 2024
@andrueastman
Copy link
Member

Thanks @mwasham. We'll close this so that this may be followed up there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for:MS-Q&A An issue that's better suited for Microsoft Q&A Needs: Attention 👋 Question: API type:bug A broken experience type:question An issue that's a question
Projects
None yet
Development

No branches or pull requests

2 participants