POST api/contest/saveenlistgrade
保存竞赛报名年级
Request Information
URI Parameters
None.
Body Parameters
EnlistGradeName | Description | Type | Additional information |
---|---|---|---|
Id |
主键ID |
integer |
None. |
GradeName |
年级名称 |
string |
Max length: 30 |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "GradeName": "sample string 2" }
text/html
Sample:
{"Id":1,"GradeName":"sample string 2"}
application/xml, text/xml
Sample:
<EnlistGrade xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <GradeName>sample string 2</GradeName> <Id>1</Id> </EnlistGrade>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存竞赛报名年级
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});