Show - Private APIs > APIs for GET Method > Get URL of a public presentation

Get URL of a public presentation

Tags:  

 


Get URL of a public presentation.


Request URL :

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

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


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.
publicUrl
Displays the url of the presentation that's been made public.
ownerName
Displays the Email ID of the presentation owner, i.e., the account from which the presentation is created
embedUrl
Embed 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/getpublicurl/3000000002049">
<result>

      <presentationId>3000000002049</presentationId>
      <presentationName>inventions</presentationName>
      <publicUrl>http://show.zoho.com/public/geetha/inventions</publicUrl>
      <ownerName>geetha</ownerName>
      <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/getpublicurl/3000000002049",
        "result":
        {
                        "
presentationId":"3000000002049",
                        "presentationName":"inventions",
                        "publicUrl":"http://show.zoho.com/public/geetha/inventions",
                        "ownerName":"geetha",
                        "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


Getting URL of a public presentation method may return general & input errors.
 


 RSS of this page