POST api/answercard/addstuanswercard

添加答题卡数据

Request Information

URI Parameters

None.

Body Parameters

StuAnswerCard
NameDescriptionTypeAdditional information
StuId

考号

string

Max length: 30

AnswerCardTemplateId

答题卡模板id

globally unique identifier

None.

IsProcessed

是否处理过答题卡答案

boolean

None.

ScanPicture

扫描后的原图片地址

string

Max length: 200

ScanPicture2

扫描后的原图片地址

string

Max length: 200

CreateTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "StuId": "sample string 1",
  "AnswerCardTemplateId": "a8ce253e-29b1-4675-9a5c-68ff8d38ad7b",
  "IsProcessed": true,
  "ScanPicture": "sample string 4",
  "ScanPicture2": "sample string 5",
  "CreateTime": "2024-09-25T00:09:16.2652747+08:00"
}

text/html

Sample:
{"StuId":"sample string 1","AnswerCardTemplateId":"a8ce253e-29b1-4675-9a5c-68ff8d38ad7b","IsProcessed":true,"ScanPicture":"sample string 4","ScanPicture2":"sample string 5","CreateTime":"2024-09-25T00:09:16.2652747+08:00"}

application/xml, text/xml

Sample:
<StuAnswerCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <AnswerCardTemplateId>a8ce253e-29b1-4675-9a5c-68ff8d38ad7b</AnswerCardTemplateId>
  <CreateTime>2024-09-25T00:09:16.2652747+08:00</CreateTime>
  <IsProcessed>true</IsProcessed>
  <ScanPicture>sample string 4</ScanPicture>
  <ScanPicture2>sample string 5</ScanPicture2>
  <StuId>sample string 1</StuId>
</StuAnswerCard>

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