POST api/ppadmin/savelearner
保存选课
Request Information
URI Parameters
None.
Body Parameters
参数
LearnerName | Description | Type | Additional information |
---|---|---|---|
Id |
主键ID |
string |
Max length: 36 |
LessonId |
课程ID |
string |
Max length: 36 |
ChooseCode |
选课课号 |
string |
Max length: 50 |
StuCode |
学号 |
string |
Max length: 25 |
StuName |
学生姓名 |
string |
Max length: 50 |
TeaCode |
教师职工号 |
string |
Max length: 25 |
TeaName |
教师姓名 |
string |
Max length: 50 |
Grade |
年级 |
string |
Max length: 15 |
College |
学院 |
string |
Max length: 20 |
Majors |
专业 |
string |
Max length: 20 |
ClassName |
班级 |
string |
Max length: 20 |
Datas |
各项数据 |
string |
None. |
CreateTime |
创建时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "LessonId": "sample string 2", "ChooseCode": "sample string 3", "StuCode": "sample string 4", "StuName": "sample string 5", "TeaCode": "sample string 6", "TeaName": "sample string 7", "Grade": "sample string 8", "College": "sample string 9", "Majors": "sample string 10", "ClassName": "sample string 11", "Datas": "sample string 12", "CreateTime": "2024-09-25T00:06:40.2968866+08:00" }
text/html
Sample:
{"Id":"sample string 1","LessonId":"sample string 2","ChooseCode":"sample string 3","StuCode":"sample string 4","StuName":"sample string 5","TeaCode":"sample string 6","TeaName":"sample string 7","Grade":"sample string 8","College":"sample string 9","Majors":"sample string 10","ClassName":"sample string 11","Datas":"sample string 12","CreateTime":"2024-09-25T00:06:40.2968866+08:00"}
application/xml, text/xml
Sample:
<Learner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <ChooseCode>sample string 3</ChooseCode> <ClassName>sample string 11</ClassName> <College>sample string 9</College> <CreateTime>2024-09-25T00:06:40.2968866+08:00</CreateTime> <Datas>sample string 12</Datas> <Grade>sample string 8</Grade> <Id>sample string 1</Id> <LessonId>sample string 2</LessonId> <Majors>sample string 10</Majors> <StuCode>sample string 4</StuCode> <StuName>sample string 5</StuName> <TeaCode>sample string 6</TeaCode> <TeaName>sample string 7</TeaName> </Learner>
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});