POST api/answer/mark

主观题打分

Request Information

URI Parameters

None.

Body Parameters

MarkScoreDto
NameDescriptionTypeAdditional information
ExamId

习题编号

globally unique identifier

None.

TestId

试题编号

globally unique identifier

None.

MemberId

学生学号

string

None.

Score

学生得分

integer

None.

Evaluate

评语

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ExamId": "14137055-08bd-4e6f-95b7-fada5e540f41",
  "TestId": "b1f534ef-73cd-4ccc-8c98-7e501af13aef",
  "MemberId": "sample string 3",
  "Score": 4,
  "Evaluate": "sample string 5"
}

text/html

Sample:
{"ExamId":"14137055-08bd-4e6f-95b7-fada5e540f41","TestId":"b1f534ef-73cd-4ccc-8c98-7e501af13aef","MemberId":"sample string 3","Score":4,"Evaluate":"sample string 5"}

application/xml, text/xml

Sample:
<MarkScoreDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Evaluate>sample string 5</Evaluate>
  <ExamId>14137055-08bd-4e6f-95b7-fada5e540f41</ExamId>
  <MemberId>sample string 3</MemberId>
  <Score>4</Score>
  <TestId>b1f534ef-73cd-4ccc-8c98-7e501af13aef</TestId>
</MarkScoreDto>

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