POST api/studioroom/StudentPractise
学员练习-答题
Request Information
URI Parameters
None.
Body Parameters
StudioRoom_Practise_Record_InputDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PractiseNo |
本次做题编码,后台生成,当次练习编码相同,要传回后台保存 |
string |
None. |
| BatchTaskItemId |
任务项ID |
integer |
None. |
| QuestionId |
题目ID |
integer |
None. |
| AnswerId |
答案ID |
integer |
None. |
| WithTime |
答题用时,单位S |
integer |
None. |
| CreateTime |
练习时间,前端不用管,后台处理 |
date |
None. |
| IsRight |
是否正确,前端不用管,后台处理 |
boolean |
None. |
| OrganizationId |
前端不用传 |
integer |
None. |
| StudentId |
前端不用传 |
integer |
None. |
| UserToken |
当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传 |
string |
None. |
| DomainName |
来访域名(用户访问该站点时输入的域名) |
string |
None. |
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PractiseNo": "sample string 1",
"BatchTaskItemId": 2,
"QuestionId": 3,
"AnswerId": 4,
"WithTime": 5,
"CreateTime": "2026-03-12T01:07:38.4754862+08:00",
"IsRight": true,
"OrganizationId": 8,
"StudentId": 9,
"UserToken": "sample string 10",
"DomainName": "sample string 11",
"Id": 12
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIServiceResult| Name | Description | Type | Additional information |
|---|---|---|---|
| State |
执行结果反馈:1表示成功、0表示失败, -1用户Token验证失败, 其它出错类型(值将小于-1)与具体业务关联紧密,详情可见Msg描述内容 |
integer |
None. |
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"State": 1,
"Msg": "sample string 2"
}