POST api/Course/Detail
获取课程详情
Request Information
URI Parameters
None.
Body Parameters
BaseSearchCriteriaForApi| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"PageSize": 1,
"PageIndex": 2,
"OrganizationId": 3,
"StudentId": 4,
"UserToken": "sample string 5",
"DomainName": "sample string 6",
"Id": 7
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseModelOfCourseInfoDetailDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | CourseInfoDetailDto |
None. |
|
| State | integer |
None. |
|
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"Content": "sample string 1",
"PlayExpiration": 2,
"ViewLogId": 3,
"ViewLogSort": 0,
"Videos": [
{
"Sort": 1,
"VideoDuration": 2,
"TryToSeeTime": 3,
"AliVId": "sample string 4",
"VideoBeginImage": "sample string 5",
"VideoURL": "sample string 6",
"PlayPosition": 7,
"Name": "sample string 8",
"Id": 9
},
{
"Sort": 1,
"VideoDuration": 2,
"TryToSeeTime": 3,
"AliVId": "sample string 4",
"VideoBeginImage": "sample string 5",
"VideoURL": "sample string 6",
"PlayPosition": 7,
"Name": "sample string 8",
"Id": 9
}
],
"Price": 4.0,
"PreferentialPrice": 5.0,
"BuyCount": 6,
"IsPurchased": true,
"ImgUrl": "http://image.baishengwc.comsample string 8",
"ChapterCount": 9,
"Name": "sample string 10",
"Id": 11
},
"State": 1,
"Msg": "sample string 2"
}