QuizDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/QuizDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
courseId | number | да | — | int |
title | string | да | — | string |
passingScorePercent | number | да | — | int |
maxAttempts | number | да | — | int |
requireRecording | boolean | да | — | bool |
requireVerification | boolean | да | — | bool |
isArchived | boolean | да | — | bool |
proctorMetrics | string[] | да | — | List<string>? |
proctorThreshold | number | null | нет | — | double? |
proctorTimeoutMinutes | number | null | нет | — | int? |
questions | QuizQuestionDto[] | да | — | List<QuizQuestionDto> |
createDateTime | string | да | — | DateTimeOffset |
updateDateTime | string | null | нет | — | DateTimeOffset? |
Пример
json
{
"id": 0,
"courseId": 0,
"title": "string",
"passingScorePercent": 0,
"maxAttempts": 0,
"requireRecording": false,
"requireVerification": false,
"isArchived": false,
"proctorMetrics": [],
"proctorThreshold": 0,
"proctorTimeoutMinutes": 0,
"questions": [],
"createDateTime": "2026-05-05T08:00:00Z",
"updateDateTime": "2026-05-05T08:00:00Z"
}