POST api/testpaper/photoup

考试拍照上传接口

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

考试拍照上传接口

JsonRtnDtoOfListOfFileUpDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of FileUpDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "ResourceId": "6507bdc5-11e6-4a83-ae66-d2b0b28075b0",
      "FileLink": "sample string 2",
      "FileName": "sample string 3"
    },
    {
      "ResourceId": "6507bdc5-11e6-4a83-ae66-d2b0b28075b0",
      "FileLink": "sample string 2",
      "FileName": "sample string 3"
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"ResourceId":"6507bdc5-11e6-4a83-ae66-d2b0b28075b0","FileLink":"sample string 2","FileName":"sample string 3"},{"ResourceId":"6507bdc5-11e6-4a83-ae66-d2b0b28075b0","FileLink":"sample string 2","FileName":"sample string 3"}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfFileUpDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <FileUpDto>
      <FileLink>sample string 2</FileLink>
      <FileName>sample string 3</FileName>
      <ResourceId>6507bdc5-11e6-4a83-ae66-d2b0b28075b0</ResourceId>
    </FileUpDto>
    <FileUpDto>
      <FileLink>sample string 2</FileLink>
      <FileName>sample string 3</FileName>
      <ResourceId>6507bdc5-11e6-4a83-ae66-d2b0b28075b0</ResourceId>
    </FileUpDto>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfFileUpDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"ResourceId":"6507bdc5-11e6-4a83-ae66-d2b0b28075b0","FileLink":"sample string 2","FileName":"sample string 3"},{"ResourceId":"6507bdc5-11e6-4a83-ae66-d2b0b28075b0","FileLink":"sample string 2","FileName":"sample string 3"}]});