POST api/studioroom/GetBatchTaskItemVideosById
获取督学室练习-视频列表 BatchTaskItemId:任务项ID
Request Information
URI Parameters
None.
Body Parameters
BatchTaskItemBaseInputDto| Name | Description | Type | Additional information |
|---|---|---|---|
| BatchTaskItemId |
任务项ID |
integer |
None. |
| OrganizationId |
前端不用传 |
integer |
None. |
| StudentId |
前端不用传 |
integer |
None. |
| UserToken |
当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传 |
string |
None. |
| DomainName |
来访域名(用户访问该站点时输入的域名) |
string |
None. |
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BatchTaskItemId": 1,
"OrganizationId": 2,
"StudentId": 3,
"UserToken": "sample string 4",
"DomainName": "sample string 5",
"Id": 6
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIServiceResultOfBatchTaskItemVideosDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | BatchTaskItemVideosDto |
None. |
|
| State |
执行结果反馈:1表示成功、0表示失败, -1用户Token验证失败, 其它出错类型(值将小于-1)与具体业务关联紧密,详情可见Msg描述内容 |
integer |
None. |
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"BatchTaskItemName": "sample string 1",
"LastVideoId": 2,
"Videos": [
{
"BatchTaskItemId": 1,
"VideoId": 2,
"VideoTitle": "sample string 3",
"VideoBeginImage": "sample string 4",
"VideoURL": "sample string 5",
"Duration": 6,
"LastViewDuration": 7,
"CreateTime": "2026-03-12T01:04:37.493501+08:00"
},
{
"BatchTaskItemId": 1,
"VideoId": 2,
"VideoTitle": "sample string 3",
"VideoBeginImage": "sample string 4",
"VideoURL": "sample string 5",
"Duration": 6,
"LastViewDuration": 7,
"CreateTime": "2026-03-12T01:04:37.493501+08:00"
}
]
},
"State": 1,
"Msg": "sample string 2"
}