POST api/ReTest/ReTestRecognition

word模板试题识别

Request Information

URI Parameters

None.

Body Parameters

ReTestImportQueue
NameDescriptionTypeAdditional information
Id

编号

integer

None.

UserId

用户编号

integer

None.

FileName

文件名

string

None.

ContentType

内容类型

integer

None.

Link

文件链接地址

string

None.

ReTestRepositoryId

题库编号

integer

None.

ReTestRepositoryPath

题库路径(题库路径为题库的Path+它自己的Id+/)

string

None.

IsProcessed

是否处理

boolean

None.

ExistLink

已忽略导入的试题

string

None.

CreatedTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 2,
  "FileName": "sample string 3",
  "ContentType": 4,
  "Link": "sample string 5",
  "ReTestRepositoryId": 6,
  "ReTestRepositoryPath": "sample string 7",
  "IsProcessed": true,
  "ExistLink": "sample string 9",
  "CreatedTime": "2024-09-21T08:55:21.1569343+08:00"
}

text/html

Sample:
{"Id":1,"UserId":2,"FileName":"sample string 3","ContentType":4,"Link":"sample string 5","ReTestRepositoryId":6,"ReTestRepositoryPath":"sample string 7","IsProcessed":true,"ExistLink":"sample string 9","CreatedTime":"2024-09-21T08:55:21.1569343+08:00"}

application/xml, text/xml

Sample:
<ReTestImportQueue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <ContentType>4</ContentType>
  <CreatedTime>2024-09-21T08:55:21.1569343+08:00</CreatedTime>
  <ExistLink>sample string 9</ExistLink>
  <FileName>sample string 3</FileName>
  <Id>1</Id>
  <IsProcessed>true</IsProcessed>
  <Link>sample string 5</Link>
  <ReTestRepositoryId>6</ReTestRepositoryId>
  <ReTestRepositoryPath>sample string 7</ReTestRepositoryPath>
  <UserId>2</UserId>
</ReTestImportQueue>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

word模板试题识别

JsonRtnDtoOfListOfObject
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {},
    {}
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{},{}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfanyTypeuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfanyTypeuHEDJ7Dj>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{},{}]});