Skip to content

CreateQuestionDto

← Learning DTO

Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/Requests/CreateQuestionDto.cs (feature.learningservice).

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
textstringдаstring
typeQuestionTypeDtoдаQuestionTypeDto
ordernumberдаint
optionsCreateAnswerOptionDto[]даList<CreateAnswerOptionDto>

Пример

json
{
  "text": "string",
  "type": "<QuestionTypeDto>",
  "order": 0,
  "options": []
}