POST api/el2/CreateFileGroup
创建课件
Request Information
URI Parameters
None.
Body Parameters
CreateFileGroupDto| Name | Description | Type | Additional information |
|---|---|---|---|
| title |
课件名称 |
string |
Required |
| pic |
封面地址 |
string |
Required |
| openId |
openId/token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"pic": "sample string 2",
"openId": "sample string 3"
}
application/xml, text/xml
Sample:
<CreateFileGroupDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.QSAModels"> <openId xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">sample string 3</openId> <pic>sample string 2</pic> <title>sample string 1</title> </CreateFileGroupDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BaseOut| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误编码 2:error 401:鉴权失败;200:成功;500:内部错误; |
ErrCode |
None. |
| message |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 2,
"message": "sample string 1"
}
application/xml, text/xml
Sample:
<BaseOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels"> <errcode>Error</errcode> <message>sample string 1</message> </BaseOut>