Zoho - Trademark Blogs   Forums   Contact Us   Show Home   Toll Free : 888 900 9646
API METHOD - (< Back)

show.trashPresentation - Used to trash an existing presentation i.e. move it to the trash folder.


Arguments


1. [struct] - required*

Containing Keys:

Field Description
presentationid

[scalar] - required* - Unique ID of the presentation to be trashed.

 

Sample call to show.trashPresentation

POST /interface/xmlrpc HTTP/1.0
Host: http://www.show.zoho.com/
Content-Type: text/xml
Content-Length:

<?xml version=\"1.0\" encoding=\"UTF-8\"?>

<methodCall xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://show.zoho.com/schema/presentationaction.xsd">
    <methodName>show.trashPresentation</methodName>
        <params>
            <param>
                <value>
                    <struct>
                    <member>
                        <name>presentationid</name>
                        <value><int>2000001100907</int></value>
                    </member>
                    </struct>
                </value>
            </param>
        </params>
</methodCall>


Response


Sample return value for show.trashPresentation

HTTP/1.1 200 OK
Connection: close
Content-Length:

Content-Type: text/xml
Date: Wed 01 Nov 2006 23:45:59 GMT
Server: Apache/1.3.4 (Unix)

<methodResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://show.zoho.com/schema/responsetrash.xsd">
    <Trash>
        
    <presentation_name>The KISS principle in management</presentation_name>
            <presentation_id>2000001100907</presentation_id>
            <author_name>henrymichel</author_name>
            <created_date>Thu, Jan 11, 2007</created_date> 
            <is_public>false</is_public> 
            <last_modifiedtime>10 days ago</last_modifiedtime> 
            <slide_transitiontime>0</slide_transitiontime> 
            <info>The presentation is successfully trashed</info>
    </Trash>
</methodResponse>