To list all Forms and Views in an application:
https://creator.zoho.com/api/<format>/<applicationName>/formsandviews
where <applicationName> is the script name of the application as can be referred to here and <format> is the type of response format as listed below.
xml, json
GET
Parameter Name | Usage | Description |
authtoken | Required. | A valid API authtoken. Refer https://api.creator.zoho.com/Generate-Auth-Token.html for generating authtoken. |
scope | Required | Specify the value as creatorapi |
zc_ownername | Required | The owner of the application. |
<form method="GET" action="https://creator.zoho.com/api/xml/sample/formsandviews/">
<input type="hidden" name ="authtoken" value="************">
<input type="hidden" name ="scope" id="scope" value="creatorapi">
<input type="submit" value="List Forms and Views in Application">
</form>
<?xml version="1.0" encoding="UTF-8" ?>
<response>
<application name="sample">
<formlist>
<formcount>1</formcount>
<form>
<displayname>Employee</displayname>
<componentname>Employee/componentname>
<linkid>153</linkid>
</form>
</formlist>
<viewlist>
<viewcount>1</viewcount>
<view>
<displayname>Employee View</displayname>
<componentname>Employee_View</componentname>
<linkid>60</linkid>
</view>
</viewlist>
</application>
</response>
{"application-name":["sample",{"viewList":[{"viewCount":1},{"linkid":60,"displayname":"Employee View","componentname":"Employee_View"}],"formList":[{"formCount":1},{"linkid":153,"displayname":"Employee","componentname":"Employee"}]}]}
If there is an error in the request format, the corresponding error code with error message will be displayed. Please refer to the topic Error codes and descriptions for the list of error codes. If the operation is successful, the response message will be displayed with status as "Success".