Get
entire content of a shared presentation.
Request URL:
XML :
http://show.zoho.com/api/private/xml/sharedcontent/[presentationId]?apikey=[API
Key]&ticket=[Ticket]&sharedby=[usr]
JSON : http://show.zoho.com/api/private/json/sharedcontent/[presentationId]?apikey=[API
Key]&ticket=[Ticket]&sharedby=[usr]
**Note: It is mandatory to pass sharedby parameter for accessing
this method.
Response fields
The schema document for the API response is located at: http://show.zoho.com/schema/api/content.xsd
Field
|
Description
|
presentationId
|
Unique ID associated with the shared
presentation.
|
presentationName
|
Name of the shared presentation
whose content in HTML format is being listed.
|
ownerName
|
Displays the Email ID/Zoho ID of the
presentation owner, i.e., the account from which the presentation is
created |
| createdTime |
Displays the created date of the
presentation
|
lastModifiedTime
|
[LongValue] - Displays the last
modified time of the presentation as long integer.
|
lockedBy
|
Name of the user who has exclusively
locked the shared presentation for editing.
|
allowToWrite
|
Specifies access
permission to shared users for editing the presentation. If true, then the users
are allowed "Read/Write" access
|
presentationUrl
|
URL of the
presentation whose HTML content is being listed.
|
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/sharedcontent/4000000000111">
<result>
<incomingPresentation>
<presentationId>4000000000111</presentationId>
<presentationName>test</presentationName>
<ownerName>Tim</ownerName>
<createdTime>Tue 03/27/07</createdTime>
<lastModifiedTimeDisplayString>20 hours
ago</lastModifiedTimeDisplayString>
<lastModifiedTime>1120655519841</lastModifiedTime>
<lockedBy />
<allowToWrite>false</allowToWrite>
<presentationUrl>
http://show.zoho.com/View.do?P_ID=4000000000111&SHRD_BY=Tim&ticket=[ticket]
</presentationUrl>
</incomingPresentation>
</result>
</response>
Equivalent JSON response
{
"response":
{
"uri": "/api/private/json/sharedcontent/4000000000111",
"result":
{
"incomingPresentation":
[
{
"presentationId":"4000000000111",
"presentationName":"test",
"ownerName":"Tim",
"createdTime":"Tue 03/27/07",
"lastModifiedTimeDisplayString":"20 hours ago",
"lastModifiedTime":"1120655519841",
"lockedBy":"",
"allowToWrite":"true",
"presentationUrl":"http://show.zoho.com/view.do?P_ID=4000000000111&SHRD_BY=Tim&ticket=[ticket]"
}
]
}
}
}
Errors
Displaying content
of shared presentations method may return general & input errors.