POST api/DingExamination/GetAlreadyQuestions

Request Information

URI Parameters

None.

Body Parameters

TypeQuestionDto
NameDescriptionTypeAdditional information
examId

integer

None.

exam_type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "examId": 1,
  "exam_type": 2
}

application/xml, text/xml

Sample:
<TypeQuestionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel">
  <examId>1</examId>
  <exam_type>2</exam_type>
</TypeQuestionDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponseOfGetQuestionsDto
NameDescriptionTypeAdditional information
data

GetQuestionsDto

None.

msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "singleTotal": 1,
    "multipleTotal": 2,
    "judgmentTotal": 3,
    "allTotal": 4,
    "perAnswer": "sample string 5",
    "id": 6,
    "exam_id": 7,
    "exam_type": 8,
    "exam_questions": "sample string 9",
    "question_options_a": "sample string 10",
    "question_options_b": "sample string 11",
    "question_options_c": "sample string 12",
    "question_options_d": "sample string 13",
    "right_answer": "sample string 14",
    "add_time": "2024-11-25T16:20:02.0615621+08:00",
    "add_id": 16,
    "add_name": "sample string 17",
    "left_id": 18,
    "right_id": 19
  },
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}

application/xml, text/xml

Sample:
<BaseResponseOfGetQuestionsDtogLTqVTfs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
  <code>2</code>
  <msg>sample string 1</msg>
  <total>3</total>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel">
    <add_id>16</add_id>
    <add_name>sample string 17</add_name>
    <add_time>2024-11-25T16:20:02.0615621+08:00</add_time>
    <exam_id>7</exam_id>
    <exam_questions>sample string 9</exam_questions>
    <exam_type>8</exam_type>
    <id>6</id>
    <left_id>18</left_id>
    <question_options_a>sample string 10</question_options_a>
    <question_options_b>sample string 11</question_options_b>
    <question_options_c>sample string 12</question_options_c>
    <question_options_d>sample string 13</question_options_d>
    <right_answer>sample string 14</right_answer>
    <right_id>19</right_id>
    <d2p1:allTotal>4</d2p1:allTotal>
    <d2p1:judgmentTotal>3</d2p1:judgmentTotal>
    <d2p1:multipleTotal>2</d2p1:multipleTotal>
    <d2p1:perAnswer>sample string 5</d2p1:perAnswer>
    <d2p1:singleTotal>1</d2p1:singleTotal>
  </data>
</BaseResponseOfGetQuestionsDtogLTqVTfs>