REST API criteria

REST API criteria

Hello.

I am trying to download a Report using a criteria, but all I get is a "2921  ,Invalid criteria specified.".

Here is the (test) code I am using:

  1. <html>
  2. <form method="GET" action="https://creator.zoho.com/api/csv/<myApp>/view/<myReport>">
  3. <input type="hidden" name ="authtoken" value="<myToken>">
  4. <input type="hidden" name="zc_ownername" value="<myUser>">
  5. <input type="hidden" name="scope" value="creatorapi">
  6. <input type="hidden" name="limit" value="3">
  7. <input type="hidden" name="criteria" value="Program=ART">
  8. <input type="submit" value="View Records">
  9. </form>
  10. </html>
This is a simple test I am trying, but I plan to use a criteria to retrieve all the records whose date belongs to the current week.

Of course, if I remove the criteria field, it works ok, retrieving all the records.

I have read the documentation but haven't found a clue.

What is the right way to accomplish this?

Thanks in advance.