POST api/scoreanalysis/qualityanalysis

质量分析表

Request Information

URI Parameters

None.

Body Parameters

QualityAnalysisInputDto
NameDescriptionTypeAdditional information
paperId

试卷编号

globally unique identifier

None.

tcId

教学班级编号

globally unique identifier

None.

userScoreRates

分数段人数比例

Collection of UserScoreRate

None.

Request Formats

application/json, text/json

Sample:
{
  "paperId": "e62fdf08-c095-4092-a98a-00de775d130f",
  "tcId": "81fdf8a8-2a44-4d33-a755-8c317967ca67",
  "userScoreRates": [
    {
      "MinScore": 1.1,
      "MaxScore": 2.1,
      "UserNum": 3
    },
    {
      "MinScore": 1.1,
      "MaxScore": 2.1,
      "UserNum": 3
    }
  ]
}

text/html

Sample:
{"paperId":"e62fdf08-c095-4092-a98a-00de775d130f","tcId":"81fdf8a8-2a44-4d33-a755-8c317967ca67","userScoreRates":[{"MinScore":1.1,"MaxScore":2.1,"UserNum":3},{"MinScore":1.1,"MaxScore":2.1,"UserNum":3}]}

application/xml, text/xml

Sample:
<QualityAnalysisInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <paperId>e62fdf08-c095-4092-a98a-00de775d130f</paperId>
  <tcId>81fdf8a8-2a44-4d33-a755-8c317967ca67</tcId>
  <userScoreRates>
    <UserScoreRate>
      <MaxScore>2.1</MaxScore>
      <MinScore>1.1</MinScore>
      <UserNum>3</UserNum>
    </UserScoreRate>
    <UserScoreRate>
      <MaxScore>2.1</MaxScore>
      <MinScore>1.1</MinScore>
      <UserNum>3</UserNum>
    </UserScoreRate>
  </userScoreRates>
</QualityAnalysisInputDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

质量分析表

JsonRtnDtoOfQualityAnalysisDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

QualityAnalysisDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "CourseInfo": {
      "CourseName": "sample string 1",
      "CourseUnits": "sample string 2",
      "CheckClass": "sample string 3",
      "BeginTime": "2024-09-25T00:09:42.3903468+08:00",
      "CourseCredit": 5.1,
      "CheckTime": "2024-09-25T00:09:42.3903468+08:00"
    },
    "QualityInfo": {
      "RealTestNum": 1,
      "AvgScore": 2.1,
      "StandardDeviation": 3.1,
      "DifficultyCoefficient": 4.1
    },
    "UserScoreRates": [
      {
        "MinScore": 1.1,
        "MaxScore": 2.1,
        "UserNum": 3
      },
      {
        "MinScore": 1.1,
        "MaxScore": 2.1,
        "UserNum": 3
      }
    ],
    "TestAvgScores": [
      {
        "SerialNum": 1,
        "TotalScore": 2.1,
        "AvgScore": 3.1
      },
      {
        "SerialNum": 1,
        "TotalScore": 2.1,
        "AvgScore": 3.1
      }
    ]
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"CourseInfo":{"CourseName":"sample string 1","CourseUnits":"sample string 2","CheckClass":"sample string 3","BeginTime":"2024-09-25T00:09:42.3903468+08:00","CourseCredit":5.1,"CheckTime":"2024-09-25T00:09:42.3903468+08:00"},"QualityInfo":{"RealTestNum":1,"AvgScore":2.1,"StandardDeviation":3.1,"DifficultyCoefficient":4.1},"UserScoreRates":[{"MinScore":1.1,"MaxScore":2.1,"UserNum":3},{"MinScore":1.1,"MaxScore":2.1,"UserNum":3}],"TestAvgScores":[{"SerialNum":1,"TotalScore":2.1,"AvgScore":3.1},{"SerialNum":1,"TotalScore":2.1,"AvgScore":3.1}]}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfQualityAnalysisDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <CourseInfo>
      <BeginTime>2024-09-25T00:09:42.3903468+08:00</BeginTime>
      <CheckClass>sample string 3</CheckClass>
      <CheckTime>2024-09-25T00:09:42.3903468+08:00</CheckTime>
      <CourseCredit>5.1</CourseCredit>
      <CourseName>sample string 1</CourseName>
      <CourseUnits>sample string 2</CourseUnits>
    </CourseInfo>
    <QualityInfo>
      <AvgScore>2.1</AvgScore>
      <DifficultyCoefficient>4.1</DifficultyCoefficient>
      <RealTestNum>1</RealTestNum>
      <StandardDeviation>3.1</StandardDeviation>
    </QualityInfo>
    <TestAvgScores>
      <TestAvgScore>
        <AvgScore>3.1</AvgScore>
        <SerialNum>1</SerialNum>
        <TotalScore>2.1</TotalScore>
      </TestAvgScore>
      <TestAvgScore>
        <AvgScore>3.1</AvgScore>
        <SerialNum>1</SerialNum>
        <TotalScore>2.1</TotalScore>
      </TestAvgScore>
    </TestAvgScores>
    <UserScoreRates>
      <UserScoreRate>
        <MaxScore>2.1</MaxScore>
        <MinScore>1.1</MinScore>
        <UserNum>3</UserNum>
      </UserScoreRate>
      <UserScoreRate>
        <MaxScore>2.1</MaxScore>
        <MinScore>1.1</MinScore>
        <UserNum>3</UserNum>
      </UserScoreRate>
    </UserScoreRates>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfQualityAnalysisDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"CourseInfo":{"CourseName":"sample string 1","CourseUnits":"sample string 2","CheckClass":"sample string 3","BeginTime":"2024-09-25T00:09:42.3903468+08:00","CourseCredit":5.1,"CheckTime":"2024-09-25T00:09:42.3903468+08:00"},"QualityInfo":{"RealTestNum":1,"AvgScore":2.1,"StandardDeviation":3.1,"DifficultyCoefficient":4.1},"UserScoreRates":[{"MinScore":1.1,"MaxScore":2.1,"UserNum":3},{"MinScore":1.1,"MaxScore":2.1,"UserNum":3}],"TestAvgScores":[{"SerialNum":1,"TotalScore":2.1,"AvgScore":3.1},{"SerialNum":1,"TotalScore":2.1,"AvgScore":3.1}]}});