Zoho - Trademark
Blogs
   Forums   Show Home
   Toll Free : 888 900 9646

API Home >> Show >> API Reference >> Private

 


To restore a particular presentation from trash.



Request URL : (POST)

                            XML : http://show.zoho.com/api/private/xml/restorepresentation/[presentationId]?apikey=[API Key]&ticket=[Ticket]

                            JSON : http://show.zoho.com/api/private/json/restorepresentation/[presentationId]?apikey=[API Key]&ticket=[Ticket]


Request parameters

To restore a particular presentation we need to submit a form data as mentioned below:


Sample Form (POST Method)


<form method="POST"    action="http://show.zoho.com/api/private/xml/restorepresentation/3000000002057?apikey=[APIKEY]&ticket=[Ticket]">

<input type="submit" value="RestorePresentation" 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 each presentation.
presentationName
Name of the presentation that is being restored from trash.


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/restorepresentation/3000000002057">
<result>
      <presentationId>3000000002057</presentationId>
      <presentationName>test</presentationName>
</result>
</response>


Equivalent JSON response


{
    "response":
    {
        "uri": "/api/private/json/restorepresentation/3000000002057",
        "result":
        {
                 "presentationId":"3000000002057",
                 "presentationName":"test"
        }
    }
}




Errors


Restoring a presentation method may return general & input errors.