POST api/testpaperstatistic/greaderule

年级规则统计

Request Information

URI Parameters

None.

Body Parameters

GreadeRuleQueryDto
NameDescriptionTypeAdditional information
Grade

年级

integer

None.

Semester

学期

integer

None.

Year

integer

None.

PcId

课程编号

integer

None.

Absent

是否包括缺考

boolean

None.

Conditions

成绩分组条件

Collection of Condition

None.

Request Formats

application/json, text/json

Sample:
{
  "Grade": 1,
  "Semester": 2,
  "Year": 3,
  "PcId": 4,
  "Absent": true,
  "Conditions": [
    {
      "Name": "sample string 1",
      "MinScore": 2.1,
      "MaxScore": 3.1
    },
    {
      "Name": "sample string 1",
      "MinScore": 2.1,
      "MaxScore": 3.1
    }
  ]
}

text/html

Sample:
{"Grade":1,"Semester":2,"Year":3,"PcId":4,"Absent":true,"Conditions":[{"Name":"sample string 1","MinScore":2.1,"MaxScore":3.1},{"Name":"sample string 1","MinScore":2.1,"MaxScore":3.1}]}

application/xml, text/xml

Sample:
<GreadeRuleQueryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Absent>true</Absent>
  <Conditions>
    <Condition>
      <MaxScore>3.1</MaxScore>
      <MinScore>2.1</MinScore>
      <Name>sample string 1</Name>
    </Condition>
    <Condition>
      <MaxScore>3.1</MaxScore>
      <MinScore>2.1</MinScore>
      <Name>sample string 1</Name>
    </Condition>
  </Conditions>
  <Grade>1</Grade>
  <PcId>4</PcId>
  <Semester>2</Semester>
  <Year>3</Year>
</GreadeRuleQueryDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

年级规则统计

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

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

Sample:
/**/ typeof  === 'function' && ({});