Some criteria can't be supported when edit records via Creator API
This is my appication url:
I've tried to update record by using Email as criteria.
The response is a failure, with the following response :
{"formname":["test",{"operation":["update",{"newvalues":[{"Age":"200"}],"criteria":"Email==
wei.wang_zh@pcstars.com","status":"Failure, No Records Found With Specified Criteria."}]}]}
But the same code just with the different criteria (not email/Chinese characters,just english characters and numbers) , it worked.
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <form method="POST" action="https://creator.baihui.com/api/creatorissue/json/testapp/form/test/record/update/">
- <input type="hidden" name ="authtoken" value="0b9a1897ac10cf66a9e699f688cb6522">
- <input type="hidden" name ="scope" id="scope" value="creatorapi">
- <input type="text" name="criteria" value="ID==81781000000300103">
- <input type="text" name="Age" value="200">
- <input type="submit" value="Update Record">
- </form>
{"formname":["test",{"operation":["update",{"newvalues":[{"Age":"200"}],"criteria":"ID==81781000000300103","status":"Success"}]}]}
I found someone asked this issue before, but not fixed yet . Could you pls help us to check and fix it ?