GET api/contest/getenlistgrade?Id={Id}
获取竞赛报名的年级
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id |
主键ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
获取竞赛报名的年级
JsonRtnDtoOfEnlistGradeName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | EnlistGrade |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": 1, "GradeName": "sample string 2" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"GradeName":"sample string 2"}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfEnlistGrademEDjlcEG 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.Data"> <d2p1:GradeName>sample string 2</d2p1:GradeName> <d2p1:Id>1</d2p1:Id> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfEnlistGrademEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"GradeName":"sample string 2"}});