POST api/Administrator/AddHouse

Request Information

URI Parameters

None.

Body Parameters

HouseModel
NameDescriptionTypeAdditional information
ID

integer

None.

HouseName

string

None.

HouseIncharge

string

None.

EmployeeName

string

None.

HouseStatus

boolean

None.

CreateDate

date

None.

Status

integer

None.

Message

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "HouseName": "sample string 2",
  "HouseIncharge": "sample string 3",
  "EmployeeName": "sample string 4",
  "HouseStatus": true,
  "CreateDate": "2021-05-14T21:49:43.6287983-07:00",
  "Status": 5,
  "Message": "sample string 6",
  "Domain": "sample string 7"
}

application/xml, text/xml

Sample:
<HouseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels">
  <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 7</Domain>
  <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 6</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">5</Status>
  <CreateDate>2021-05-14T21:49:43.6287983-07:00</CreateDate>
  <EmployeeName>sample string 4</EmployeeName>
  <HouseIncharge>sample string 3</HouseIncharge>
  <HouseName>sample string 2</HouseName>
  <HouseStatus>true</HouseStatus>
  <ID>1</ID>
</HouseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.