POST api/MemberTakePostTestSetAnswerQuestion

Request Information

URI Parameters

None.

Body Parameters

AnswerQuestionDto
NameDescriptionTypeAdditional information
CourseId

integer

None.

LessonId

integer

None.

SetId

integer

None.

Answers

Collection of Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CourseId": 1,
  "LessonId": 1,
  "SetId": 2,
  "Answers": [
    [
      1,
      2
    ],
    [
      1,
      2
    ]
  ]
}

application/xml, text/xml

Sample:
<AnswerQuestionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.HRDIElearning.Model">
  <Answers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfshort>
      <d2p1:short>1</d2p1:short>
      <d2p1:short>2</d2p1:short>
    </d2p1:ArrayOfshort>
    <d2p1:ArrayOfshort>
      <d2p1:short>1</d2p1:short>
      <d2p1:short>2</d2p1:short>
    </d2p1:ArrayOfshort>
  </Answers>
  <CourseId>1</CourseId>
  <LessonId>1</LessonId>
  <SetId>2</SetId>
</AnswerQuestionDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.