GET api/homework/enableworkmarkingrule?paperId={paperId}&state={state}&onlySelfClass={onlySelfClass}&onlyAllotParticipants={onlyAllotParticipants}

设置作业互评

Request Information

URI Parameters

NameDescriptionTypeAdditional information
paperId

试卷编号

globally unique identifier

Required

state

启用禁用作业互评(true/false)

boolean

Required

onlySelfClass

班级内互评

boolean

Required

onlyAllotParticipants

仅为参考的学生分配互评

boolean

Default value is True

Body Parameters

None.

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