kelvinRosa / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

OrderBy for EventsResource.ListRequest returns error #429

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
EventsResource.ListRequest EventList = Service.Events.List(calendarname);
 EventList.OrderBy = EventsResource.ListRequest.OrderByEnum.StartTime;
 IList<Event> MyEvents = EventList.Execute().Items;

What is the expected output? What do you see instead?
Instead of the ordered list I get:
The requested ordering is not available for the particular query. [400]

What version of the product are you using?Google.Apis.Calendar.v3 Client 
Library 1.6.0.69-beta
Google APIs Auth MVC Extensions 1.6.0-beta
What is your operating system? Windows 8.1
What is your IDE? MVC 5
What is the .NET framework version? 4.5

Please provide any additional information below.
(I also get a Bad Format when trying to use TimeMin or TimeMax. I was able to 
solve this issues using google api v2 by passing a RFC 3339 date string, but 
the TimeMin requires a DateTime format, which I have tried many various formats 
to no avail. I saw this issue was already open, but I thought I would add my 
experience as well. Thanks.)

Original issue reported on code.google.com by angelaro...@gmail.com on 13 Dec 2013 at 6:21

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 13 Dec 2013 at 11:46

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 14 Dec 2013 at 5:58

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 14 Dec 2013 at 5:59