GET api/Index/Category
获取课程分类列表(说明:App和小程序通用,App增加分类图标返回)
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
返状态码: 200:成功。
CategoryResult| Name | Description | Type | Additional information |
|---|---|---|---|
| categoryList |
分类集合 |
Collection of Category |
None. |
| status |
公共返回值: 480:Token无效。 481:请求需要身份验证。 482:身份验证方式不正确。 483:Token已过期。 500:服务器内部错误。 |
integer |
None. |
| msg |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"categoryList": [
{
"Category_ID": 1,
"Category_Title": "sample string 2",
"Category_Icon": "sample string 3"
},
{
"Category_ID": 1,
"Category_Title": "sample string 2",
"Category_Icon": "sample string 3"
}
],
"status": 1,
"msg": "sample string 2"
}