POST api/homework/getscorephasestatistical

作业成绩分阶段统计

Request Information

URI Parameters

None.

Body Parameters

PaperQueryDto
NameDescriptionTypeAdditional information
PaperId

试卷编号

globally unique identifier

None.

StruId

行政班级编号

integer

None.

TcId

教学班级编号

globally unique identifier

None.

Conditions

成绩分组条件

Collection of Condition

None.

ClassType

查询类型 教学班级 Or 行政班级 此处应与试卷的班级类型保持一致

ClassType

None.

Request Formats

application/json, text/json

Sample:
{
  "PaperId": "afc34b5b-bf74-4d2f-a36d-fd098f60e313",
  "StruId": 2,
  "TcId": "b67e4413-c2f7-4f70-8a5c-b560a70c4359",
  "Conditions": [
    {
      "Name": "sample string 1",
      "MinScore": 2.1,
      "MaxScore": 3.1
    },
    {
      "Name": "sample string 1",
      "MinScore": 2.1,
      "MaxScore": 3.1
    }
  ],
  "ClassType": 1
}

text/html

Sample:
{"PaperId":"afc34b5b-bf74-4d2f-a36d-fd098f60e313","StruId":2,"TcId":"b67e4413-c2f7-4f70-8a5c-b560a70c4359","Conditions":[{"Name":"sample string 1","MinScore":2.1,"MaxScore":3.1},{"Name":"sample string 1","MinScore":2.1,"MaxScore":3.1}],"ClassType":1}

application/xml, text/xml

Sample:
<PaperQueryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <ClassType>教学班级</ClassType>
  <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>
  <PaperId>afc34b5b-bf74-4d2f-a36d-fd098f60e313</PaperId>
  <StruId>2</StruId>
  <TcId>b67e4413-c2f7-4f70-8a5c-b560a70c4359</TcId>
</PaperQueryDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

作业成绩分阶段统计

JsonRtnDtoOfListOfWorkScorePhaseResultsDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of WorkScorePhaseResultsDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "AccountName": "sample string 1",
      "UserName": "sample string 2",
      "ClassName": "sample string 3",
      "TotalNumber": 4,
      "Participants": 3,
      "Absentees": 1,
      "LPQRD": [
        {
          "ConditionName": "sample string 1",
          "Number": 2,
          "Percentage": 3.1
        },
        {
          "ConditionName": "sample string 1",
          "Number": 2,
          "Percentage": 3.1
        }
      ]
    },
    {
      "AccountName": "sample string 1",
      "UserName": "sample string 2",
      "ClassName": "sample string 3",
      "TotalNumber": 4,
      "Participants": 3,
      "Absentees": 1,
      "LPQRD": [
        {
          "ConditionName": "sample string 1",
          "Number": 2,
          "Percentage": 3.1
        },
        {
          "ConditionName": "sample string 1",
          "Number": 2,
          "Percentage": 3.1
        }
      ]
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"AccountName":"sample string 1","UserName":"sample string 2","ClassName":"sample string 3","TotalNumber":4,"Participants":3,"Absentees":1,"LPQRD":[{"ConditionName":"sample string 1","Number":2,"Percentage":3.1},{"ConditionName":"sample string 1","Number":2,"Percentage":3.1}]},{"AccountName":"sample string 1","UserName":"sample string 2","ClassName":"sample string 3","TotalNumber":4,"Participants":3,"Absentees":1,"LPQRD":[{"ConditionName":"sample string 1","Number":2,"Percentage":3.1},{"ConditionName":"sample string 1","Number":2,"Percentage":3.1}]}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfWorkScorePhaseResultsDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <WorkScorePhaseResultsDto>
      <Absentees>1</Absentees>
      <AccountName>sample string 1</AccountName>
      <ClassName>sample string 3</ClassName>
      <LPQRD>
        <WorkQueryResultsDto>
          <ConditionName>sample string 1</ConditionName>
          <Number>2</Number>
          <Percentage>3.1</Percentage>
        </WorkQueryResultsDto>
        <WorkQueryResultsDto>
          <ConditionName>sample string 1</ConditionName>
          <Number>2</Number>
          <Percentage>3.1</Percentage>
        </WorkQueryResultsDto>
      </LPQRD>
      <TotalNumber>4</TotalNumber>
      <UserName>sample string 2</UserName>
    </WorkScorePhaseResultsDto>
    <WorkScorePhaseResultsDto>
      <Absentees>1</Absentees>
      <AccountName>sample string 1</AccountName>
      <ClassName>sample string 3</ClassName>
      <LPQRD>
        <WorkQueryResultsDto>
          <ConditionName>sample string 1</ConditionName>
          <Number>2</Number>
          <Percentage>3.1</Percentage>
        </WorkQueryResultsDto>
        <WorkQueryResultsDto>
          <ConditionName>sample string 1</ConditionName>
          <Number>2</Number>
          <Percentage>3.1</Percentage>
        </WorkQueryResultsDto>
      </LPQRD>
      <TotalNumber>4</TotalNumber>
      <UserName>sample string 2</UserName>
    </WorkScorePhaseResultsDto>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfWorkScorePhaseResultsDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"AccountName":"sample string 1","UserName":"sample string 2","ClassName":"sample string 3","TotalNumber":4,"Participants":3,"Absentees":1,"LPQRD":[{"ConditionName":"sample string 1","Number":2,"Percentage":3.1},{"ConditionName":"sample string 1","Number":2,"Percentage":3.1}]},{"AccountName":"sample string 1","UserName":"sample string 2","ClassName":"sample string 3","TotalNumber":4,"Participants":3,"Absentees":1,"LPQRD":[{"ConditionName":"sample string 1","Number":2,"Percentage":3.1},{"ConditionName":"sample string 1","Number":2,"Percentage":3.1}]}]});