POST api/Administrator/AddHouse
Request Information
URI Parameters
None.
Body Parameters
HouseModelName | Description | Type | Additional 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": "2024-11-20T23:47:28.623974+05:30", "Status": 5, "Message": "sample string 6", "Domain": "sample string 7" }
application/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>2024-11-20T23:47:28.623974+05:30</CreateDate> <EmployeeName>sample string 4</EmployeeName> <HouseIncharge>sample string 3</HouseIncharge> <HouseName>sample string 2</HouseName> <HouseStatus>true</HouseStatus> <ID>1</ID> </HouseModel>
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>2024-11-20T23:47:28.6395743+05:30</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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.