| |||||
API Home >> Creator API >> XML API >> XML - RPC API Methods >> View Record
View Record - XML Format
| <ZohoCreator> <application name="app name"> <form name="form 1"> <criteria> <field name="field1" compOperator="EQUAL" value="xxx"></field> </criteria><reloperator>AND</reloperator> <field name="Age" compOperator="EQUAL" value="2"></field> <range>
<startindex>1</startindex> <limit>100</limit> </range> </form> </application> </Zohocreator> |
Note:
1. The values that can be specified for the <compOperator> is given below:
Sample Form (POST Method Format)<form method="POST" action="http://creator.zoho.com/api/xml/read/apikey=[APIKEY]&ticket=[Ticket]">
<input type="hidden" name="XMLString" value="XML String in the format as specified in the Request format">
<input type="submit" value="Sumit XML String">
</form>
| <ZohoCreator> <application name="sample"> </ZohoCreator><form name="Employee_Form"> </application><criteria> </form><field name="Name" compOperator="EQUALs" value="Nicholas"></field> </criteria> |
| <response> <form name="Employee_Form"> <criteria> <field name="Name" compOperator="EQUALs" value="Nicholas"/> </criteria> <records> <record> <column name="ID">3000000012255</column> <column name="Name">Nicholas</column> <column name="Address">"10, NorthWing St, NY, USA"</column> <column name="E-mail">nick@yahoo.com</column> <column name="Joining Date">25-Jun-2006</column> <column name="Hobbies">Music,Gardening</column> <column name="Qualification">M.C.A</column> <column name="Basic">50000</column> <column name="Department">Accounts</column> </record> </records> </form> |
If there is an error in the request format, the corresponding error code with the error message will be displayed. Please refer the topic, Error codes and description, to
learn about the list of error code displayed.
If the record is added to the database, the response message will be displayed with status as "Success".