POST api/discussreviews/adoptdiscussreviewmark

采纳批阅

Request Information

URI Parameters

None.

Body Parameters

TeacherDiscussInfo
NameDescriptionTypeAdditional information
StuId

学号

string

None.

PaperId

试卷编号

globally unique identifier

None.

ReTestId

试题编号

globally unique identifier

None.

OrginUserId

推送老师是谁

integer

None.

UserId

批阅的老师编号

integer

None.

Adopt

是否采纳

boolean

None.

Score

评分

decimal number

None.

PostilPath

上传文件

string

None.

Remark

备注

string

None.

UpdatedTime

更新时间

date

None.

CreatedTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "StuId": "sample string 1",
  "PaperId": "b8cdf3c9-9263-4c7d-a049-79a219eb88ba",
  "ReTestId": "a399c4ff-2026-48fe-9647-45f635451bf7",
  "OrginUserId": 1,
  "UserId": 4,
  "Adopt": true,
  "Score": 6.1,
  "PostilPath": "sample string 7",
  "Remark": "sample string 8",
  "UpdatedTime": "2024-09-25T00:08:52.3749842+08:00",
  "CreatedTime": "2024-09-25T00:08:52.3749842+08:00"
}

text/html

Sample:
{"StuId":"sample string 1","PaperId":"b8cdf3c9-9263-4c7d-a049-79a219eb88ba","ReTestId":"a399c4ff-2026-48fe-9647-45f635451bf7","OrginUserId":1,"UserId":4,"Adopt":true,"Score":6.1,"PostilPath":"sample string 7","Remark":"sample string 8","UpdatedTime":"2024-09-25T00:08:52.3749842+08:00","CreatedTime":"2024-09-25T00:08:52.3749842+08:00"}

application/xml, text/xml

Sample:
<TeacherDiscussInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <Adopt>true</Adopt>
  <CreatedTime>2024-09-25T00:08:52.3749842+08:00</CreatedTime>
  <OrginUserId>1</OrginUserId>
  <PaperId>b8cdf3c9-9263-4c7d-a049-79a219eb88ba</PaperId>
  <PostilPath>sample string 7</PostilPath>
  <ReTestId>a399c4ff-2026-48fe-9647-45f635451bf7</ReTestId>
  <Remark>sample string 8</Remark>
  <Score>6.1</Score>
  <StuId>sample string 1</StuId>
  <UpdatedTime>2024-09-25T00:08:52.3749842+08:00</UpdatedTime>
  <UserId>4</UserId>
</TeacherDiscussInfo>

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