Record Count API

Purpose

To know the total record counts of an employee form, use Record Count API . Get Record Count API is useful to get record count of any form.

Request URL

https://people.zoho.com/people/api/employee/counts?authtoken=<token>

Request Parameters

authtokenSpecify the authentication token
monthSpecify the month
yearSpecify the year

Example

To pull up the employee records by month and year.

Request URL:

https://people.zoho.com/people/api/employee/counts?authtoken=7d985878998943g4j09h43dd0b167dda34b&month=2&year=2013

XML response:

<Response status=1><Count>1752</Count></Response>

JSON response:

[{"Count":1752}]

Get Record Count API

Purpose

This API is used to retrieve total record counts of any type of form.

Request URL

https://people.zoho.com/people/api/forms/<formLinkName>/getRecordCount?authtoken=<token>

Request Parameters

authtokenSpecify the authentication token
formLinkNameTo get formLinkName you can use Fetch Forms API.

Example

Request URL:

https://people.zoho.com/people/api/forms/department/getRecordCount?authtoken=7d985878998943g4j09h43dd0b167dda34b

XML response:

<?xmlversion=""1.0"" encoding=""UTF-8""?>
<responseuri=""/api/forms/department/getRecordCount"">
<status>
0</status>
<message>
Success</message><result>
<RecordCount>
3280</RecordCount>
</result>
</response>

JSON response:

{"response":{"message":"Success","result":{"RecordCount":3280},"status":0,"uri":"/api/forms/department/getRecordCount"}}

Error codes

Please refer Error Codes.