POST api/contest/savecampus

保存校区信息

Request Information

URI Parameters

None.

Body Parameters

参数

CampusManagement
NameDescriptionTypeAdditional information
Id

校区编号

integer

None.

CampusName

校区名称

string

Max length: 32

CampusCode

校区编号

string

Max length: 12

CreatedTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CampusName": "sample string 2",
  "CampusCode": "sample string 3",
  "CreatedTime": "2024-09-25T00:09:28.6716153+08:00"
}

text/html

Sample:
{"Id":1,"CampusName":"sample string 2","CampusCode":"sample string 3","CreatedTime":"2024-09-25T00:09:28.6716153+08:00"}

application/xml, text/xml

Sample:
<CampusManagement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <CampusCode>sample string 3</CampusCode>
  <CampusName>sample string 2</CampusName>
  <CreatedTime>2024-09-25T00:09:28.6716153+08:00</CreatedTime>
  <Id>1</Id>
</CampusManagement>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存校区信息

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional 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});