| |||||
writer.getDocuments - Display the list of documents.
| Field | Description |
| fromindex (optional) | [scalar] - optional - Sets the initial document number from which the documents will be listed. If there are 10 documents & fromindex value is set to 3, the documents will be listed from the 3rd document. |
| noofdocstoshow (optional) | [scalar] - optional - Sets the number of documents to be listed. If the value is set to 5, then no of documents listed is 5. |
POST /interface/xmlrpc HTTP/1.0
Host: http://www.writer.zoho.com/
Content-Type: text/xml
Content-Length:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<methodCall>
<methodName>writer.getDocuments</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>
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>
<Documents>
<document>
<document_name>hi</document_name>
<document_id>6000000046043</document_id>
<version>-1.0</version>
<document_name_url>hi</document_name_url>
<author_name>andywatkin@clickit.com</author_name>
<created_date>Mon, Sep 25, 2006</created_date>
<document_trashed>false</document_trashed>
<lastmodifiedby>jsonnet@highend.com</lastmodifiedby>
<shared_users>[]</shared_users>
<document_locked>false</document_locked>
<document_blogged>false</document_blogged>
</document>
<document>
<document_name>testt</document_name>
<document_id>6000000046043</document_id>
<version>-1.0</version>
<document_name_url>hi</document_name_url>
<author_name>michellecollete@mail.com</author_name>
<created_date>Mon, Sep 25, 2006</created_date>
<document_trashed>false</document_trashed>
<lastmodifiedby>kevinshine</lastmodifiedby>
<shared_users>[]</shared_users>
<document_locked>false</document_locked>
<document_blogged>false</document_blogged>
</document>
</Documents>
</methodResponse>