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.