POST api/Course/VideoPlayProgressCollect
收集某视频的播放进度
Request Information
URI Parameters
None.
Body Parameters
VideoPlayProgressCollectDto| Name | Description | Type | Additional information |
|---|---|---|---|
| VideoId |
视频标识 |
integer |
None. |
| PlayPosition |
视频播放到的时间点,单位为秒 |
integer |
None. |
| PageSize |
每页显示记录条数(默认是20) |
integer |
None. |
| PageIndex |
页码,默认是1 |
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:
{
"VideoId": 1,
"PlayPosition": 2,
"PageSize": 3,
"PageIndex": 4,
"OrganizationId": 5,
"StudentId": 6,
"UserToken": "sample string 7",
"DomainName": "sample string 8",
"Id": 9
}
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"
}