Zoho Writer > Writer - REST API Methods > ZW - Get count of shared documents in a Writer account

ZW - Get count of shared documents in a Writer account

Tags:  



Get count of a number of shared documents in a Zoho Writer account.


Request URL :

                            XML : http://export.writer.zoho.com/api/private/xml/incomingdocuments/count?apikey=[API Key]&ticket=[Ticket]


                            JSON : http://export.writer.zoho.com/api/private/json/incomingdocuments/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 shared 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/incomingdocuments/count">
<result>
    <documents>
        <ownerName>john</ownerName>
        <documentsCount>12</documentsCount>
    </documents>
</result>
</response>


Equivalent JSON response


{
    "response":
    {
        "uri": "/api/private/json/incomingdocuments/count",
        "result":
        {
            "documents":
            {
                "ownerName":"john",
                "documentsCount":"12"
            }
        }
    }
}



Errors


Displaying count of number of shared documents for a user method may return general & input errors.
 


 RSS of this page