People API - Add time log API vague error response

People API - Add time log API vague error response

Reference: https://www.zoho.com/people/help/api/time-tracker-time-logs-api.html

Tried :

https://people.zoho.com/people/api/timetracker/addtimelog?authtoken=<token>&user=<user>&workDate=2018-1-16&jobId=<jobId>&hours=1&description=test&workItem=test&billingStatus=Billable

Response:

{"response":{"message":"Error in adding Timelog","uri":"/api/timetracker/addtimelog","status":1}}

Which is totally different from the error codes listed.

Tried different variations for query parameters but getting the same response.

This API works fine:
https://people.zoho.com/people/api/forms/P_EmployeeView/records?authtoken=<token>
so token should be fine.

Are these docs updated? Please clarify thanks.



      • Sticky Posts

      • Meet the Zoho People experts in your city!

        Dear users,   We are delighted to invite you to the Zoho People's user community meetup. We are stoked to visit our users in their cities and help them with all things Zoho People.   Join us for a day of insightful Zoho sessions, interactions with other