GET api/OECoursePeriods?aid={aid}&shopId={shopId}&type={type}
推荐学习
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| aid |
用户ID |
string |
Required |
| shopId |
商城ID |
string |
Required |
| type |
查询类型:0视屏、1音频 |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of CourseText| Name | Description | Type | Additional information |
|---|---|---|---|
| Url |
链接地址 |
string |
None. |
| Img |
图片 |
string |
None. |
| Text |
文本 |
string |
None. |
| Price |
价格 |
string |
None. |
| Objectives |
学习目标 |
string |
None. |
| SaleAmount |
销量 |
integer |
None. |
| CreateTime |
创建时间 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Url": "sample string 1",
"Img": "sample string 2",
"Text": "sample string 3",
"Price": "sample string 4",
"Objectives": "sample string 5",
"SaleAmount": 6,
"CreateTime": "sample string 7"
},
{
"Url": "sample string 1",
"Img": "sample string 2",
"Text": "sample string 3",
"Price": "sample string 4",
"Objectives": "sample string 5",
"SaleAmount": 6,
"CreateTime": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfCourseText xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.OnlineEducation.Models">
<CourseText>
<CreateTime>sample string 7</CreateTime>
<Img>sample string 2</Img>
<Objectives>sample string 5</Objectives>
<Price>sample string 4</Price>
<SaleAmount>6</SaleAmount>
<Text>sample string 3</Text>
<Url>sample string 1</Url>
</CourseText>
<CourseText>
<CreateTime>sample string 7</CreateTime>
<Img>sample string 2</Img>
<Objectives>sample string 5</Objectives>
<Price>sample string 4</Price>
<SaleAmount>6</SaleAmount>
<Text>sample string 3</Text>
<Url>sample string 1</Url>
</CourseText>
</ArrayOfCourseText>