POST api/retest/checkimportwordtest

检查试题

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:20.6257413+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:20.6257413+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:20.6257413+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

检查试题

JsonRtnDtoOfListOfErrInfo
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of ErrInfo

None.

Response Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfErrInfov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <ErrInfo>
      <Index>1</Index>
      <Info>sample string 2</Info>
    </ErrInfo>
    <ErrInfo>
      <Index>1</Index>
      <Info>sample string 2</Info>
    </ErrInfo>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfErrInfov3CTEUQJ>

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

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