POST api/testpaper/SavePaperOfflineTarget

保存线下目标

Request Information

URI Parameters

None.

Body Parameters

SaveOfflineTargetInputDto
NameDescriptionTypeAdditional information
PaperId

试卷编号

globally unique identifier

None.

OfflineTarget

线下目标

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaperId": "a8e56459-bc4a-47b4-b8a4-f2aed7367038",
  "OfflineTarget": "sample string 2"
}

text/html

Sample:
{"PaperId":"a8e56459-bc4a-47b4-b8a4-f2aed7367038","OfflineTarget":"sample string 2"}

application/xml, text/xml

Sample:
<SaveOfflineTargetInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <OfflineTarget>sample string 2</OfflineTarget>
  <PaperId>a8e56459-bc4a-47b4-b8a4-f2aed7367038</PaperId>
</SaveOfflineTargetInputDto>

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