Creator API

REST API - List Forms in Application

URL

To list all Forms in an application:

https://creator.zoho.com/api/<format>/<applicationName>/forms/

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.

Formats

xml, json

HTTP Method

GET

Parameters

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

Prerequisites

Notes

  • Only the owner can see the list of forms in an application.

Sample Request

<form method="GET" action="https://creator.zoho.com/api/xml/sample/forms/fields">
<input type="hidden" name ="authtoken" value="************">
<input type="hidden" name ="scope" id="scope" value="creatorapi">
<input type="submit" value="List Forms in Application">
</form>

Sample Response

XML response

<?xml version="1.0" encoding="UTF-8" ?>
<response>
<application name="sample">
<formlist>
<formcount>1</formcount>
<form>
<displayname>Employee</displayname>
<componentname>Employee</componentname>
<linkid>257</linkid>
<type>1</type>
</form>
</formlist>
</application>
</response>

JSON response

{"application-name":["sample",{"formList":[{"formCount":1},{"linkid":257,"displayname":"Employee","componentname":"Employee","type":1}]}]}

Error Codes

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".

Top