POST api/MicroDramaV770/RecordWatchHistory
上报观看历史
Request Information
URI Parameters
None.
Body Parameters
ZaiMieApp.WebApi.ViewModel.WatchHistoryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| dramaId |
短剧id |
integer |
None. |
| episodeNumber |
当前剧集数 |
integer |
None. |
| progress |
播放进度 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"dramaId": 1,
"episodeNumber": 2,
"progress": 3
}
application/xml, text/xml
Sample:
<WatchHistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <dramaId>1</dramaId> <episodeNumber>2</episodeNumber> <progress>3</progress> </WatchHistoryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| addcoin |
赠送的金币 |
integer |
None. |
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"code": 2,
"addcoin": 3,
"message": "sample string 4"
}
application/xml, text/xml
Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <addcoin>3</addcoin> <code>2</code> <message>sample string 4</message> <success>true</success> </ResultMsg>