From the help section REST API (View Records) I was able to retrieve all the records entered into my Zoho form in JSON format from my php script. They have a sample request there that I emulated.
However, this returns the ENTIRE record set but I would like to retrieve only the last one entered and use it in my code. I have not found any way to do this at all. Downloading the entire JSON file of all records will be problematic as my data set grows.
UPDATE: This is the request from HTML for retrieving the dataset.
<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>
Thanks
You may want try set a criteria and use a date value, better still use the 'limit' and set value to 1:
<input type="hidden" name="criteria" value="(StartDate == zoho.currentdate")">
<!-- below was tested and works -->
<input type="hidden" name="limit" value="1">
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.