POST api/testpaper/saveexamsubject
保存科目
Request Information
URI Parameters
None.
Body Parameters
ExamSubjectName | Description | Type | Additional information |
---|---|---|---|
SubjectName |
科目 |
string |
Max length: 100 |
TermId |
学期 |
integer |
None. |
ProfessionalCourseId |
专业课程 |
integer |
None. |
Id |
主键 |
globally unique identifier |
None. |
CreatedTime |
创建时间 |
date |
None. |
IsDeleted |
是否删除 |
boolean |
None. |
LastUpdatedTime |
最后更新时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "SubjectName": "sample string 1", "TermId": 2, "ProfessionalCourseId": 3, "Id": "73b5bf6e-5477-4146-8ff2-a979941b8cd1", "CreatedTime": "2024-09-25T00:08:25.3747733+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-25T00:08:25.3747733+08:00" }
text/html
Sample:
{"SubjectName":"sample string 1","TermId":2,"ProfessionalCourseId":3,"Id":"73b5bf6e-5477-4146-8ff2-a979941b8cd1","CreatedTime":"2024-09-25T00:08:25.3747733+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:08:25.3747733+08:00"}
application/xml, text/xml
Sample:
<ExamSubject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <CreatedTime>2024-09-25T00:08:25.3747733+08:00</CreatedTime> <Id>73b5bf6e-5477-4146-8ff2-a979941b8cd1</Id> <IsDeleted>true</IsDeleted> <LastUpdatedTime>2024-09-25T00:08:25.3747733+08:00</LastUpdatedTime> <ProfessionalCourseId>3</ProfessionalCourseId> <SubjectName>sample string 1</SubjectName> <TermId>2</TermId> </ExamSubject>
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});