GET api/coursecatalog/getrandomretest?ReTestRepositoryId={ReTestRepositoryId}

随机获取题库下试题

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ReTestRepositoryId

题库id

integer

Required

Body Parameters

None.

Response Information

Resource Description

随机获取题库下试题

JsonRtnDtoOfObject
NameDescriptionTypeAdditional 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":{}});