| |||||
API Home >> Creator API >> REST API >> REST API Methods >> Sharing Forms and Views
Sharing Forms and Views
Request Parameters
The
request parameters comprises of .
| Field | Description |
| applicationName | The application name as specified in deluge script. Refer http://creator.zoho.com/api/reference/ to view the application names as specified in the deluge script. |
| formName/viewName | Name of the Form/View to be shared in the application as specified in deluge script. Refer http://creator.zoho.com/api/reference/ to view the application names as specified in the deluge script. |
| mailids | The user email ids to share the application, seperated by commas. For example, test@zoho.com, test1@zoho.com |
<form method="POST" action
="http://creator.zoho.com/api/xml/<applicationName>/<formName> (or)<viewName>/share/">
<textarea rows=10 cols=27 name="mailids" id="mailids"
value="[mailids seperated by commas]"> </textarea>
<input type="hidden" name ="apikey" id="apikey"
value="[APIKEY]">
</form>
<form method="POST" action ="http://creator.zoho.com/api/xml/employee/Employee_Details/cancelshare/">
<input type="textarea" name="mailids" value="test@zoho.com">
<input type="hidden" name ="apikey" id="apikey" value="7be221b9e0c6b859f2932463d5388409">
<input type="submit" value="Share">
</form>
<form name="Employee_Details"/>
<mailid>test@zoho.com</mailid>
</mailids>
{"response":
[
{
"status":"Success",
"mailids":["test@zoho.com"],
"application":[{"name":"employee"},
{"form":[{"name":"Employee_Details"}]}],
"share":[{"operation":"add"}]
}
]
}
If the application is successfully shared with the users, the response message will be displayed with status as "Success".
Request Parameters
The
request parameters comprises of .
| Field | Description |
| applicationName | The application name as specified in deluge script. Refer http://creator.zoho.com/api/reference/ to view the application names as specified in the deluge script. |
| formName/viewName | Name of the Form/View to be shared in the application as specified in deluge script. Refer http://creator.zoho.com/api/reference/ to view the application names as specified in the deluge script. |
| mailids | The user email ids to share the application, seperated by commas. For example, test@zoho.com, test1@zoho.com |
<form method="POST" action
="http://creator.zoho.com/api/xml/<applicationName>/<formName> (or)<viewName>/cancelshare/">
<textarea rows=10 cols=27 name="mailids" id="mailids"
value="[mailids seperated by commas]"> </textarea>
<input type="hidden" name ="apikey" id="apikey"
value="[APIKEY]">
<input type="submit" value="Share">
</form>
<form method="POST" action ="http://creator.zoho.com/api/xml/employee/Employee_Details/cancelshare/">
<input type="textarea" name="mailids" value="test@zoho.com">
<input type="hidden" name ="apikey" id="apikey" value="7be221b9e0c6b859f2932463d5388409">
<input type="submit" value="Share">
</form>
<form name="Employee_Details"/>
<mailid>test@zoho.com</mailid>
</mailids>
{"response":
[
{
"status":"Success",
"mailids":["test@zoho.com"],
"application":[{"name":"employee"},
{"form":[{"name":"Employee_Details"}]}],
"share":[{"operation":"remove"}]
}
]
}
If the application is successfully shared with the users, the response message will be displayed with status as "Success".