Get count of
a number of documents in a Zoho Writer account.
Request URL :
XML : http://export.writer.zoho.com/api/private/xml/documents/count?apikey=[API
Key]&ticket=[Ticket]
JSON : http://export.writer.zoho.com/api/private/json/documents/count?apikey=[API
Key]&ticket=[Ticket]
Response fields
The
schema document for the API response is located at: http://writer.zoho.com/schema/restapi/count.xsd
Field
|
Description
|
ownerName
|
Name of the user having his account with Zoho
Writer.
|
documentsCount
|
Number of documents in the users' Zoho Writer
account.
|
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/documents/count">
<result>
<documents>
<ownerName>john</ownerName>
<documentsCount>55</documentsCount>
</documents>
</result>
</response>
Equivalent JSON
response
{
"response":
{
"uri": "/api/private/json/documents/count",
"result":
{
"documents":
{
"ownerName":"john",
"documentsCount":"55"
}
}
}
}
Errors
Displaying count of number of documents for a
user method may return general & input errors.