POST api/OfflinePaper/SaveOldCardBackUp

保存离线答题卡

Request Information

URI Parameters

None.

Body Parameters

OldCardBackUp
NameDescriptionTypeAdditional information
OfflinePaperId

试卷编号

globally unique identifier

None.

StuId

学号

string

Max length: 50

StuName

学生姓名

string

None.

UserId

用户编号

integer

None.

Score

分数

decimal number

None.

FilePath

文件路径

string

None.

CreatedTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "OfflinePaperId": "66fb4de2-9104-4fa4-93e7-0f98343433cc",
  "StuId": "sample string 2",
  "StuName": "sample string 3",
  "UserId": 4,
  "Score": 5.1,
  "FilePath": "sample string 6",
  "CreatedTime": "2024-09-25T00:10:55.7242452+08:00"
}

text/html

Sample:
{"OfflinePaperId":"66fb4de2-9104-4fa4-93e7-0f98343433cc","StuId":"sample string 2","StuName":"sample string 3","UserId":4,"Score":5.1,"FilePath":"sample string 6","CreatedTime":"2024-09-25T00:10:55.7242452+08:00"}

application/xml, text/xml

Sample:
<OldCardBackUp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <CreatedTime>2024-09-25T00:10:55.7242452+08:00</CreatedTime>
  <FilePath>sample string 6</FilePath>
  <OfflinePaperId>66fb4de2-9104-4fa4-93e7-0f98343433cc</OfflinePaperId>
  <Score>5.1</Score>
  <StuId>sample string 2</StuId>
  <StuName>sample string 3</StuName>
  <UserId>4</UserId>
</OldCardBackUp>

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