GET api/contest/getclassbystu?StuCode={StuCode}

根据学号获取班级

Request Information

URI Parameters

NameDescriptionTypeAdditional information
StuCode

学号

string

Required

Body Parameters

None.

Response Information

Resource Description

根据学号获取班级

JsonRtnDtoOfListOfObject
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of 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:
<JsonRtnDtoOfArrayOfanyTypeuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfanyTypeuHEDJ7Dj>

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

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