Get employee productivity score
Returns an employee's productivity score with full breakdown. Admin only.Completion Rate (40%): (completed / total) * 40
Deadline Adherence (35%): (onTime / completed) * 35
Priority Score (25%): (highPriorityCompleted / highPriorityTotal) * 25
Request
Add the parameter Authorization
to Headers Example:Authorization: ********************
or
Request Code Samples
curl --location --request GET '/employees/cm5emp001/score' \
--header 'Authorization: Bearer <token>'
Responses
application/json
Productivity score with breakdown
{
"success": true,
"data": {
"employeeId": "cm5emp001",
"finalScore": 78.5,
"completionRate": 75,
"deadlineScore": 85,
"priorityScore": 80,
"breakdown": {
"totalTasks": 8,
"completedTasks": 6,
"onTimeTasks": 5,
"overdueTasks": 1,
"highPriorityCompleted": 3,
"highPriorityTotal": 4
}
}
}
Modified at 2026-02-22 18:59:05