POST api/retest/loadretestbylablesp

根据条件加载一批试题(备课)

Request Information

URI Parameters

None.

Body Parameters

QueryReTestDto
NameDescriptionTypeAdditional information
PcId

课程编号

integer

None.

Grade

年级

integer

None.

Semester

学期

integer

None.

RtrId

题库编号

integer

None.

Lables

试题标签

Collection of Pair of string [key] and string [value]

None.

Difficulty

难度

integer

None.

Knowledge

知识点

string

None.

DrtrId

题库描述编号

globally unique identifier

None.

Type

题型编号

integer

None.

PageSize

页大小

integer

None.

PageIndex

页索引

integer

None.

Key

关键字

string

None.

Sort

排序

boolean

None.

TestAuditType

试题审核状态

AuditState

None.

AcademicYear

学年学期

string

None.

Token

查询Token

string

None.

Creator

创建人

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PcId": 1,
  "Grade": 2,
  "Semester": 3,
  "RtrId": 4,
  "Lables": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "Difficulty": 5,
  "Knowledge": "sample string 6",
  "DrtrId": "06483ff5-9aa3-4f37-87f8-28d82fd52dc8",
  "Type": 7,
  "PageSize": 8,
  "PageIndex": 9,
  "Key": "sample string 10",
  "Sort": true,
  "TestAuditType": 1,
  "AcademicYear": "sample string 12",
  "Token": "sample string 13",
  "Creator": "sample string 14"
}

text/html

Sample:
{"PcId":1,"Grade":2,"Semester":3,"RtrId":4,"Lables":[{"Key":"sample string 1","Value":"sample string 2"},{"Key":"sample string 1","Value":"sample string 2"}],"Difficulty":5,"Knowledge":"sample string 6","DrtrId":"06483ff5-9aa3-4f37-87f8-28d82fd52dc8","Type":7,"PageSize":8,"PageIndex":9,"Key":"sample string 10","Sort":true,"TestAuditType":1,"AcademicYear":"sample string 12","Token":"sample string 13","Creator":"sample string 14"}

application/xml, text/xml

Sample:
<QueryReTestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <AcademicYear>sample string 12</AcademicYear>
  <Creator>sample string 14</Creator>
  <Difficulty>5</Difficulty>
  <DrtrId>06483ff5-9aa3-4f37-87f8-28d82fd52dc8</DrtrId>
  <Grade>2</Grade>
  <Key>sample string 10</Key>
  <Knowledge>sample string 6</Knowledge>
  <Lables xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </Lables>
  <PageIndex>9</PageIndex>
  <PageSize>8</PageSize>
  <PcId>1</PcId>
  <RtrId>4</RtrId>
  <Semester>3</Semester>
  <Sort>true</Sort>
  <TestAuditType>初始状态</TestAuditType>
  <Token>sample string 13</Token>
  <Type>7</Type>
</QueryReTestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

根据条件加载一批试题(备课)

JsonRtnDtoOfPageResultOfObject
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

PageResultOfObject

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Value": [
      {},
      {}
    ],
    "PageIndex": 1,
    "PageSize": 2,
    "total": 3,
    "TotalPages": 4,
    "HasPreviousPage": false,
    "HasNextPage": true
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{},{}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfPageResultOfanyTypeS_STz13wm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Infrastructure">
    <d2p1:PageIndex>1</d2p1:PageIndex>
    <d2p1:PageSize>2</d2p1:PageSize>
    <d2p1:TotalPages>4</d2p1:TotalPages>
    <d2p1:total>3</d2p1:total>
    <d2p1:Value xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:anyType />
      <d3p1:anyType />
    </d2p1:Value>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfPageResultOfanyTypeS_STz13wm>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{},{}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});