You can use the getFields method to fetch details of the fields available in a particular module.
XML Format:
https://crm.zoho.com/crm/private/xml/Tasks/getFields?authtoken=Auth Token&scope=crmapi
JSON Format:
https://crm.zoho.com/crm/private/json/Tasks/getFields?authtoken=Auth Token&scope=crmapi
Note:
Parameter | Data Type | Description |
authtoken* | String | Encrypted alphanumeric string to authenticate your Zoho credentials. |
scope* | String | Specify the value as crmapi. |
type | String | Specify the value as 1 or 2
Note: Do not specify the type, if you want to retrieve all fields from the module. |
* - Mandatory parameter
Note:
<?xml version="1.0" encoding="UTF-8" ?>
- <Potentials>
- <section name="Potential Information" dv="Potential Information">
<FL req="false" type="Lookup" maxlength="120" label="Potential Owner" customfield="false" />
<FL req="false" type="Currency" maxlength="16" fval="$0.00" label="Amount" customfield="false" />
<FL req="true" type="Text" maxlength="120" label="Potential Name" customfield="false" />
<FL req="true" type="Date" maxlength="20" label="Closing Date" customfield="false" />
<FL req="true" type="Lookup" maxlength="100" label="Account Name" customfield="false" />
+ <FL req="true" type="Pick List" maxlength="100" label="Stage" customfield="false">
+ <FL req="false" type="Pick List" maxlength="120" label="Type" customfield="false">
<FL req="false" type="Integer" maxlength="3" label="Probability" customfield="false" />
<FL req="false" type="Text" maxlength="100" label="Next Step" customfield="false" />
<FL req="false" type="Currency" maxlength="16" fval="$0.00" label="Expected Revenue" customfield="false" />
+ <FL req="false" type="Pick List" maxlength="120" label="Lead Source" customfield="false">
<FL req="false" type="Lookup" maxlength="50" label="Campaign Source" customfield="false" />
<FL req="false" type="Lookup" maxlength="50" label="Contact Name" customfield="false" />
<FL req="false" type="OwnerLookup" maxlength="25" label="Created By" customfield="false" />
<FL req="false" type="OwnerLookup" maxlength="25" label="Modified By" customfield="false" />
<FL req="false" type="Text" maxlength="10" label="newfield" customfield="true" />
</section>
-<section name="Description Information" dv="Description Information">
<FL req="false" type="TextArea" maxlength="32000" label="Description" customfield="false" />
</section>
</Potentials>