POST api/testpaper/markpaper

试卷评分,批量评分

Request Information

URI Parameters

None.

Body Parameters

批量评分

MarkPaperScoreSetDto
NameDescriptionTypeAdditional information
PaperId

试卷编号

globally unique identifier

None.

MemberId

学生学号

string

None.

IsAbnormal

是否异常试卷

boolean

None.

RuleId

globally unique identifier

None.

MarkPaperScoreSet

主观题打分集合

Collection of MarkPaperScoreDto

None.

Request Formats

application/json, text/json

Sample:
{
  "PaperId": "99d6ab2a-ec2a-40b4-b92e-ad4c7e16dcc2",
  "MemberId": "sample string 2",
  "IsAbnormal": true,
  "RuleId": "9310a9e1-cbad-43cb-b4c2-9a343b3aa6cc",
  "MarkPaperScoreSet": [
    {
      "TestId": "13246586-02db-4fff-a990-c1426b595cc7",
      "Score": 2.1,
      "PositlPath": "sample string 3",
      "ReTestIndex": "sample string 4"
    },
    {
      "TestId": "13246586-02db-4fff-a990-c1426b595cc7",
      "Score": 2.1,
      "PositlPath": "sample string 3",
      "ReTestIndex": "sample string 4"
    }
  ]
}

text/html

Sample:
{"PaperId":"99d6ab2a-ec2a-40b4-b92e-ad4c7e16dcc2","MemberId":"sample string 2","IsAbnormal":true,"RuleId":"9310a9e1-cbad-43cb-b4c2-9a343b3aa6cc","MarkPaperScoreSet":[{"TestId":"13246586-02db-4fff-a990-c1426b595cc7","Score":2.1,"PositlPath":"sample string 3","ReTestIndex":"sample string 4"},{"TestId":"13246586-02db-4fff-a990-c1426b595cc7","Score":2.1,"PositlPath":"sample string 3","ReTestIndex":"sample string 4"}]}

application/xml, text/xml

Sample:
<MarkPaperScoreSetDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <IsAbnormal>true</IsAbnormal>
  <MarkPaperScoreSet>
    <MarkPaperScoreDto>
      <PositlPath>sample string 3</PositlPath>
      <ReTestIndex>sample string 4</ReTestIndex>
      <Score>2.1</Score>
      <TestId>13246586-02db-4fff-a990-c1426b595cc7</TestId>
    </MarkPaperScoreDto>
    <MarkPaperScoreDto>
      <PositlPath>sample string 3</PositlPath>
      <ReTestIndex>sample string 4</ReTestIndex>
      <Score>2.1</Score>
      <TestId>13246586-02db-4fff-a990-c1426b595cc7</TestId>
    </MarkPaperScoreDto>
  </MarkPaperScoreSet>
  <MemberId>sample string 2</MemberId>
  <PaperId>99d6ab2a-ec2a-40b4-b92e-ad4c7e16dcc2</PaperId>
  <RuleId>9310a9e1-cbad-43cb-b4c2-9a343b3aa6cc</RuleId>
</MarkPaperScoreSetDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

试卷评分,批量评分

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});