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

[Client bug]: Microsoft.Graph.Users.Item.CalendarGroups.Item.Calendars.Item.CalendarView.CalendarViewRequestBuilder.CalendarViewRequestBuilderGetQueryParameters no StartTime/EndTime option #2263

Closed
cyuz opened this issue Dec 21, 2023 · 1 comment · Fixed by #2289

Comments

@cyuz
Copy link

cyuz commented Dec 21, 2023

I'm using 5.37.0 graph sdk

To get a user's calendar in a specific calendarGroup.
GET /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
If I do same behavior via c#
client.Users[idOrEmail].CalendarGroups[group.ID].Calendars[calendarId].CalendarView.GetAsync();
I will got "This request requires a time window specified by the query string parameters StartDateTime and EndDateTime." exception

But Microsoft.Graph.Users.Item.CalendarGroups.Item.Calendars.Item.CalendarView.CalendarViewRequestBuilder.CalendarViewRequestBuilderGetQueryParameters Class do not have StartDateTime and EndDateTime options

@andrueastman
Copy link
Member

Thanks for raising this @cyuz

This is a metadata issue that is causing the missing query parameters in the SDK. Tracking this via microsoftgraph/msgraph-metadata#538

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants