POST api/teachingclass/loadcheckedteachingclass

加载已勾选的教学班级

Request Information

URI Parameters

None.

Body Parameters

参数实体

ExamCheckedTeachingClass
NameDescriptionTypeAdditional information
tcId

专业Id

integer

None.

grade

年级

integer

None.

semester

学期

integer

None.

tcIds

已选参考班级编号

Collection of globally unique identifier

None.

pageSize

integer

None.

pageIndex

integer

None.

key

string

None.

orderField

string

None.

sort

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "tcId": 1,
  "grade": 2,
  "semester": 3,
  "tcIds": [
    "fb07ca42-c645-49bb-9b7d-bd3e7c964892",
    "35fa2c24-8bbd-4ba1-b5ea-35355bd45a27"
  ],
  "pageSize": 4,
  "pageIndex": 5,
  "key": "sample string 6",
  "orderField": "sample string 7",
  "sort": true
}

text/html

Sample:
{"tcId":1,"grade":2,"semester":3,"tcIds":["fb07ca42-c645-49bb-9b7d-bd3e7c964892","35fa2c24-8bbd-4ba1-b5ea-35355bd45a27"],"pageSize":4,"pageIndex":5,"key":"sample string 6","orderField":"sample string 7","sort":true}

application/xml, text/xml

Sample:
<ExamCheckedTeachingClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeachingSysApi.Models">
  <key xmlns="http://schemas.datacontract.org/2004/07/BJ.Infrastructure">sample string 6</key>
  <orderField xmlns="http://schemas.datacontract.org/2004/07/BJ.Infrastructure">sample string 7</orderField>
  <pageIndex xmlns="http://schemas.datacontract.org/2004/07/BJ.Infrastructure">5</pageIndex>
  <pageSize xmlns="http://schemas.datacontract.org/2004/07/BJ.Infrastructure">4</pageSize>
  <sort xmlns="http://schemas.datacontract.org/2004/07/BJ.Infrastructure">true</sort>
  <grade>2</grade>
  <semester>3</semester>
  <tcId>1</tcId>
  <tcIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>fb07ca42-c645-49bb-9b7d-bd3e7c964892</d2p1:guid>
    <d2p1:guid>35fa2c24-8bbd-4ba1-b5ea-35355bd45a27</d2p1:guid>
  </tcIds>
</ExamCheckedTeachingClass>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

加载已勾选的教学班级

JsonRtnDtoOfPageResultOfTeachingClassShowDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

PageResultOfTeachingClassShowDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Value": [
      {
        "Id": "e58d0b51-9578-4a94-945e-eadd4691c388",
        "UserId": 2,
        "UserName": "sample string 3",
        "SchoolName": "sample string 4",
        "ProfessionalCourseId": 5,
        "ProfessionalCourseName": "sample string 6",
        "ClassName": "sample string 7",
        "StudentNumber": 8,
        "Grade": 9,
        "Semester": 1,
        "CreatedTime": "2024-09-25T00:07:55.5157549+08:00",
        "AdministrativeClass": "sample string 11"
      },
      {
        "Id": "e58d0b51-9578-4a94-945e-eadd4691c388",
        "UserId": 2,
        "UserName": "sample string 3",
        "SchoolName": "sample string 4",
        "ProfessionalCourseId": 5,
        "ProfessionalCourseName": "sample string 6",
        "ClassName": "sample string 7",
        "StudentNumber": 8,
        "Grade": 9,
        "Semester": 1,
        "CreatedTime": "2024-09-25T00:07:55.5157549+08:00",
        "AdministrativeClass": "sample string 11"
      }
    ],
    "PageIndex": 1,
    "PageSize": 2,
    "total": 3,
    "TotalPages": 4,
    "HasPreviousPage": false,
    "HasNextPage": true
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"e58d0b51-9578-4a94-945e-eadd4691c388","UserId":2,"UserName":"sample string 3","SchoolName":"sample string 4","ProfessionalCourseId":5,"ProfessionalCourseName":"sample string 6","ClassName":"sample string 7","StudentNumber":8,"Grade":9,"Semester":1,"CreatedTime":"2024-09-25T00:07:55.5157549+08:00","AdministrativeClass":"sample string 11"},{"Id":"e58d0b51-9578-4a94-945e-eadd4691c388","UserId":2,"UserName":"sample string 3","SchoolName":"sample string 4","ProfessionalCourseId":5,"ProfessionalCourseName":"sample string 6","ClassName":"sample string 7","StudentNumber":8,"Grade":9,"Semester":1,"CreatedTime":"2024-09-25T00:07:55.5157549+08:00","AdministrativeClass":"sample string 11"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfPageResultOfTeachingClassShowDtov3CTEUQJS_STz13wm 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.Infrastructure">
    <d2p1:PageIndex>1</d2p1:PageIndex>
    <d2p1:PageSize>2</d2p1:PageSize>
    <d2p1:TotalPages>4</d2p1:TotalPages>
    <d2p1:total>3</d2p1:total>
    <d2p1:Value>
      <TeachingClassShowDto>
        <AdministrativeClass>sample string 11</AdministrativeClass>
        <ClassName>sample string 7</ClassName>
        <CreatedTime>2024-09-25T00:07:55.5157549+08:00</CreatedTime>
        <Grade>9</Grade>
        <Id>e58d0b51-9578-4a94-945e-eadd4691c388</Id>
        <ProfessionalCourseId>5</ProfessionalCourseId>
        <ProfessionalCourseName>sample string 6</ProfessionalCourseName>
        <SchoolName>sample string 4</SchoolName>
        <Semester>第一学期</Semester>
        <StudentNumber>8</StudentNumber>
        <UserId>2</UserId>
        <UserName>sample string 3</UserName>
      </TeachingClassShowDto>
      <TeachingClassShowDto>
        <AdministrativeClass>sample string 11</AdministrativeClass>
        <ClassName>sample string 7</ClassName>
        <CreatedTime>2024-09-25T00:07:55.5157549+08:00</CreatedTime>
        <Grade>9</Grade>
        <Id>e58d0b51-9578-4a94-945e-eadd4691c388</Id>
        <ProfessionalCourseId>5</ProfessionalCourseId>
        <ProfessionalCourseName>sample string 6</ProfessionalCourseName>
        <SchoolName>sample string 4</SchoolName>
        <Semester>第一学期</Semester>
        <StudentNumber>8</StudentNumber>
        <UserId>2</UserId>
        <UserName>sample string 3</UserName>
      </TeachingClassShowDto>
    </d2p1:Value>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfPageResultOfTeachingClassShowDtov3CTEUQJS_STz13wm>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"e58d0b51-9578-4a94-945e-eadd4691c388","UserId":2,"UserName":"sample string 3","SchoolName":"sample string 4","ProfessionalCourseId":5,"ProfessionalCourseName":"sample string 6","ClassName":"sample string 7","StudentNumber":8,"Grade":9,"Semester":1,"CreatedTime":"2024-09-25T00:07:55.5157549+08:00","AdministrativeClass":"sample string 11"},{"Id":"e58d0b51-9578-4a94-945e-eadd4691c388","UserId":2,"UserName":"sample string 3","SchoolName":"sample string 4","ProfessionalCourseId":5,"ProfessionalCourseName":"sample string 6","ClassName":"sample string 7","StudentNumber":8,"Grade":9,"Semester":1,"CreatedTime":"2024-09-25T00:07:55.5157549+08:00","AdministrativeClass":"sample string 11"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});