POST api/testpaper/postilup

批注接口

Request Information

URI Parameters

None.

Body Parameters

PostilDto
NameDescriptionTypeAdditional information
MemberId

学生编号

string

None.

PaperId

试卷编号

string

None.

Name

图片名

string

None.

PostilImage

Base64的批注图片

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberId": "sample string 1",
  "PaperId": "sample string 2",
  "Name": "sample string 3",
  "PostilImage": "sample string 4"
}

text/html

Sample:
{"MemberId":"sample string 1","PaperId":"sample string 2","Name":"sample string 3","PostilImage":"sample string 4"}

application/xml, text/xml

Sample:
<PostilDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <MemberId>sample string 1</MemberId>
  <Name>sample string 3</Name>
  <PaperId>sample string 2</PaperId>
  <PostilImage>sample string 4</PostilImage>
</PostilDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

批注接口

JsonRtnDtoOfFileUpDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

FileUpDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "ResourceId": "75c8cd84-f453-48db-bce8-e9844fec956d",
    "FileLink": "sample string 2",
    "FileName": "sample string 3"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"ResourceId":"75c8cd84-f453-48db-bce8-e9844fec956d","FileLink":"sample string 2","FileName":"sample string 3"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfFileUpDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <FileLink>sample string 2</FileLink>
    <FileName>sample string 3</FileName>
    <ResourceId>75c8cd84-f453-48db-bce8-e9844fec956d</ResourceId>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfFileUpDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"ResourceId":"75c8cd84-f453-48db-bce8-e9844fec956d","FileLink":"sample string 2","FileName":"sample string 3"}});