
Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Subject
REST API - Using dates and multiple-value keys for view queries
Posted by
Marat Golaviev on 07/12/2012 at 12:34 AM
Details
Hi! Is there a way to use multiple values and datetimes for "keys" parameter of a view collection REST service?
Something like http://server/db.nsf/api/data/collections/name/MyView?keys=smith;john
Original LotusScript/Java View.GetAllDocumentsByKey can query over multiple columns if provided with an array of values...
From what I've digged up in source code, SearchKeyNavigator class supports both and ViewParameters class allows arbitrary objects as keys. However, ViewEntryCollectionResource uses DefaultViewParameters, which only supports a string as a "keys" parameter.
Modification history
| Entered 12-Jul-2012 0:34 by Marat Golaviev. Last Modified <none> by Niklas Heidloff. |
Feedback
Check out other projects
Anonymous