| |||||
writer.getTrashedDocuments - Used to get the list of trashed documents
[scalar] - optional - Sets the initial document number from which the trashed documents will be listed. If there are 9 documents & fromindex value is set to 2, the documents will be listed from the 2nd document. [scalar] - optional - Sets the number of documents to be listed. If the value is set to 6, then no of documents listed is 6.
1. [struct] - required*
Containing Keys:
Field
Description
fromindex (optional)
noofdocstoshow (optional)
Sample call to writer.getTrashedDocuments
POST /interface/xmlrpc HTTP/1.0
Host: www.zohowriter.com
Content-Type: text/xml
Content-Length:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<methodCall>
<methodName>writer.getTrashedDocuments</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>fromindex</name>
<value><int>2</int></value>
</member>
<member>
<name>noofdocstoshow</name>
<value><long>6</long></value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Response
1. [methodResponse] - required*
Sample return value for writer.getTrashedDocuments
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>
<document>
<document_name>Welcome</document_name>
<document_id>6000000046043</document_id>
<version>-1.0</version>
<document_name_url>hi</document_name_url>
<author_name>johndoe</author_name>
<created_date>Wed, Sep 29, 2006</created_date>
<shared_users>[]</shared_users>
<document_locked>false</document_locked>
<document_blogged>false</document_blogged>
<category>OWNED</category>
</document>
</methodResponse>