POST api/Buildings/Create
Request Information
URI Parameters
None.
Body Parameters
tblBuilding| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| buildingName | string |
None. |
|
| societyId | integer |
None. |
|
| totalFlats | integer |
None. |
|
| maintenanceOwnerId | integer |
None. |
|
| delFlag | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"buildingName": "sample string 2",
"societyId": 1,
"totalFlats": 1,
"maintenanceOwnerId": 1,
"delFlag": 1
}
text/xml
Sample:
<tblBuilding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjWebApiMaint.Models"> <Id>1</Id> <buildingName>sample string 2</buildingName> <delFlag>1</delFlag> <maintenanceOwnerId>1</maintenanceOwnerId> <societyId>1</societyId> <totalFlats>1</totalFlats> </tblBuilding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.