If using Domino Access View to access a database view as a REST call, is there anyway to pass view selection parameters as part of the URL query string, specifically to accept a date range? This is to limit results to certain criteria?
I have seen the 'keys' and 'keysmatch' params but this won't help with the range selection issue.
Suspecting no, but just wanted some expert feedback!
答案 0 :(得分:2)
您可以在Domino服务器上轻松编写自己的REST API,并让它接受例如日期范围。
我在演示文稿中有这样的例子:http://blog.texasswede.com/my-connect-2016-presentation-demo-database/
以下是构成REST调用的服务器代理的Lotusscript代码:
• result[0] = https://audioboom.(com)/boos/4394781-10-re-shooting-and-re-imagining-suicide-squad.mp3?source=rss&stitched=1
• result[1] = https://d15mj6e6qmt1na.cloudfront.(net)/i/20924438
请注意,它使用了我编写的两个辅助类,您也可以在我的博客上找到它们的代码: http://blog.texasswede.com/free-code-class-to-read-url-name-value-pairs/ 和 http://blog.texasswede.com/calling-a-notes-web-agent-from-another-server-using-jsonp/
答案 1 :(得分:1)
据我所知,这是不可能的。您可以使用query参数检索与您提交的搜索查询匹配的文档(执行多米诺骨牌搜索)。
更多详情可在此处的文档中找到:View/folder entries GET