Incorrect Functioning of Time Logs API (Version 3)

Incorrect Functioning of Time Logs API (Version 3)

We need to fetch the list of time logs for each task for our company internal usage. We are trying to achieve it by using the next endpoint:

https://projects.zoho.com/api-docs#bulk-time-logs#get-all-project-time-logs

Firstly, in the documentation the start_date field is not marked as mandatory, but it is based on the endpoint response:

{
    "error": {
        ...
        "details": [
            {
                "message": "Input Parameter Missing",
                "field_name": "Start Date is a mandatory field"
            }
        ]
    }
}

After we pass to start_date the value from the task taken from the next task entity field start_date and modify it to format YYYY-MM-DD we will get some of the response with no errors. BUT in this response there are not all of the time logs that task has. Sometime the endpoint send to us empty array, sometime just part of the needed time logs. 

We was testing couple different options for the start_date value as the date when the first time log was added, the day when the last time log was added, the value from the task entity itself, but in any case we don't retrieve the full list of time logs.

view_type or end_date param option seems to not be working at all. Tried to pass different values to that but no result.

Comparing to the V2 version of the API, we was using this endpoint: 
https://www.zoho.com/projects/help/rest-api/log-time.html#task-timelogs

And it returns us a list of the all time logs that related to that tasks, it works as we want and the main - it works correctly.

To summarize, the time logs GET endpoint of V3 version is not working as expected. Seems like there is a bug there.

    • Sticky Posts

    • Announcement: Few goodies in Zoho BugTracker

      Over the last few months we have introduced several features, in Zoho BugTracker, that would enhance your experience. Screen-grabber Color codes for SLA (Service Level Agreement) Affected Milestones and Release Milestones Reorder Bug Fields You can read through Zoho BugTracker Quarterly Tweaks Digest for more information about these features. Prasanna
    • Announcing the New Zoho BugTracker

      We were frequently asked to have bug tracking as a separate, stand-alone product, decoupled from the rest of Zoho Projects - and to make it even more affordable. So we launched Zoho BugTracker a week before, a standalone product that helps teams fix bugs fast. Here's a quick summary of what's new in this release: : Give a structure to how bugs are handled by defining custom workflows Configure severity for the bugs to indicate how much the bug disrupts users from doing their jobs Build a library
    • [Projects 2.0] Import MPP/MPX files into Zoho Projects

      Hi, Checkout the post about importing MPP/MPX files into Zoho Projects . Prasanna Zoho Projects.