GET api/examplace/getmodelbyid?Id={Id}

根据ID获取考场信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

根据ID获取考场信息

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:09:17.2351077+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:09:17.2351077+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:09:17.2351077+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:09:17.2351077+08:00"}});