POST api/ActualQS/AnswerQuestion
真题练习答案及答题信息提交接口,用于收集学员在真题练习过程中每道题选择的答案、答题时间等信息
Request Information
URI Parameters
None.
Body Parameters
真题答案提交数据模型
PM_ActualAnswerSubmit| Name | Description | Type | Additional information |
|---|---|---|---|
| QuestionId |
学员所做题目标识 |
integer |
None. |
| ChooseAnswerId |
学员选择的答案选项标识 |
integer |
None. |
| IsRight |
学员所选答案是否正确 |
signed byte |
None. |
| WithTime |
学员答题用时 |
integer |
None. |
| ActualQueId |
真题标识 |
integer |
None. |
| MockExamId |
真题练习行为标识,用于唯一性区分每次真题练习 |
integer |
None. |
| UserToken |
当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传 |
string |
None. |
| DomainName |
来访域名(用户访问该站点时输入的域名) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"QuestionId": 1,
"ChooseAnswerId": 2,
"IsRight": 64,
"WithTime": 4,
"ActualQueId": 5,
"MockExamId": 6,
"UserToken": "sample string 7",
"DomainName": "sample string 8"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Object |
None. |
|
| State | integer |
None. |
|
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {},
"State": 2,
"Msg": "sample string 3"
}