POST api/ExaminationManage/GetQuestions
Request Information
URI Parameters
None.
Body Parameters
UpDownDtoName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
turnId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "turnId": 2 }
application/xml, text/xml
Sample:
<UpDownDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel"> <id>1</id> <turnId>2</turnId> </UpDownDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResponseOfGetQuestionsName | Description | Type | Additional information |
---|---|---|---|
data | GetQuestions |
None. |
|
msg | string |
None. |
|
code | integer |
None. |
|
total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "indexCount": 1, "id": 2, "exam_id": 3, "exam_type": 4, "exam_questions": "sample string 5", "question_options_a": "sample string 6", "question_options_b": "sample string 7", "question_options_c": "sample string 8", "question_options_d": "sample string 9", "right_answer": "sample string 10", "add_time": "2024-11-25T16:36:39.2021871+08:00", "add_id": 12, "add_name": "sample string 13", "left_id": 14, "right_id": 15 }, "msg": "sample string 1", "code": 2, "total": 3 }
application/xml, text/xml
Sample:
<BaseResponseOfGetQuestionswByyLw_Px 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> <add_id>12</add_id> <add_name>sample string 13</add_name> <add_time>2024-11-25T16:36:39.2021871+08:00</add_time> <exam_id>3</exam_id> <exam_questions>sample string 5</exam_questions> <exam_type>4</exam_type> <id>2</id> <left_id>14</left_id> <question_options_a>sample string 6</question_options_a> <question_options_b>sample string 7</question_options_b> <question_options_c>sample string 8</question_options_c> <question_options_d>sample string 9</question_options_d> <right_answer>sample string 10</right_answer> <right_id>15</right_id> <indexCount>1</indexCount> </data> </BaseResponseOfGetQuestionswByyLw_Px>