TimesheetStatistic

Get Statistics for Tasks

POST
http://localhost:3000/api/timesheet/statistics/tasks

Endpoint to retrieve statistics for tasks based on the provided query parameters.

Body

application/json
sourcestringMOBILEBROWSERDESKTOPBROWSER_EXTENSIONHUBSTAFFUPWORKTEAMSCLOC
logTypestringTRACKEDMANUALIDLERESUMED
activityLevelobject
tenantobject
tenantIdstring
organizationobjectrequired
organizationIdstringrequired
startDatestring<date-time>
endDatestring<date-time>
employeeIdsArray<array>
projectIdsArray<array>
taskIdsArray<array>
teamIdsArray<array>
todayStartstring<date-time>
todayEndstring<date-time>
defaultRangeboolean
unitOfTimestring
Example
week
takenumber

Response

200OK

Successfully retrieved statistics for tasks.

400Bad Request

Invalid input. The response body may contain clues as to what went wrong.

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey