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

show.getSharedPresentations - Used to get the list of shared presentations.


Arguments


1. [struct] - required*

Containing Keys:

Field Description
fromindex (optional)

[scalar] - optional - Sets the initial presentation number from which the shared presentations will be listed. If there are 10 presentations & fromindex value is set to 3, the presentations will be listed from the 3rd presentation.

noofdocstoshow (optional)

[scalar] - optional - Sets the number of shared presentations to be listed. If the value is set to 5, then no of presentations listed is 5.


If no value is specified in fromindex & noofdocstoshow, all the shared presentations will be listed.

Sample call to show.getSharedPresentations

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/presentations.xsd">
    <methodName>show.getSharedPresentations</methodName>
        <params>
            <param>
                <value>
                    <struct>
                    <member>
                        <name>fromindex</name>
                        <value><int>4</int></value>
                    </member>
                    <member>
                        <name>noofdocstoshow</name>
                        <value><long>9</long></value>
                    </member>
                    </struct>
                </value>
            </param>
        </params>
</methodCall>


Response


Sample return value for show.getSharedPresentations

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/responseshared.xsd">
    <Sharedpresentations>
        
        <presentation>
            <presentation_name><![CDATA[flowchart-ppt]]></presentation_name>
            <presentation_id>5000000023077</presentation_id>
            <shared_by>matt</shared_by>
            <shared_date>Fri 01/19/07</shared_date>
            <allow_to_write>true</allow_to_write>
         
</presentation>

        <presentation>
            <presentation_name><![CDATA[zohoshow-sxi]]></presentation_name>
            <presentation_id>9000000086063</presentation_id>
            <shared_by>andrew</shared_by>
            <shared_date>Sat 01/20/07</shared_date>
            <allow_to_write>true</allow_to_write>
         
</presentation>

    </Sharedpresentations>
</methodResponse>