log_code. Served by RenewalController::progress().App\Http\Controllers\Api\V1\Professional\RenewalController::progress()api.v1.professional.renewals.progressAuthorization: Bearer {token}role:professional. A user without the professional role receives 403.GET/api/v1/professional/renewals/{log_code}| Parameter | Type | Description |
|---|---|---|
{log_code} | string(32) | Renewal course log code, as returned by GET /api/v1/professional/renewals. Not a primary key. |
200 OK{
"success": true,
"status": "success",
"message": "OK",
"data": {
"log_code": "7c1e5d9a3b2f4a68901d2c3b4a5f6e70",
"course": {
"id": 501,
"name": "Example Renewal Course"
},
"status": "completed",
"request_date": "2026-03-07",
"complete_date": "2026-03-07",
"quizzes": [
{
"id": 900001,
"log_code": "7c1e5d9a3b2f4a68901d2c3b4a5f6e70",
"module_id": 300,
"total": 5,
"correct": 2,
"wrong": 3,
"score": 40,
"passed": false,
"date": "2026-03-07",
"start": "2026-03-07 22:09:57",
"end": "2026-03-07 22:11:20",
"questions": [
{
"id": 9797,
"text": "Example quiz question",
"missing": false,
"answers": [
{
"id": 37001,
"text": "Example right answer",
"is_correct": true,
"selected": false
},
{
"id": 37002,
"text": "Example wrong answer",
"is_correct": false,
"selected": true
}
]
}
]
}
],
"exams": [
{
"id": 910001,
"log_code": "7c1e5d9a3b2f4a68901d2c3b4a5f6e70",
"total": 5,
"correct": 1,
"wrong": 4,
"score": 20,
"passed": false,
"date": "2026-03-07",
"start": "2026-03-07 22:13:54",
"end": "2026-03-07 22:15:00",
"questions": [
{
"id": 9804,
"text": "Example exam question",
"missing": false,
"answers": [
{
"id": 37845,
"text": "Example right answer",
"is_correct": true,
"selected": false
},
{
"id": 37846,
"text": "Example wrong answer",
"is_correct": false,
"selected": true
}
]
}
]
}
],
"skills": [
{
"id": 950001,
"log_code": "7c1e5d9a3b2f4a68901d2c3b4a5f6e70",
"skill_type_id": 1,
"skill_type_name": "Confined Water or Pool",
"user_completed": null,
"start": "2026-03-07 22:17:02",
"end": "2026-03-07 22:18:56",
"skills": [
{
"id": 5001,
"name": "Example skill one",
"description": "<p>Example skill description.</p>",
"diver_signed": true,
"instructor_signed": false
},
{
"id": 5002,
"name": "Example skill two",
"description": "<p>Example skill description.</p>",
"diver_signed": true,
"instructor_signed": false
}
]
}
]
}
}| Field | Type | Nullable | Notes |
|---|---|---|---|
log_code | string(32) | No | |
course.id | integer | No | |
course.name | string | Yes | |
status | string | No | completed in the capture |
request_date | string | Yes | Y-m-d |
complete_date | string | Yes | Y-m-d |
quizzes | array | No | QuizResultResource collection, docs/api/diver/_resources.md -> "Quiz result" |
exams | array | No | ExamResultResource collection, docs/api/diver/_resources.md -> "Exam result" |
skills | array | No | SkillProgressResource collection, docs/api/diver/_resources.md -> "Skill progress entry" |
401 Unauthorized{
"success": false,
"status": "error",
"message": "Unauthenticated"
}message is Token expired or Invalid token when a bearer token was sent but is expired or unknown.403 Forbiddenprofessional role (role:professional middleware, body not captured), or no renewal with that log_code belongs to the caller, or that log_code does not exist. The second case uses the standard envelope:{
"success": false,
"status": "error",
"message": "Forbidden"
}429 Too Many Requestsx-ratelimit-limit: 120. The body is the standard envelope with message: "Too many requests" and a Retry-After header.log_code answers 403, exactly like a log_code owned by someone else: the endpoint does not tell the two apart, and never answers 404.quizzes and exams carries its full answers array, and each answer exposes is_correct alongside selected.RenewalController carries a @deprecated docblock marking the renewal channel as dormant: not enabled for production until it is aligned with the webhook-first order finalization contract.docs/api/professional/renewals/GET_progress.mdcurl --location 'https://test.diveraid.com/api/v1/professional/renewals/' \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "string",
"data": {
"log_code": "string",
"course": {
"id": 0,
"name": "string"
},
"status": "string",
"request_date": "2019-08-24",
"complete_date": "2019-08-24",
"quizzes": [
{
"id": 0,
"log_code": "string",
"module_id": 0,
"total": 0,
"correct": 0,
"wrong": 0,
"score": 0,
"passed": true,
"date": "2019-08-24",
"start": "2019-08-24T14:15:22.123Z",
"end": "2019-08-24T14:15:22.123Z",
"questions": [
{
"id": 0,
"text": "string",
"missing": true,
"answers": [
{
"id": 0,
"text": "string",
"is_correct": true,
"selected": true
}
]
}
]
}
],
"exams": [
{
"id": 0,
"log_code": "string",
"total": 0,
"correct": 0,
"wrong": 0,
"score": 0,
"passed": true,
"date": "2019-08-24",
"start": "2019-08-24T14:15:22.123Z",
"end": "2019-08-24T14:15:22.123Z",
"questions": [
{
"id": 0,
"text": "string",
"missing": true,
"answers": [
{
"id": 0,
"text": "string",
"is_correct": true,
"selected": true
}
]
}
]
}
],
"skills": [
{
"id": 0,
"log_code": "string",
"skill_type_id": 0,
"skill_type_name": "string",
"user_completed": true,
"start": "2019-08-24T14:15:22.123Z",
"end": "2019-08-24T14:15:22.123Z",
"skills": [
{
"id": 0,
"name": "string",
"description": "string",
"diver_signed": true,
"instructor_signed": true
}
]
}
]
}
}