POST api/Mine/WrongQSInfoGetById
根据题目标识,获取错题的详细信息用于错题浏览或错题练习,并提供上一题、下一题引导
Request Information
URI Parameters
None.
Body Parameters
题目信息获取条件
PM_WrongQSInfoGet| Name | Description | Type | Additional information |
|---|---|---|---|
| QuestionId |
题目标识 |
integer |
None. |
| QSOrdinal |
题目在所处列表中的Position值(从0开始算起) |
integer |
None. |
| CategoryRootId |
错题所在列表对应的试题类型标识,“最近”列表此值为0 |
integer |
None. |
| InfoFor |
错题信息适用场合,0表示用于错题预览,10表示用于错题练习 |
signed byte |
None. |
| UserToken |
当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传 |
string |
None. |
| DomainName |
来访域名(用户访问该站点时输入的域名) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"QuestionId": 1,
"QSOrdinal": 2,
"CategoryRootId": 3,
"InfoFor": 64,
"UserToken": "sample string 5",
"DomainName": "sample string 6"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseModelOfAM_WrongQSInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | AM_WrongQSInfo |
None. |
|
| State | integer |
None. |
|
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"QuestionId": 1,
"ClearState": 64,
"LittleRedDotChanged": 3,
"CategoryRootId": 4,
"FavoriteId": 5,
"FavoriteType": 6,
"QSGuide": {
"PreviousQSId": 1,
"NextQSId": 2,
"TotalAmount": 3
},
"QueType": 64,
"QueContent": "sample string 8",
"DataContent": "sample string 9",
"ComeFromDescription": "sample string 10",
"AnswerOptionList": [
{
"IsSelected": 1,
"AnswerId": 2,
"AnswerContent": "sample string 3",
"IsRight": 64
},
{
"IsSelected": 1,
"AnswerId": 2,
"AnswerContent": "sample string 3",
"IsRight": 64
}
],
"QuestionImageList": [
{
"QSImageId": 1,
"ImageUrl": "sample string 2"
},
{
"QSImageId": 1,
"ImageUrl": "sample string 2"
}
],
"Analysis": "sample string 11",
"Accuracy": 12,
"ErrorProneAnswerId": 13,
"ErrorRate": 14,
"Category3rdName": "sample string 15"
},
"State": 1,
"Msg": "sample string 2"
}