POST api/answercard/saveanswercard

保存答题卡

Request Information

URI Parameters

None.

Body Parameters

AnswerCardTemplate
NameDescriptionTypeAdditional information
PaperId

试卷id

globally unique identifier

None.

Width

宽度(像素)

integer

None.

Height

高度(像素)

integer

None.

JsonConfig

答题卡坐标json配置

string

None.

OtherConfig

其他json配置

string

None.

Title

答题卡标题

string

Max length: 100

SizeType

纸张尺寸类型

SizeType

None.

AuxiliaryImg

辅助图片路径(json数据)

string

None.

PageCount

页数

integer

None.

QrCode

二维码

integer

None.

IsRecover

是否为还原

boolean

None.

Id

主键

globally unique identifier

None.

CreatedTime

创建时间

date

None.

IsDeleted

是否删除

boolean

None.

LastUpdatedTime

最后更新时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PaperId": "4d3bce51-86be-494f-aeeb-70ffc5e345d1",
  "Width": 2,
  "Height": 3,
  "JsonConfig": "sample string 4",
  "OtherConfig": "sample string 5",
  "Title": "sample string 6",
  "SizeType": 0,
  "AuxiliaryImg": "sample string 7",
  "PageCount": 8,
  "QrCode": 9,
  "IsRecover": true,
  "Id": "9f74b552-1e8d-4219-9ed4-75da5333c861",
  "CreatedTime": "2024-09-25T00:11:48.6244321+08:00",
  "IsDeleted": true,
  "LastUpdatedTime": "2024-09-25T00:11:48.6244321+08:00"
}

text/html

Sample:
{"PaperId":"4d3bce51-86be-494f-aeeb-70ffc5e345d1","Width":2,"Height":3,"JsonConfig":"sample string 4","OtherConfig":"sample string 5","Title":"sample string 6","SizeType":0,"AuxiliaryImg":"sample string 7","PageCount":8,"QrCode":9,"IsRecover":true,"Id":"9f74b552-1e8d-4219-9ed4-75da5333c861","CreatedTime":"2024-09-25T00:11:48.6244321+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:11:48.6244321+08:00"}

application/xml, text/xml

Sample:
<AnswerCardTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <CreatedTime>2024-09-25T00:11:48.6244321+08:00</CreatedTime>
  <Id>9f74b552-1e8d-4219-9ed4-75da5333c861</Id>
  <IsDeleted>true</IsDeleted>
  <LastUpdatedTime>2024-09-25T00:11:48.6244321+08:00</LastUpdatedTime>
  <AuxiliaryImg>sample string 7</AuxiliaryImg>
  <Height>3</Height>
  <IsRecover>true</IsRecover>
  <JsonConfig>sample string 4</JsonConfig>
  <OtherConfig>sample string 5</OtherConfig>
  <PageCount>8</PageCount>
  <PaperId>4d3bce51-86be-494f-aeeb-70ffc5e345d1</PaperId>
  <QrCode>9</QrCode>
  <SizeType>A3</SizeType>
  <Title>sample string 6</Title>
  <Width>2</Width>
</AnswerCardTemplate>

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