在帮助部分REST (查看记录)中,我能够从我的php脚本中检索所有以JSON格式输入到Zoho中的记录。他们有一个我模仿过的样本请求。
但是,这将返回整个记录集,但我只想检索最后输入的记录集,并在代码中使用它。我根本没有办法做到这一点。随着数据集的增长,下载所有记录的整个JSON文件将成为问题。
UPDATE:这是HTML检索数据集的请求。
<form method="GET" action="http://creator.zoho.com/api/json/my_application_name/view/my_report_name">
<input type="hidden" name ="authtoken" value="****">
<input type="hidden" name ="zc_ownername" value="ownername">
<input type="hidden" name ="scope" id="scope" value="creatorapi">
<input type="submit" value="View Records">
</form>谢谢
发布于 2016-12-05 07:24:34
您可能希望尝试设置条件并使用日期值,最好还是使用“限制”并将值设置为1:
<input type="hidden" name="criteria" value="(StartDate == zoho.currentdate")">
<!-- below was tested and works -->
<input type="hidden" name="limit" value="1">https://stackoverflow.com/questions/38556074
复制相似问题