POST api/Lesson/insertRecord/Quiz

Request Information

URI Parameters

None.

Body Parameters

LMSQuiz
NameDescriptionTypeAdditional information
LessonId

decimal number

None.

AdmissionGradeSubjectId

decimal number

None.

QuestionId

decimal number

None.

QuestionOptionId

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "LessonId": 1.0,
  "AdmissionGradeSubjectId": 2.0,
  "QuestionId": 3.0,
  "QuestionOptionId": 4.0
}

application/xml, text/xml

Sample:
<LMSQuiz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxGenius.API.Models.Extensions">
  <AdmissionGradeSubjectId>2</AdmissionGradeSubjectId>
  <LessonId>1</LessonId>
  <QuestionId>3</QuestionId>
  <QuestionOptionId>4</QuestionOptionId>
</LMSQuiz>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LMSQuiz'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>