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

show.embedPresentation - Used to embed a slideshow from an existing presentation.


Arguments


1. [struct] - required*

Containing Keys:

Field Description
presentationid

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

width (optional)

[scalar] - optional - Width of the slide frame.

height (optional)

[scalar] - optional - Height of the slide frame.


Sample call to show.embedPresentation

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/embedpresentation.xsd">
    <methodName>show.embedPresentation</methodName>
        <params>
            <param>
                <value>
                    <struct>
                        <member>
                            <name>presentationid</name>
                            <value><long>2000005300882</long></value>
                        </member>
                    </struct>
                </value>
            </param>
        </params>
</methodCall>


Response


Sample return value for show.embedPresentation

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/responseembedpres.xsd">
    <presentation_name>Honesty Pays</presentation_name>
    <presentation_id>2000005300882</presentation_id>
    <author_name>tomcasey</author_name>
    <created_date>Thu, Jan 11, 2007</created_date> 
    <is_public>true</is_public> 
    <last_modifiedtime>3 hours ago</last_modifiedtime> 
    <slide_transitiontime>0</slide_transitiontime> 
    <presentation_url>
            <iframe src="http://show.zoho.com/ViewURL?&ticket=USER=xyz&DOC=abc&IFRAME=yes" height='370' width='480' name=gdx scrolling=no frameBorder='0'></iframe>
    </presentation_url>
</methodResponse>