Recalculate learner completion in a course.
Starts a background job that recalculates the completion percentage of every learner in a course. The response type is success when started, or inProgress when a job is already running.
Endpoint
put https://{TrainerCentral-API-Domain}/tc/api/v1/trainer/course/{courseId}/recalculateCompletion.json
OAuth Scope
Headers
ID of the academy (orgId).
Path Parameters
ID of the course.
curl --request PUT \
--url https://trainercentral.zoho.com/tc/api/v1/trainer/course/{courseId}/recalculateCompletion.json \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'tc-orgId: 51517414'Response Parameters
Result message.
Result type. Allowed: success, error, warning, info, inProgress.
Error details.
Hide Sub-Attributes
Deprecated numeric error code (for example ST_202). Prefer codeStr; omitted from doc samples.
Error code name (ShowtimeErrorCode / err_code_str), for example MISSING_PARAMETER.
Error message.
Possible Error Codes
| HTTP Code | Error Code | Description |
|---|---|---|
| 500 | ST_94 | INVALID_COURSE - Course not found or deleted. Pass a valid courseId. Do not retry unchanged. |
| ST_102 | UNAUTHORISED_ACCESS - No access to this course, or it is not a normal course (type 0). Do not retry unchanged. |
{
"message": "Recalculate started in background",
"type": "success"
}
{
"message": "Recalculation already in progress please wait!",
"type": "inProgress"
}
{
"error": {
"code": "string",
"codeStr": "string",
"message": "string"
}
}
500 Request failed; see the error code.Rate Limits
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.