POST api/Video/PlayProgressCollect

收集某视频的播放进度

Request Information

URI Parameters

None.

Body Parameters

播放进度收集参数

PM_VideoPlayProgressCollect
NameDescriptionTypeAdditional information
BookId

书籍标识

integer

None.

VideoId

视频标识

integer

None.

BookVideoId

视频在书籍中的标识(用于解决同一章节中重复引用同一个视频时无法识别具体哪个的问题)

integer

None.

PlayPosition

视频播放到的时间点,单位为秒

integer

None.

UserToken

当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传

string

None.

DomainName

来访域名(用户访问该站点时输入的域名)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "VideoId": 2,
  "BookVideoId": 3,
  "PlayPosition": 4,
  "UserToken": "sample string 5",
  "DomainName": "sample string 6"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponseModelOfObject
NameDescriptionTypeAdditional information
Data

Object

None.

State

integer

None.

Msg

返回的错误或描述信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "State": 2,
  "Msg": "sample string 3"
}