POST api/ArchiveTable/AddArchiveTable
保存档案表
Request Information
URI Parameters
None.
Body Parameters
ArchiveTableInputName | Description | Type | Additional information |
---|---|---|---|
DirectoryId |
目录编号 |
globally unique identifier |
None. |
TableName |
任务名称 |
string |
None. |
AcademicYear |
学年学期 |
string |
None. |
Semester |
学期 |
integer |
None. |
SchoolName |
院校 |
string |
None. |
Major |
专业 |
string |
None. |
ProfessionalName |
课程 |
string |
None. |
ProfessionalNo |
课程代码 |
string |
None. |
CourseTypeName |
课程种类名称 |
string |
None. |
CourseCategory |
课程类别 |
string |
None. |
Grade |
年级 |
integer |
None. |
CreatorId |
创建人编号 |
integer |
None. |
CreatorUser |
传教人 |
string |
None. |
BeginTime |
起始时间 |
date |
None. |
EndTime |
结束时间 |
date |
None. |
CreatorType |
创建形式 |
CreatorType |
None. |
Request Formats
application/json, text/json
Sample:
{ "DirectoryId": "695a77a5-70f5-4856-b9a5-c09289fc6c7c", "TableName": "sample string 2", "AcademicYear": "sample string 3", "Semester": 4, "SchoolName": "sample string 5", "Major": "sample string 6", "ProfessionalName": "sample string 7", "ProfessionalNo": "sample string 8", "CourseTypeName": "sample string 9", "CourseCategory": "sample string 10", "Grade": 11, "CreatorId": 1, "CreatorUser": "sample string 12", "BeginTime": "2024-09-25T00:08:17.0623602+08:00", "EndTime": "2024-09-25T00:08:17.0623602+08:00", "CreatorType": 1 }
text/html
Sample:
{"DirectoryId":"695a77a5-70f5-4856-b9a5-c09289fc6c7c","TableName":"sample string 2","AcademicYear":"sample string 3","Semester":4,"SchoolName":"sample string 5","Major":"sample string 6","ProfessionalName":"sample string 7","ProfessionalNo":"sample string 8","CourseTypeName":"sample string 9","CourseCategory":"sample string 10","Grade":11,"CreatorId":1,"CreatorUser":"sample string 12","BeginTime":"2024-09-25T00:08:17.0623602+08:00","EndTime":"2024-09-25T00:08:17.0623602+08:00","CreatorType":1}
application/xml, text/xml
Sample:
<ArchiveTableInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <AcademicYear>sample string 3</AcademicYear> <BeginTime>2024-09-25T00:08:17.0623602+08:00</BeginTime> <CourseCategory>sample string 10</CourseCategory> <CourseTypeName>sample string 9</CourseTypeName> <CreatorId>1</CreatorId> <CreatorType>导入</CreatorType> <CreatorUser>sample string 12</CreatorUser> <DirectoryId>695a77a5-70f5-4856-b9a5-c09289fc6c7c</DirectoryId> <EndTime>2024-09-25T00:08:17.0623602+08:00</EndTime> <Grade>11</Grade> <Major>sample string 6</Major> <ProfessionalName>sample string 7</ProfessionalName> <ProfessionalNo>sample string 8</ProfessionalNo> <SchoolName>sample string 5</SchoolName> <Semester>4</Semester> <TableName>sample string 2</TableName> </ArchiveTableInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存档案表
JsonRtnDtoOfGuidName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": "efdaefe0-0456-443f-812a-dce1f8674dfa" }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":"efdaefe0-0456-443f-812a-dce1f8674dfa"}
application/xml, text/xml
Sample:
<JsonRtnDtoOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>efdaefe0-0456-443f-812a-dce1f8674dfa</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfguid>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":"efdaefe0-0456-443f-812a-dce1f8674dfa"});