POST api/Examination/SavePerQuestion
Request Information
URI Parameters
None.
Body Parameters
SavePerQuestionInputName | Description | Type | Additional information |
---|---|---|---|
exam_id | integer |
None. |
|
question_id | integer |
None. |
|
answer | string |
None. |
|
exam_type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "exam_id": 1, "question_id": 2, "answer": "sample string 3", "exam_type": 4 }
application/xml, text/xml
Sample:
<SavePerQuestionInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel"> <answer>sample string 3</answer> <exam_id>1</exam_id> <exam_type>4</exam_type> <question_id>2</question_id> </SavePerQuestionInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResponseName | Description | Type | Additional information |
---|---|---|---|
msg | string |
None. |
|
code | integer |
None. |
|
total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "msg": "sample string 1", "code": 2, "total": 3 }
application/xml, text/xml
Sample:
<BaseResponse 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> </BaseResponse>