POST api/professionalcourse/save
保存课程专业
Request Information
URI Parameters
None.
Body Parameters
课程专业实体
ProfessionalCourseName | Description | Type | Additional information |
---|---|---|---|
Id |
课程分类 |
integer |
None. |
ProfessionalCourseName |
课程分类名称 |
string |
None. |
ProfessionalCourseNo |
课程编号 |
string |
None. |
Credit |
学分 |
decimal number |
None. |
OpeningTime |
开课时间 |
date |
None. |
ClassHours |
课时 |
string |
None. |
PrelectObject |
授课对象 |
string |
None. |
Teacher |
任课老师 |
string |
None. |
ChargeOfEvaluation |
评价责任人 |
string |
None. |
EvaluationParticipants |
评价参与人 |
string |
None. |
Path |
层级路径 |
string |
None. |
PId |
父级分类 |
integer |
None. |
Sort |
排序 |
integer |
None. |
TargetExpectation |
目标期望值 |
decimal number |
None. |
CreatedTime |
创建时间 |
date |
None. |
Icon |
图标 |
string |
Max length: 128 |
OriginWay |
来源 |
OriginWay |
None. |
Disabled |
禁用 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ProfessionalCourseName": "sample string 2", "ProfessionalCourseNo": "sample string 3", "Credit": 4.1, "OpeningTime": "2024-09-25T00:11:07.7496229+08:00", "ClassHours": "sample string 5", "PrelectObject": "sample string 6", "Teacher": "sample string 7", "ChargeOfEvaluation": "sample string 8", "EvaluationParticipants": "sample string 9", "Path": "sample string 10", "PId": 11, "Sort": 12, "TargetExpectation": 13.1, "CreatedTime": "2024-09-25T00:11:07.7496229+08:00", "Icon": "sample string 15", "OriginWay": 1, "Disabled": true }
text/html
Sample:
{"Id":1,"ProfessionalCourseName":"sample string 2","ProfessionalCourseNo":"sample string 3","Credit":4.1,"OpeningTime":"2024-09-25T00:11:07.7496229+08:00","ClassHours":"sample string 5","PrelectObject":"sample string 6","Teacher":"sample string 7","ChargeOfEvaluation":"sample string 8","EvaluationParticipants":"sample string 9","Path":"sample string 10","PId":11,"Sort":12,"TargetExpectation":13.1,"CreatedTime":"2024-09-25T00:11:07.7496229+08:00","Icon":"sample string 15","OriginWay":1,"Disabled":true}
application/xml, text/xml
Sample:
<ProfessionalCourse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <ChargeOfEvaluation>sample string 8</ChargeOfEvaluation> <ClassHours>sample string 5</ClassHours> <CreatedTime>2024-09-25T00:11:07.7496229+08:00</CreatedTime> <Credit>4.1</Credit> <Disabled>true</Disabled> <EvaluationParticipants>sample string 9</EvaluationParticipants> <Icon>sample string 15</Icon> <Id>1</Id> <OpeningTime>2024-09-25T00:11:07.7496229+08:00</OpeningTime> <OriginWay>Import</OriginWay> <PId>11</PId> <Path>sample string 10</Path> <PrelectObject>sample string 6</PrelectObject> <ProfessionalCourseName>sample string 2</ProfessionalCourseName> <ProfessionalCourseNo>sample string 3</ProfessionalCourseNo> <Sort>12</Sort> <TargetExpectation>13.1</TargetExpectation> <Teacher>sample string 7</Teacher> </ProfessionalCourse>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存课程专业
JsonRtnDtoOfProfessionalCourseName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | ProfessionalCourse |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": 1, "ProfessionalCourseName": "sample string 2", "ProfessionalCourseNo": "sample string 3", "Credit": 4.1, "OpeningTime": "2024-09-25T00:11:07.7496229+08:00", "ClassHours": "sample string 5", "PrelectObject": "sample string 6", "Teacher": "sample string 7", "ChargeOfEvaluation": "sample string 8", "EvaluationParticipants": "sample string 9", "Path": "sample string 10", "PId": 11, "Sort": 12, "TargetExpectation": 13.1, "CreatedTime": "2024-09-25T00:11:07.7496229+08:00", "Icon": "sample string 15", "OriginWay": 1, "Disabled": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"ProfessionalCourseName":"sample string 2","ProfessionalCourseNo":"sample string 3","Credit":4.1,"OpeningTime":"2024-09-25T00:11:07.7496229+08:00","ClassHours":"sample string 5","PrelectObject":"sample string 6","Teacher":"sample string 7","ChargeOfEvaluation":"sample string 8","EvaluationParticipants":"sample string 9","Path":"sample string 10","PId":11,"Sort":12,"TargetExpectation":13.1,"CreatedTime":"2024-09-25T00:11:07.7496229+08:00","Icon":"sample string 15","OriginWay":1,"Disabled":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfProfessionalCoursemEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:ChargeOfEvaluation>sample string 8</d2p1:ChargeOfEvaluation> <d2p1:ClassHours>sample string 5</d2p1:ClassHours> <d2p1:CreatedTime>2024-09-25T00:11:07.7496229+08:00</d2p1:CreatedTime> <d2p1:Credit>4.1</d2p1:Credit> <d2p1:Disabled>true</d2p1:Disabled> <d2p1:EvaluationParticipants>sample string 9</d2p1:EvaluationParticipants> <d2p1:Icon>sample string 15</d2p1:Icon> <d2p1:Id>1</d2p1:Id> <d2p1:OpeningTime>2024-09-25T00:11:07.7496229+08:00</d2p1:OpeningTime> <d2p1:OriginWay>Import</d2p1:OriginWay> <d2p1:PId>11</d2p1:PId> <d2p1:Path>sample string 10</d2p1:Path> <d2p1:PrelectObject>sample string 6</d2p1:PrelectObject> <d2p1:ProfessionalCourseName>sample string 2</d2p1:ProfessionalCourseName> <d2p1:ProfessionalCourseNo>sample string 3</d2p1:ProfessionalCourseNo> <d2p1:Sort>12</d2p1:Sort> <d2p1:TargetExpectation>13.1</d2p1:TargetExpectation> <d2p1:Teacher>sample string 7</d2p1:Teacher> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfProfessionalCoursemEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"ProfessionalCourseName":"sample string 2","ProfessionalCourseNo":"sample string 3","Credit":4.1,"OpeningTime":"2024-09-25T00:11:07.7496229+08:00","ClassHours":"sample string 5","PrelectObject":"sample string 6","Teacher":"sample string 7","ChargeOfEvaluation":"sample string 8","EvaluationParticipants":"sample string 9","Path":"sample string 10","PId":11,"Sort":12,"TargetExpectation":13.1,"CreatedTime":"2024-09-25T00:11:07.7496229+08:00","Icon":"sample string 15","OriginWay":1,"Disabled":true}});