POST Api/Courses/Exams/Questions/Update

Request Information

URI Parameters

None.

Body Parameters

AddQuestionRequest
NameDescriptionTypeAdditional information
idExamQuestion

integer

None.

courseExam

integer

None.

idQuestionType

integer

None.

idLessonRef

integer

None.

question

string

None.

image

string

None.

Request Formats

application/json, text/json

Sample:
{
  "idExamQuestion": 1,
  "courseExam": 2,
  "idQuestionType": 3,
  "idLessonRef": 1,
  "question": "sample string 4",
  "image": "sample string 5"
}

application/xml, text/xml

Sample:
<AddQuestionRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <idExamQuestion>1</idExamQuestion>
  <courseExam>2</courseExam>
  <idQuestionType>3</idQuestionType>
  <idLessonRef>1</idLessonRef>
  <question>sample string 4</question>
  <image>sample string 5</image>
</AddQuestionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GenericResponse
NameDescriptionTypeAdditional information
success

La solicitud se realizo correctamente

boolean

None.

error

Error arrojado por la API

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "error": "sample string 2"
}

application/xml, text/xml

Sample:
<GenericResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
  <error>sample string 2</error>
</GenericResponse>