POST api/testpaperstatistic/getuserstudentscore

按课程选择任课教师所有学生基本信息以及历年成绩

Request Information

URI Parameters

None.

Body Parameters

QueryUserStudentScoreDto
NameDescriptionTypeAdditional information
UserId

教师编号

integer

None.

Grade

年级

integer

None.

Semester

学期

Semester

None.

PatternType

试卷应用分类(该分类主要用于统计分析时使用)

PatternType

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Grade": 2,
  "Semester": 1,
  "PatternType": 1
}

text/html

Sample:
{"UserId":1,"Grade":2,"Semester":1,"PatternType":1}

application/xml, text/xml

Sample:
<QueryUserStudentScoreDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Grade>2</Grade>
  <PatternType>正规考试</PatternType>
  <Semester>第一学期</Semester>
  <UserId>1</UserId>
</QueryUserStudentScoreDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

按课程选择任课教师所有学生基本信息以及历年成绩

Collection of UserClassStudents
NameDescriptionTypeAdditional information
ClassName

班级名称

string

None.

ClassStudentsScores

班级学生得分信息

Collection of ClassStudentsScore

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ClassName": "sample string 1",
    "ClassStudentsScores": [
      {
        "StuId": "sample string 1",
        "StuName": "sample string 2",
        "StructureName": "sample string 3",
        "GradeSemesters": [
          {
            "Grade": "sample string 1",
            "ClassName": "sample string 2",
            "Semester": "sample string 3",
            "Score": [
              1.1,
              2.1
            ]
          },
          {
            "Grade": "sample string 1",
            "ClassName": "sample string 2",
            "Semester": "sample string 3",
            "Score": [
              1.1,
              2.1
            ]
          }
        ]
      },
      {
        "StuId": "sample string 1",
        "StuName": "sample string 2",
        "StructureName": "sample string 3",
        "GradeSemesters": [
          {
            "Grade": "sample string 1",
            "ClassName": "sample string 2",
            "Semester": "sample string 3",
            "Score": [
              1.1,
              2.1
            ]
          },
          {
            "Grade": "sample string 1",
            "ClassName": "sample string 2",
            "Semester": "sample string 3",
            "Score": [
              1.1,
              2.1
            ]
          }
        ]
      }
    ]
  },
  {
    "ClassName": "sample string 1",
    "ClassStudentsScores": [
      {
        "StuId": "sample string 1",
        "StuName": "sample string 2",
        "StructureName": "sample string 3",
        "GradeSemesters": [
          {
            "Grade": "sample string 1",
            "ClassName": "sample string 2",
            "Semester": "sample string 3",
            "Score": [
              1.1,
              2.1
            ]
          },
          {
            "Grade": "sample string 1",
            "ClassName": "sample string 2",
            "Semester": "sample string 3",
            "Score": [
              1.1,
              2.1
            ]
          }
        ]
      },
      {
        "StuId": "sample string 1",
        "StuName": "sample string 2",
        "StructureName": "sample string 3",
        "GradeSemesters": [
          {
            "Grade": "sample string 1",
            "ClassName": "sample string 2",
            "Semester": "sample string 3",
            "Score": [
              1.1,
              2.1
            ]
          },
          {
            "Grade": "sample string 1",
            "ClassName": "sample string 2",
            "Semester": "sample string 3",
            "Score": [
              1.1,
              2.1
            ]
          }
        ]
      }
    ]
  }
]

text/html

Sample:
[{"ClassName":"sample string 1","ClassStudentsScores":[{"StuId":"sample string 1","StuName":"sample string 2","StructureName":"sample string 3","GradeSemesters":[{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]},{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]}]},{"StuId":"sample string 1","StuName":"sample string 2","StructureName":"sample string 3","GradeSemesters":[{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]},{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]}]}]},{"ClassName":"sample string 1","ClassStudentsScores":[{"StuId":"sample string 1","StuName":"sample string 2","StructureName":"sample string 3","GradeSemesters":[{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]},{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]}]},{"StuId":"sample string 1","StuName":"sample string 2","StructureName":"sample string 3","GradeSemesters":[{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]},{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]}]}]}]

application/xml, text/xml

Sample:
<ArrayOfUserClassStudents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <UserClassStudents>
    <ClassName>sample string 1</ClassName>
    <ClassStudentsScores>
      <ClassStudentsScore>
        <GradeSemesters>
          <GradeSemester>
            <ClassName>sample string 2</ClassName>
            <Grade>sample string 1</Grade>
            <Score xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:double>1.1</d7p1:double>
              <d7p1:double>2.1</d7p1:double>
            </Score>
            <Semester>sample string 3</Semester>
          </GradeSemester>
          <GradeSemester>
            <ClassName>sample string 2</ClassName>
            <Grade>sample string 1</Grade>
            <Score xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:double>1.1</d7p1:double>
              <d7p1:double>2.1</d7p1:double>
            </Score>
            <Semester>sample string 3</Semester>
          </GradeSemester>
        </GradeSemesters>
        <StructureName>sample string 3</StructureName>
        <StuId>sample string 1</StuId>
        <StuName>sample string 2</StuName>
      </ClassStudentsScore>
      <ClassStudentsScore>
        <GradeSemesters>
          <GradeSemester>
            <ClassName>sample string 2</ClassName>
            <Grade>sample string 1</Grade>
            <Score xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:double>1.1</d7p1:double>
              <d7p1:double>2.1</d7p1:double>
            </Score>
            <Semester>sample string 3</Semester>
          </GradeSemester>
          <GradeSemester>
            <ClassName>sample string 2</ClassName>
            <Grade>sample string 1</Grade>
            <Score xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:double>1.1</d7p1:double>
              <d7p1:double>2.1</d7p1:double>
            </Score>
            <Semester>sample string 3</Semester>
          </GradeSemester>
        </GradeSemesters>
        <StructureName>sample string 3</StructureName>
        <StuId>sample string 1</StuId>
        <StuName>sample string 2</StuName>
      </ClassStudentsScore>
    </ClassStudentsScores>
  </UserClassStudents>
  <UserClassStudents>
    <ClassName>sample string 1</ClassName>
    <ClassStudentsScores>
      <ClassStudentsScore>
        <GradeSemesters>
          <GradeSemester>
            <ClassName>sample string 2</ClassName>
            <Grade>sample string 1</Grade>
            <Score xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:double>1.1</d7p1:double>
              <d7p1:double>2.1</d7p1:double>
            </Score>
            <Semester>sample string 3</Semester>
          </GradeSemester>
          <GradeSemester>
            <ClassName>sample string 2</ClassName>
            <Grade>sample string 1</Grade>
            <Score xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:double>1.1</d7p1:double>
              <d7p1:double>2.1</d7p1:double>
            </Score>
            <Semester>sample string 3</Semester>
          </GradeSemester>
        </GradeSemesters>
        <StructureName>sample string 3</StructureName>
        <StuId>sample string 1</StuId>
        <StuName>sample string 2</StuName>
      </ClassStudentsScore>
      <ClassStudentsScore>
        <GradeSemesters>
          <GradeSemester>
            <ClassName>sample string 2</ClassName>
            <Grade>sample string 1</Grade>
            <Score xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:double>1.1</d7p1:double>
              <d7p1:double>2.1</d7p1:double>
            </Score>
            <Semester>sample string 3</Semester>
          </GradeSemester>
          <GradeSemester>
            <ClassName>sample string 2</ClassName>
            <Grade>sample string 1</Grade>
            <Score xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:double>1.1</d7p1:double>
              <d7p1:double>2.1</d7p1:double>
            </Score>
            <Semester>sample string 3</Semester>
          </GradeSemester>
        </GradeSemesters>
        <StructureName>sample string 3</StructureName>
        <StuId>sample string 1</StuId>
        <StuName>sample string 2</StuName>
      </ClassStudentsScore>
    </ClassStudentsScores>
  </UserClassStudents>
</ArrayOfUserClassStudents>

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

Sample:
/**/ typeof  === 'function' && ([{"ClassName":"sample string 1","ClassStudentsScores":[{"StuId":"sample string 1","StuName":"sample string 2","StructureName":"sample string 3","GradeSemesters":[{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]},{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]}]},{"StuId":"sample string 1","StuName":"sample string 2","StructureName":"sample string 3","GradeSemesters":[{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]},{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]}]}]},{"ClassName":"sample string 1","ClassStudentsScores":[{"StuId":"sample string 1","StuName":"sample string 2","StructureName":"sample string 3","GradeSemesters":[{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]},{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]}]},{"StuId":"sample string 1","StuName":"sample string 2","StructureName":"sample string 3","GradeSemesters":[{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]},{"Grade":"sample string 1","ClassName":"sample string 2","Semester":"sample string 3","Score":[1.1,2.1]}]}]}]);