POST api/VideoReception/AddLastVideoRecord
Request Information
URI Parameters
None.
Body Parameters
AddLastVideoRecordDtoName | Description | Type | Additional information |
---|---|---|---|
chapter_id | integer |
None. |
|
last_length | integer |
None. |
|
look_length | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "chapter_id": 1, "last_length": 2, "look_length": 3 }
application/xml, text/xml
Sample:
<AddLastVideoRecordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel"> <chapter_id>1</chapter_id> <last_length>2</last_length> <look_length>3</look_length> </AddLastVideoRecordDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResponseName | Description | Type | Additional information |
---|---|---|---|
msg | string |
None. |
|
code | integer |
None. |
|
total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "msg": "sample string 1", "code": 2, "total": 3 }
application/xml, text/xml
Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI"> <code>2</code> <msg>sample string 1</msg> <total>3</total> </BaseResponse>