| |||||
API Home >> Creator API >> REST API >> REST API Methods >> Sharing Application
Sharing Application
Request Parameters
The
request parameters comprises of .
| Field | Description |
| applinkname | 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. |
| mailids/usernames | The user email ids/user names 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//share/">
<input type="text" name="applinkname" id="applinkname" value="[applicationName]">
<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//share/">
<input type="text" name="applinkname" id="applinkname" value="[applicationName]">
<textarea rows=10 cols=27 name="usernames" id="usernames"
value="[user names seperated by commas]"> </textarea>
<input type="hidden" name ="apikey" id="apikey"
value="[APIKEY]">
</form>
<form method="POST" action ="http://creator.zoho.com/api/xml/share/">
<input type="text" name="applinkname" id="applinkname" value="employee">
<input type="textarea" name="mailids" value="test@zoho.com">
<input type="hidden" name ="apikey" id="apikey" value="7be221b9e0c6b859f2932463d5388409">
<input type="submit" value="Share">
</form>
<mailid>test@zoho.com</mailid>
</mailids>
{
"response":
[
{
"status":"Success",
"mailids":["test@zoho.com"],
"application":[{"name":"employee"}],
"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 |
| applinkName | 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. |
| mailids/usernames | The user email ids/usernames 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//cancelshare/">
<input type="text" name="applinkname" id="applinkname" value="[applicationName]">
<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//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>
<mailid>test@zoho.com</mailid>
</mailids>
{
"response":
[
{
"status":"Success",
"mailids":["test@zoho.com"],
"application":[{"name":"employee"}],
"share":[{"operation":"remove"
}
]
}
]
}
If the application is successfully shared with the users, the response message will be displayed with status as "Success".