GET api/{area}/Course/GetCourseDetail/{id}?aid={aid}&cpid={cpid}&isIOS={isIOS}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| aid | string |
Required |
|
| id | string |
Required |
|
| cpid | string |
Required |
|
| isIOS | boolean |
Default value is False |
|
| area | string |
None. |
Body Parameters
None.
Response Information
Resource Description
CourseInfoDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| courseInfo | CoursenewEntity |
None. |
|
| commentInfoList | Collection of ProductCommentInfo |
None. |
|
| periodList | Collection of PeriodInfo |
None. |
|
| IsFavorites | boolean |
None. |
|
| IsHasPlay | boolean |
None. |
|
| IsJoin | boolean |
None. |
|
| CPID | string |
None. |
|
| periodName | string |
None. |
|
| Author | string |
None. |
|
| Poster | string |
None. |
|
| periodPath | string |
None. |
|
| resourcesType | integer |
None. |
|
| IsShowService | boolean |
None. |
|
| IsHasFree | boolean |
None. |
|
| FreeTime | integer |
None. |
|
| IsNOP |
是否不可操作 |
boolean |
None. |
| IsCourseComment |
是否显示评论 |
boolean |
None. |
| title |
页面标题 必填 |
string |
None. |
| keywords |
关键字 必填 |
string |
None. |
| description |
描述 必填 |
string |
None. |
| releaseDate |
发布时间 |
string |
None. |
| articleTitle |
内容标题 |
string |
None. |
| image |
图片 最多三张,多张用数组 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"courseInfo": {
"CourseID": "58c2fc66-ed11-4a86-b206-748ef8c006a2",
"CourseTypeID": "43a480ed-2854-4317-8204-74c7cc31d9c7",
"ShopID": 3,
"AuthorID": "18f63ed3-1436-4a66-854d-e6d64c91f584",
"Author": "sample string 4",
"Heads": "sample string 5",
"Title": "sample string 6",
"Images": "sample string 7",
"Introduction": "sample string 8",
"IntendedFor": "sample string 9",
"Objectives": "sample string 10",
"State": true,
"Taxis": 12,
"Price": 13.0,
"CostPrice": 14.0,
"CPCount": 15,
"SaleAmount": 16,
"FeeRatio": 17.0,
"SalesFeeRatio": 18.0,
"AccountTypes": "sample string 19",
"MemberSalesLevels": "sample string 20",
"CreateTime": "2025-12-18T12:16:36.4959037+08:00",
"UpdateTime": "2025-12-18T12:16:36.4959037+08:00"
},
"commentInfoList": [
{
"id": "sample string 1",
"NickName": "sample string 2",
"AccountImage": "sample string 3",
"Content": "sample string 4",
"Like": true,
"Replys": "sample string 6",
"StarNum": "sample string 7",
"CreateTime": "sample string 8",
"ProductName": "sample string 9",
"ProductImage": "sample string 10",
"BuyInfo": "sample string 11",
"ImageList": [
{
"url": "sample string 1",
"img": "sample string 2",
"text": "sample string 3",
"description": "sample string 4",
"isShowText": true,
"type": 6,
"createTime": "sample string 7"
},
{
"url": "sample string 1",
"img": "sample string 2",
"text": "sample string 3",
"description": "sample string 4",
"isShowText": true,
"type": 6,
"createTime": "sample string 7"
}
],
"ReplyTime": "sample string 12",
"Useful": 13,
"IsAnonymous": true
},
{
"id": "sample string 1",
"NickName": "sample string 2",
"AccountImage": "sample string 3",
"Content": "sample string 4",
"Like": true,
"Replys": "sample string 6",
"StarNum": "sample string 7",
"CreateTime": "sample string 8",
"ProductName": "sample string 9",
"ProductImage": "sample string 10",
"BuyInfo": "sample string 11",
"ImageList": [
{
"url": "sample string 1",
"img": "sample string 2",
"text": "sample string 3",
"description": "sample string 4",
"isShowText": true,
"type": 6,
"createTime": "sample string 7"
},
{
"url": "sample string 1",
"img": "sample string 2",
"text": "sample string 3",
"description": "sample string 4",
"isShowText": true,
"type": 6,
"createTime": "sample string 7"
}
],
"ReplyTime": "sample string 12",
"Useful": 13,
"IsAnonymous": true
}
],
"periodList": [
{
"CPID": "sample string 1",
"periodName": "sample string 2",
"Author": "sample string 3",
"Poster": "sample string 4",
"Introduction": "sample string 5",
"periodPath": "sample string 6",
"resourcesType": 7,
"IsSee": true,
"IsNow": true,
"IsHasFree": true,
"FreeTime": 11
},
{
"CPID": "sample string 1",
"periodName": "sample string 2",
"Author": "sample string 3",
"Poster": "sample string 4",
"Introduction": "sample string 5",
"periodPath": "sample string 6",
"resourcesType": 7,
"IsSee": true,
"IsNow": true,
"IsHasFree": true,
"FreeTime": 11
}
],
"IsFavorites": true,
"IsHasPlay": true,
"IsJoin": true,
"CPID": "sample string 4",
"periodName": "sample string 5",
"Author": "sample string 6",
"Poster": "sample string 7",
"periodPath": "sample string 8",
"resourcesType": 9,
"IsShowService": true,
"IsHasFree": true,
"FreeTime": 12,
"IsNOP": true,
"IsCourseComment": true,
"title": "sample string 15",
"keywords": "sample string 16",
"description": "sample string 17",
"releaseDate": "sample string 18",
"articleTitle": "sample string 19",
"image": "sample string 20"
}
application/xml, text/xml
Sample:
<CourseController.CourseInfoDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers">
<articleTitle xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 19</articleTitle>
<description xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 17</description>
<image xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 20</image>
<keywords xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 16</keywords>
<releaseDate xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 18</releaseDate>
<title xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 15</title>
<Author>sample string 6</Author>
<CPID>sample string 4</CPID>
<FreeTime>12</FreeTime>
<IsCourseComment>true</IsCourseComment>
<IsFavorites>true</IsFavorites>
<IsHasFree>true</IsHasFree>
<IsHasPlay>true</IsHasPlay>
<IsJoin>true</IsJoin>
<IsNOP>true</IsNOP>
<IsShowService>true</IsShowService>
<Poster>sample string 7</Poster>
<commentInfoList xmlns:d2p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
<d2p1:ProductCommentInfo>
<d2p1:AccountImage>sample string 3</d2p1:AccountImage>
<d2p1:BuyInfo>sample string 11</d2p1:BuyInfo>
<d2p1:Content>sample string 4</d2p1:Content>
<d2p1:CreateTime>sample string 8</d2p1:CreateTime>
<d2p1:ImageList>
<d2p1:CommImageText>
<d2p1:createTime>sample string 7</d2p1:createTime>
<d2p1:description>sample string 4</d2p1:description>
<d2p1:img>sample string 2</d2p1:img>
<d2p1:isShowText>true</d2p1:isShowText>
<d2p1:text>sample string 3</d2p1:text>
<d2p1:type>6</d2p1:type>
<d2p1:url>sample string 1</d2p1:url>
</d2p1:CommImageText>
<d2p1:CommImageText>
<d2p1:createTime>sample string 7</d2p1:createTime>
<d2p1:description>sample string 4</d2p1:description>
<d2p1:img>sample string 2</d2p1:img>
<d2p1:isShowText>true</d2p1:isShowText>
<d2p1:text>sample string 3</d2p1:text>
<d2p1:type>6</d2p1:type>
<d2p1:url>sample string 1</d2p1:url>
</d2p1:CommImageText>
</d2p1:ImageList>
<d2p1:IsAnonymous>true</d2p1:IsAnonymous>
<d2p1:Like>true</d2p1:Like>
<d2p1:NickName>sample string 2</d2p1:NickName>
<d2p1:ProductImage>sample string 10</d2p1:ProductImage>
<d2p1:ProductName>sample string 9</d2p1:ProductName>
<d2p1:ReplyTime>sample string 12</d2p1:ReplyTime>
<d2p1:Replys>sample string 6</d2p1:Replys>
<d2p1:StarNum>sample string 7</d2p1:StarNum>
<d2p1:Useful>13</d2p1:Useful>
<d2p1:id>sample string 1</d2p1:id>
</d2p1:ProductCommentInfo>
<d2p1:ProductCommentInfo>
<d2p1:AccountImage>sample string 3</d2p1:AccountImage>
<d2p1:BuyInfo>sample string 11</d2p1:BuyInfo>
<d2p1:Content>sample string 4</d2p1:Content>
<d2p1:CreateTime>sample string 8</d2p1:CreateTime>
<d2p1:ImageList>
<d2p1:CommImageText>
<d2p1:createTime>sample string 7</d2p1:createTime>
<d2p1:description>sample string 4</d2p1:description>
<d2p1:img>sample string 2</d2p1:img>
<d2p1:isShowText>true</d2p1:isShowText>
<d2p1:text>sample string 3</d2p1:text>
<d2p1:type>6</d2p1:type>
<d2p1:url>sample string 1</d2p1:url>
</d2p1:CommImageText>
<d2p1:CommImageText>
<d2p1:createTime>sample string 7</d2p1:createTime>
<d2p1:description>sample string 4</d2p1:description>
<d2p1:img>sample string 2</d2p1:img>
<d2p1:isShowText>true</d2p1:isShowText>
<d2p1:text>sample string 3</d2p1:text>
<d2p1:type>6</d2p1:type>
<d2p1:url>sample string 1</d2p1:url>
</d2p1:CommImageText>
</d2p1:ImageList>
<d2p1:IsAnonymous>true</d2p1:IsAnonymous>
<d2p1:Like>true</d2p1:Like>
<d2p1:NickName>sample string 2</d2p1:NickName>
<d2p1:ProductImage>sample string 10</d2p1:ProductImage>
<d2p1:ProductName>sample string 9</d2p1:ProductName>
<d2p1:ReplyTime>sample string 12</d2p1:ReplyTime>
<d2p1:Replys>sample string 6</d2p1:Replys>
<d2p1:StarNum>sample string 7</d2p1:StarNum>
<d2p1:Useful>13</d2p1:Useful>
<d2p1:id>sample string 1</d2p1:id>
</d2p1:ProductCommentInfo>
</commentInfoList>
<courseInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/WST.Distributors.Entity">
<d2p1:CourseID>58c2fc66-ed11-4a86-b206-748ef8c006a2</d2p1:CourseID>
<d2p1:CourseTypeID>43a480ed-2854-4317-8204-74c7cc31d9c7</d2p1:CourseTypeID>
<d2p1:ShopID>3</d2p1:ShopID>
<d2p1:AuthorID>18f63ed3-1436-4a66-854d-e6d64c91f584</d2p1:AuthorID>
<d2p1:Author>sample string 4</d2p1:Author>
<d2p1:Heads>sample string 5</d2p1:Heads>
<d2p1:Title>sample string 6</d2p1:Title>
<d2p1:Images>sample string 7</d2p1:Images>
<d2p1:Introduction>sample string 8</d2p1:Introduction>
<d2p1:IntendedFor>sample string 9</d2p1:IntendedFor>
<d2p1:Objectives>sample string 10</d2p1:Objectives>
<d2p1:State>true</d2p1:State>
<d2p1:Taxis>12</d2p1:Taxis>
<d2p1:Price>13</d2p1:Price>
<d2p1:CostPrice>14</d2p1:CostPrice>
<d2p1:CPCount>15</d2p1:CPCount>
<d2p1:SaleAmount>16</d2p1:SaleAmount>
<d2p1:FeeRatio>17</d2p1:FeeRatio>
<d2p1:SalesFeeRatio>18</d2p1:SalesFeeRatio>
<d2p1:AccountTypes>sample string 19</d2p1:AccountTypes>
<d2p1:MemberSalesLevels>sample string 20</d2p1:MemberSalesLevels>
<d2p1:CreateTime>2025-12-18T12:16:36.4959037+08:00</d2p1:CreateTime>
<d2p1:UpdateTime>2025-12-18T12:16:36.4959037+08:00</d2p1:UpdateTime>
</courseInfo>
<periodList>
<CourseController.PeriodInfo>
<Author>sample string 3</Author>
<CPID>sample string 1</CPID>
<FreeTime>11</FreeTime>
<Introduction>sample string 5</Introduction>
<IsHasFree>true</IsHasFree>
<IsNow>true</IsNow>
<IsSee>true</IsSee>
<Poster>sample string 4</Poster>
<periodName>sample string 2</periodName>
<periodPath>sample string 6</periodPath>
<resourcesType>7</resourcesType>
</CourseController.PeriodInfo>
<CourseController.PeriodInfo>
<Author>sample string 3</Author>
<CPID>sample string 1</CPID>
<FreeTime>11</FreeTime>
<Introduction>sample string 5</Introduction>
<IsHasFree>true</IsHasFree>
<IsNow>true</IsNow>
<IsSee>true</IsSee>
<Poster>sample string 4</Poster>
<periodName>sample string 2</periodName>
<periodPath>sample string 6</periodPath>
<resourcesType>7</resourcesType>
</CourseController.PeriodInfo>
</periodList>
<periodName>sample string 5</periodName>
<periodPath>sample string 8</periodPath>
<resourcesType>9</resourcesType>
</CourseController.CourseInfoDetail>