POST api/examplace/save

保存考场信息

Request Information

URI Parameters

None.

Body Parameters

ExaminationPlaceManagement
NameDescriptionTypeAdditional information
Id

主键ID

integer

None.

ClassCode

考场编号

string

None.

ClassRoom

考场名称

string

None.

Address

考场地址

string

None.

MaxNum

最大容纳人数

integer

None.

StuNum

实际入场人数

integer

None.

MinIP

最小IP

string

Max length: 32

MaxIP

最大IP

string

Max length: 32

CampusId

校区

integer

None.

Rows

integer

None.

Columns

integer

None.

DisabledPosition

禁用的坐位

string

None.

ClassroomPhotos

教室照片

string

None.

InterlacedSeat

隔行隔列

InterlacedSeats

None.

CreatedTime

创建人数

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ClassCode": "sample string 2",
  "ClassRoom": "sample string 3",
  "Address": "sample string 4",
  "MaxNum": 5,
  "StuNum": 6,
  "MinIP": "sample string 7",
  "MaxIP": "sample string 8",
  "CampusId": 9,
  "Rows": 1,
  "Columns": 1,
  "DisabledPosition": "sample string 10",
  "ClassroomPhotos": "sample string 11",
  "InterlacedSeat": 1,
  "CreatedTime": "2024-09-25T00:10:54.6871924+08:00"
}

text/html

Sample:
{"Id":1,"ClassCode":"sample string 2","ClassRoom":"sample string 3","Address":"sample string 4","MaxNum":5,"StuNum":6,"MinIP":"sample string 7","MaxIP":"sample string 8","CampusId":9,"Rows":1,"Columns":1,"DisabledPosition":"sample string 10","ClassroomPhotos":"sample string 11","InterlacedSeat":1,"CreatedTime":"2024-09-25T00:10:54.6871924+08:00"}

application/xml, text/xml

Sample:
<ExaminationPlaceManagement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <Address>sample string 4</Address>
  <CampusId>9</CampusId>
  <ClassCode>sample string 2</ClassCode>
  <ClassRoom>sample string 3</ClassRoom>
  <ClassroomPhotos>sample string 11</ClassroomPhotos>
  <Columns>1</Columns>
  <CreatedTime>2024-09-25T00:10:54.6871924+08:00</CreatedTime>
  <DisabledPosition>sample string 10</DisabledPosition>
  <Id>1</Id>
  <InterlacedSeat>Normal</InterlacedSeat>
  <MaxIP>sample string 8</MaxIP>
  <MaxNum>5</MaxNum>
  <MinIP>sample string 7</MinIP>
  <Rows>1</Rows>
  <StuNum>6</StuNum>
</ExaminationPlaceManagement>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存考场信息

JsonRtnDtoOfExaminationPlaceManagement
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

ExaminationPlaceManagement

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": 1,
    "ClassCode": "sample string 2",
    "ClassRoom": "sample string 3",
    "Address": "sample string 4",
    "MaxNum": 5,
    "StuNum": 6,
    "MinIP": "sample string 7",
    "MaxIP": "sample string 8",
    "CampusId": 9,
    "Rows": 1,
    "Columns": 1,
    "DisabledPosition": "sample string 10",
    "ClassroomPhotos": "sample string 11",
    "InterlacedSeat": 1,
    "CreatedTime": "2024-09-25T00:10:54.6871924+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"ClassCode":"sample string 2","ClassRoom":"sample string 3","Address":"sample string 4","MaxNum":5,"StuNum":6,"MinIP":"sample string 7","MaxIP":"sample string 8","CampusId":9,"Rows":1,"Columns":1,"DisabledPosition":"sample string 10","ClassroomPhotos":"sample string 11","InterlacedSeat":1,"CreatedTime":"2024-09-25T00:10:54.6871924+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfExaminationPlaceManagementmEDjlcEG 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:Address>sample string 4</d2p1:Address>
    <d2p1:CampusId>9</d2p1:CampusId>
    <d2p1:ClassCode>sample string 2</d2p1:ClassCode>
    <d2p1:ClassRoom>sample string 3</d2p1:ClassRoom>
    <d2p1:ClassroomPhotos>sample string 11</d2p1:ClassroomPhotos>
    <d2p1:Columns>1</d2p1:Columns>
    <d2p1:CreatedTime>2024-09-25T00:10:54.6871924+08:00</d2p1:CreatedTime>
    <d2p1:DisabledPosition>sample string 10</d2p1:DisabledPosition>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:InterlacedSeat>Normal</d2p1:InterlacedSeat>
    <d2p1:MaxIP>sample string 8</d2p1:MaxIP>
    <d2p1:MaxNum>5</d2p1:MaxNum>
    <d2p1:MinIP>sample string 7</d2p1:MinIP>
    <d2p1:Rows>1</d2p1:Rows>
    <d2p1:StuNum>6</d2p1:StuNum>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfExaminationPlaceManagementmEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"ClassCode":"sample string 2","ClassRoom":"sample string 3","Address":"sample string 4","MaxNum":5,"StuNum":6,"MinIP":"sample string 7","MaxIP":"sample string 8","CampusId":9,"Rows":1,"Columns":1,"DisabledPosition":"sample string 10","ClassroomPhotos":"sample string 11","InterlacedSeat":1,"CreatedTime":"2024-09-25T00:10:54.6871924+08:00"}});