POST api/QuickExe/QuickExeIndex
模块练习首页接口,进入时一次性获取所有试题类别,以及用户在每个类别中做过的题量
Request Information
URI Parameters
None.
Body Parameters
UserToken有值就提交,无值可不提或提交空值均可
API_Base_FormCommitModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserToken |
当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传 |
string |
None. |
| DomainName |
来访域名(用户访问该站点时输入的域名) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserToken": "sample string 1",
"DomainName": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseModelOfListOfAM_QuestionCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of AM_QuestionCategory |
None. |
|
| State | integer |
None. |
|
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"DoesQuestionAmount": 1,
"Accuracy": 2,
"ParentCategoryId": 3,
"TotalAmount": 4,
"CategoryName": "sample string 5",
"CategoryId": 6
},
{
"DoesQuestionAmount": 1,
"Accuracy": 2,
"ParentCategoryId": 3,
"TotalAmount": 4,
"CategoryName": "sample string 5",
"CategoryId": 6
}
],
"State": 1,
"Msg": "sample string 2"
}