POST api/ppadmin/savelesson
保存课程信息
Request Information
URI Parameters
None.
Body Parameters
参数
LessonName | Description | Type | Additional information |
---|---|---|---|
Id |
主键ID |
string |
Max length: 36 |
Lessons |
本次课程名称 |
string |
Max length: 50 |
Cid |
开启的模块 |
string |
Max length: 4000 |
Ischeck |
是否启用 |
boolean |
None. |
Datas |
绑定的环节设置信息 |
string |
None. |
AddTime |
添加时间 |
date |
None. |
Semester |
学期 |
Semester |
None. |
Grade |
年级 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "Lessons": "sample string 2", "Cid": "sample string 3", "Ischeck": true, "Datas": "sample string 5", "AddTime": "2024-09-25T00:06:19.2983352+08:00", "Semester": 1, "Grade": 6 }
text/html
Sample:
{"Id":"sample string 1","Lessons":"sample string 2","Cid":"sample string 3","Ischeck":true,"Datas":"sample string 5","AddTime":"2024-09-25T00:06:19.2983352+08:00","Semester":1,"Grade":6}
application/xml, text/xml
Sample:
<Lesson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <AddTime>2024-09-25T00:06:19.2983352+08:00</AddTime> <Cid>sample string 3</Cid> <Datas>sample string 5</Datas> <Grade>6</Grade> <Id>sample string 1</Id> <Ischeck>true</Ischeck> <Lessons>sample string 2</Lessons> <Semester>第一学期</Semester> </Lesson>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存课程信息
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});