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

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

 


To make a presentation public.



Request URL: (POST Method)

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

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


Request parameters :

To make a particular presentation public we need to submit a form data with the following fields:


Sample Form (POST Method)


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

<input type="submit" value="makePublic" name="submit">

</form>




Field
Description
listInPublic [optional]
[boolean] - Option to list the presentation in Zoho public presentation list.


Response fields

The schema document for the API response is located at: http://show.zoho.com/schema/api/publicpresentation.xsd


Field
Description
presentationId
Unique ID associated with the presentation.
presentationName
Name of the presentation that is being made public.
ownerName
Displays the Email ID/Zoho ID of the presentation owner.
publicUrl
Displays the url of the presentation that's been made public.
embedUrlEmbed public presentation into your website by using the iframe code snippet.


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/makepublic/3000000002049">
<result>
      <presentationId>3000000002049</presentationId>
      <presentationName>inventions</presentationName>
      <ownerName>iJack</ownerName>
      <publicUrl>http://show.zoho.com/public/geetha/inventions</publicUrl>
      <embedUrl>
          <iframe src=http://show.zoho.com/ViewURL.sas?USER=geetha&DOC=inventions&IFRAME=yes height='370' width='480' name=inventions scrolling=no frameBorder='0'></iframe>
      </embedUrl>
</result>
</response>


Equivalent JSON response


{
    "response":
    {
        "uri": "/api/private/json/makepublic/3000000002049",
        "result":
        {
             "
presentationId":"3000000002049",
             "presentationName":"inventions",
             "ownerName":"iJack",
             "publicUrl":"http://show.zoho.com/public/geetha/inventions",
             "embedUrl":"<iframe src=http://show.zoho.com/ViewURL.sas?USER=geetha&DOC=inventions&IFRAME=yes height='370' width='480' name=inventions scrolling=no frameBorder='0'></iframe>"
        }
    }
}



Errors


Making a presentation public method may return general & input errors.