To cancel
private sharing of a presentation for a particular user.
Request URL : (POST)
XML :
http://show.zoho.com/api/private/xml/cancelsharing/[presentationId]?apikey=[API
Key]&ticket=[Ticket]
JSON :
http://show.zoho.com/api/private/json/cancelsharing/[presentationId]?apikey=[API
Key]&ticket=[Ticket]
Request parameters
To cancel private sharing of
a presentation in Zoho Show we need to submit a form data with the following
fields as mentioned below:
Field
|
Description
|
emailid
|
[string] - Email ID of the user whose sharing access is to be
revoked.
|
Sample Form (POST Method)
<form method="POST"
action="http://show.zoho.com/api/private/xml/cancelsharing/?apikey=[APIKEY]&ticket=[Ticket]">
<input type="hidden" name="emailid" value="[EmailID]">
<input type="submit" value="cancelsharing"
name="submit">
</form>
Response fields
The
schema document for the API response is located at: http://show.zoho.com/schema/api/presentationaction.xsd
Field
|
Description
|
presentationId
|
Unique ID associated with the shared
presentation.
|
presentationName
|
Name of the presentation whose sharing is to
be revoked.
|
Sample Response
The
following is the sample XML response for the above
method:
<?xml version="1.0"
encoding="UTF-8" ?>
<response uri="/api/private/xml/cancelsharing/3000000007043">
<result>
<presentationId>3000000007043</presentationId>
<presentationName>newtest</presentationName>
</result>
</response>
Equivalent JSON
response
{
"response":
{
"uri": "/api/private/json/cancelsharing/3000000007043",
"result":
{
"presentationId":"3000000007043",
"presentationName":"newtest"
}
}
}
Errors
Revoking sharing access of a presentation from a
user method may return general & input errors.