GET api/retest/getmatchedtesttypestatic?rtrId={rtrId}&knowledge={knowledge}
获取匹配的条件的题型及试题数量
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
rtrId |
题库 |
integer |
Required |
knowledge |
知识点 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取匹配的条件的题型及试题数量
JsonRtnDtoOfListOfMatchedTestTypeDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of MatchedTestTypeDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "TestTypeId": 1, "TestTypeName": "sample string 2", "Num": 3 }, { "TestTypeId": 1, "TestTypeName": "sample string 2", "Num": 3 } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"TestTypeId":1,"TestTypeName":"sample string 2","Num":3},{"TestTypeId":1,"TestTypeName":"sample string 2","Num":3}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfMatchedTestTypeDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <MatchedTestTypeDto> <Num>3</Num> <TestTypeId>1</TestTypeId> <TestTypeName>sample string 2</TestTypeName> </MatchedTestTypeDto> <MatchedTestTypeDto> <Num>3</Num> <TestTypeId>1</TestTypeId> <TestTypeName>sample string 2</TestTypeName> </MatchedTestTypeDto> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfMatchedTestTypeDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"TestTypeId":1,"TestTypeName":"sample string 2","Num":3},{"TestTypeId":1,"TestTypeName":"sample string 2","Num":3}]});