POST api/testpaperstatistic/GetCourseAnalysis

科目对比

Request Information

URI Parameters

None.

Body Parameters

The course analysis input dto.

CourseAnalysisInputDto
NameDescriptionTypeAdditional information
ProfessionalCourseIds

专业

Collection of integer

None.

PaperIds

试卷编号

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ProfessionalCourseIds": [
    1,
    2
  ],
  "PaperIds": [
    "40c61213-195d-4c1a-9288-ed3e2d16430b",
    "d21bf9a9-5dd2-41c3-b66d-0f59069b5fbb"
  ]
}

text/html

Sample:
{"ProfessionalCourseIds":[1,2],"PaperIds":["40c61213-195d-4c1a-9288-ed3e2d16430b","d21bf9a9-5dd2-41c3-b66d-0f59069b5fbb"]}

application/xml, text/xml

Sample:
<CourseAnalysisInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <PaperIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>40c61213-195d-4c1a-9288-ed3e2d16430b</d2p1:guid>
    <d2p1:guid>d21bf9a9-5dd2-41c3-b66d-0f59069b5fbb</d2p1:guid>
  </PaperIds>
  <ProfessionalCourseIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ProfessionalCourseIds>
</CourseAnalysisInputDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

科目对比

JsonRtnDtoOfListOfCourseAnalysisOutputDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of CourseAnalysisOutputDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "ProfessionalCourseName": "sample string 1",
      "PaperName": "sample string 2",
      "MaxScore": 3.1,
      "MinScore": 4.1,
      "AvgScore": 5.1
    },
    {
      "ProfessionalCourseName": "sample string 1",
      "PaperName": "sample string 2",
      "MaxScore": 3.1,
      "MinScore": 4.1,
      "AvgScore": 5.1
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"ProfessionalCourseName":"sample string 1","PaperName":"sample string 2","MaxScore":3.1,"MinScore":4.1,"AvgScore":5.1},{"ProfessionalCourseName":"sample string 1","PaperName":"sample string 2","MaxScore":3.1,"MinScore":4.1,"AvgScore":5.1}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfCourseAnalysisOutputDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <CourseAnalysisOutputDto>
      <AvgScore>5.1</AvgScore>
      <MaxScore>3.1</MaxScore>
      <MinScore>4.1</MinScore>
      <PaperName>sample string 2</PaperName>
      <ProfessionalCourseName>sample string 1</ProfessionalCourseName>
    </CourseAnalysisOutputDto>
    <CourseAnalysisOutputDto>
      <AvgScore>5.1</AvgScore>
      <MaxScore>3.1</MaxScore>
      <MinScore>4.1</MinScore>
      <PaperName>sample string 2</PaperName>
      <ProfessionalCourseName>sample string 1</ProfessionalCourseName>
    </CourseAnalysisOutputDto>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfCourseAnalysisOutputDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"ProfessionalCourseName":"sample string 1","PaperName":"sample string 2","MaxScore":3.1,"MinScore":4.1,"AvgScore":5.1},{"ProfessionalCourseName":"sample string 1","PaperName":"sample string 2","MaxScore":3.1,"MinScore":4.1,"AvgScore":5.1}]});