POST api/teachingclass/beginimportclass

开始导入班级信息

Request Information

URI Parameters

None.

Body Parameters

TeachingClassImportQueue
NameDescriptionTypeAdditional information
Id

编号

integer

None.

FileName

文件名

string

None.

ContentType

内容类型

integer

None.

Link

文件链接地址

string

None.

IsProcessed

是否处理

boolean

None.

ExistLink

已忽略导入的用户

string

None.

StructureId

根据路径

integer

None.

CreatedTime

创建时间

date

None.

ProfessionalCourseId

课程专业

integer

None.

Grade

年级

integer

None.

Semester

学期

Semester

None.

AcademicYear

string

Max length: 9

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FileName": "sample string 2",
  "ContentType": 3,
  "Link": "sample string 4",
  "IsProcessed": true,
  "ExistLink": "sample string 6",
  "StructureId": 7,
  "CreatedTime": "2024-09-25T00:06:11.8590883+08:00",
  "ProfessionalCourseId": 9,
  "Grade": 10,
  "Semester": 1,
  "AcademicYear": "sample string 11"
}

text/html

Sample:
{"Id":1,"FileName":"sample string 2","ContentType":3,"Link":"sample string 4","IsProcessed":true,"ExistLink":"sample string 6","StructureId":7,"CreatedTime":"2024-09-25T00:06:11.8590883+08:00","ProfessionalCourseId":9,"Grade":10,"Semester":1,"AcademicYear":"sample string 11"}

application/xml, text/xml

Sample:
<TeachingClassImportQueue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <AcademicYear>sample string 11</AcademicYear>
  <ContentType>3</ContentType>
  <CreatedTime>2024-09-25T00:06:11.8590883+08:00</CreatedTime>
  <ExistLink>sample string 6</ExistLink>
  <FileName>sample string 2</FileName>
  <Grade>10</Grade>
  <Id>1</Id>
  <IsProcessed>true</IsProcessed>
  <Link>sample string 4</Link>
  <ProfessionalCourseId>9</ProfessionalCourseId>
  <Semester>第一学期</Semester>
  <StructureId>7</StructureId>
</TeachingClassImportQueue>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

开始导入班级信息

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional 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});