Me, too
I cannot find how to sortorder : I see it's default sortorder ascending, now I want to change on sortorder descending
Anybody help?
Vào 20:58:55 UTC+7 Thứ ba, ngày 04 tháng mười hai năm 2012, Felix Brüning đã viết:I have the problem too. After some googling I didn't find any way to set the sortorder in Calendar API v3... seems weird, because other API versions did have the option...!?
Am Sonntag, 2. September 2012 19:53:36 UTC+2 schrieb Thomas Börkel:HI!
I am trying to set some parameters (orderby, sortorder, start-index) for a Calendar API V3 events request in Java. Those parameters work fine when using JavaScript/Ajax/URL.
com.google.api.services.calendar.Calendar.Events.List list = client.events().list("primary");
list.setQ(searchText);
// list.setOrderBy("starttime"); // -> BAD REQUEST
list.set("sortorder", "descending"); // does not affect the order
list.set("orderby", "starttime"); // does not affect the order?
com.google.api.services.calendar.model.Events feed = list.execute();
And how to set the start-index?
Thanks!
Thomas