ApproveAndAwardLearningRecord
A request or response body; the type column links to the schemas it refers to.
ApproveAndAwardLearningRecord
| Field | Type | Required | Description |
|---|---|---|---|
| record | LearningRecord | yes | — |
| awards | array of CertificationAward | yes | The new awards, in the order their types were named: `approved` where it answered the learner's open request for the type, `granted` otherwise. |
jsonExample
{
"record": {
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"owner_organization_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"owner_department_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"learner_user_id": "8f14e45f-ceea-467f-a10e-cbb9f6bcaf0f",
"learner_display_name": "string",
"learner_email": "string",
"title": "string",
"description": "string",
"status": "pending",
"completed_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z",
"external_id": "string",
"recorded_by": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"approved_by": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"approved_at": "2026-01-01T00:00:00.000Z",
"rejected_by": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"rejected_at": "2026-01-01T00:00:00.000Z",
"rejection_note": "string",
"hidden_from_learner": true,
"subjects": [
{
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"slug": "string",
"name": "string",
"archived_at": "2026-01-01T00:00:00.000Z"
}
],
"evidence_count": 0,
"hours": 6.5,
"archived_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
},
"awards": [
{
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"organization_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"user_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"certification_type_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"award_kind": "claimed",
"awarded_at": "2026-01-01T00:00:00.000Z",
"awarded_by": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"grant_reason": "string",
"revoked_at": "2026-01-01T00:00:00.000Z",
"revoked_by": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"created_at": "2026-01-01T00:00:00.000Z"
}
]
}