POST api/Course/GetMyProducts
获取我的课程,不分页
Request Information
URI Parameters
None.
Body Parameters
Course_GetMyProduct_Api_Dto| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductType |
商品类型 |
Enum_ProductType |
None. |
| UserToken |
当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传 |
string |
None. |
| DomainName |
来访域名(用户访问该站点时输入的域名) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductType": 1,
"UserToken": "sample string 1",
"DomainName": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseModelOfIEnumerableOfMyCourseItemModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of MyCourseItemModel |
None. |
|
| State | integer |
None. |
|
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"ImgUrl": "sample string 1",
"BeginDate": "sample string 2",
"EndDate": "sample string 3",
"ViewLogSort": 4,
"ChapterCount": 5,
"Name": "sample string 6",
"Id": 7
},
{
"ImgUrl": "sample string 1",
"BeginDate": "sample string 2",
"EndDate": "sample string 3",
"ViewLogSort": 4,
"ChapterCount": 5,
"Name": "sample string 6",
"Id": 7
}
],
"State": 1,
"Msg": "sample string 2"
}