POST api/homework/markpaper

作业评分,批量评分

Request Information

URI Parameters

None.

Body Parameters

批量评分

MarkHomeWorkScoreDto
NameDescriptionTypeAdditional information
PaperId

习题编号

globally unique identifier

None.

AnswerBatchId

答案批次编号

globally unique identifier

None.

MemberId

学生学号

string

None.

MarkWorkScoreSet

主观题打分集合

Collection of MarkWorkScoreDto

None.

Request Formats

application/json, text/json

Sample:
{
  "PaperId": "485fefa0-59da-452e-90bc-adf24fcba56d",
  "AnswerBatchId": "7bd2aaa3-2985-4475-8351-5fd9f9501088",
  "MemberId": "sample string 3",
  "MarkWorkScoreSet": [
    {
      "PositlPath": "sample string 1",
      "TestId": "a6de855f-40cb-4534-839b-85b7f82c9fd5",
      "Score": 2.1
    },
    {
      "PositlPath": "sample string 1",
      "TestId": "a6de855f-40cb-4534-839b-85b7f82c9fd5",
      "Score": 2.1
    }
  ]
}

text/html

Sample:
{"PaperId":"485fefa0-59da-452e-90bc-adf24fcba56d","AnswerBatchId":"7bd2aaa3-2985-4475-8351-5fd9f9501088","MemberId":"sample string 3","MarkWorkScoreSet":[{"PositlPath":"sample string 1","TestId":"a6de855f-40cb-4534-839b-85b7f82c9fd5","Score":2.1},{"PositlPath":"sample string 1","TestId":"a6de855f-40cb-4534-839b-85b7f82c9fd5","Score":2.1}]}

application/xml, text/xml

Sample:
<MarkHomeWorkScoreDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <AnswerBatchId>7bd2aaa3-2985-4475-8351-5fd9f9501088</AnswerBatchId>
  <MarkWorkScoreSet>
    <MarkWorkScoreDto>
      <PositlPath>sample string 1</PositlPath>
      <Score>2.1</Score>
      <TestId>a6de855f-40cb-4534-839b-85b7f82c9fd5</TestId>
    </MarkWorkScoreDto>
    <MarkWorkScoreDto>
      <PositlPath>sample string 1</PositlPath>
      <Score>2.1</Score>
      <TestId>a6de855f-40cb-4534-839b-85b7f82c9fd5</TestId>
    </MarkWorkScoreDto>
  </MarkWorkScoreSet>
  <MemberId>sample string 3</MemberId>
  <PaperId>485fefa0-59da-452e-90bc-adf24fcba56d</PaperId>
</MarkHomeWorkScoreDto>

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});