QuizAssignment
A request or response body; the type column links to the schemas it refers to.
QuizAssignment
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | yes | — |
| quiz_id | string (uuid) | yes | — |
| assignee_kind | string | yes | role: everyone granted the role. user: one directory member. one of "role" | "user" |
| role_id | string (uuid) | null | yes | — |
| role_name | string | null | yes | — |
| department_id | string (uuid) | null | yes | — |
| department_name | string | null | yes | — |
| user_id | string (uuid) | null | yes | User id of an individually assigned member. |
| user_display_name | string | null | yes | — |
| user_email | string | null | yes | — |
| created_at | string (date-time) | yes | — |
jsonExample
{
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"quiz_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"assignee_kind": "role",
"role_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"role_name": "string",
"department_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"department_name": "string",
"user_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"user_display_name": "string",
"user_email": "string",
"created_at": "2026-01-01T00:00:00.000Z"
}