POST api/retest/loadretestbylables
根据条件加载一批试题
Request Information
URI Parameters
None.
Body Parameters
QueryReTestDtoName | Description | Type | Additional 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": "4c20f99c-8388-41d4-bb29-7c5facada658", "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":"4c20f99c-8388-41d4-bb29-7c5facada658","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>4c20f99c-8388-41d4-bb29-7c5facada658</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
根据条件加载一批试题
JsonRtnDtoOfObjectName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | 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:
<JsonRtnDtoOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data /> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfanyType>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{}});