GET api/teachingclass/find?id={id}

加载单个教学班级

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

加载单个教学班级

JsonRtnDtoOfTeachingClassShowDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

TeachingClassShowDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": "6b40eb40-45ef-4e90-aa84-089b32e89997",
    "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:09:37.421487+08:00",
    "AdministrativeClass": "sample string 11"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"6b40eb40-45ef-4e90-aa84-089b32e89997","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:09:37.421487+08:00","AdministrativeClass":"sample string 11"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfTeachingClassShowDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <AdministrativeClass>sample string 11</AdministrativeClass>
    <ClassName>sample string 7</ClassName>
    <CreatedTime>2024-09-25T00:09:37.421487+08:00</CreatedTime>
    <Grade>9</Grade>
    <Id>6b40eb40-45ef-4e90-aa84-089b32e89997</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>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfTeachingClassShowDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"6b40eb40-45ef-4e90-aa84-089b32e89997","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:09:37.421487+08:00","AdministrativeClass":"sample string 11"}});