POST api/Properties/Add
Request Information
URI Parameters
None.
Body Parameters
PropertiesModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Apartment_Id | integer |
None. |
|
| ApartmentName | string |
None. |
|
| LandLord_Id | integer |
None. |
|
| LandLordName | string |
None. |
|
| LandlordImg | string |
None. |
|
| Address | string |
None. |
|
| TenantId | integer |
None. |
|
| TenantName | string |
None. |
|
| TenantImg | string |
None. |
|
| TenantAddress | string |
None. |
|
| Reference | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| CityId | integer |
None. |
|
| StateId | integer |
None. |
|
| Zip_code | string |
None. |
|
| DepositAmt | decimal number |
None. |
|
| Rent | decimal number |
None. |
|
| Num_Bedrooms | integer |
None. |
|
| Num_Bathrooms | integer |
None. |
|
| description | string |
None. |
|
| PropAddress | string |
None. |
|
| Is_Available | boolean |
None. |
|
| IsActive | boolean |
Required |
|
| CreatedBy | string |
Required |
|
| CreatedDate | date |
Required |
|
| UpdatedBy | string |
None. |
|
| ImgUrl | string |
None. |
|
| UpdatedDate | date |
None. |
|
| RefName1 | string |
None. |
|
| RefContat1 | string |
None. |
|
| RefPhotoIdUrl1 | string |
None. |
|
| RefName2 | string |
None. |
|
| RefContat2 | string |
None. |
|
| RefPhotoIdUrl2 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Apartment_Id": 2,
"ApartmentName": "sample string 3",
"LandLord_Id": 4,
"LandLordName": "sample string 5",
"LandlordImg": "sample string 6",
"Address": "sample string 7",
"TenantId": 8,
"TenantName": "sample string 9",
"TenantImg": "sample string 10",
"TenantAddress": "sample string 11",
"Reference": "sample string 12",
"City": "sample string 13",
"State": "sample string 14",
"CityId": 15,
"StateId": 16,
"Zip_code": "sample string 17",
"DepositAmt": 18.1,
"Rent": 19.1,
"Num_Bedrooms": 20,
"Num_Bathrooms": 21,
"description": "sample string 22",
"PropAddress": "sample string 23",
"Is_Available": true,
"IsActive": true,
"CreatedBy": "sample string 26",
"CreatedDate": "2025-12-11T04:30:25.6700814+05:30",
"UpdatedBy": "sample string 28",
"ImgUrl": "sample string 29",
"UpdatedDate": "2025-12-11T04:30:25.6710812+05:30",
"RefName1": "sample string 31",
"RefContat1": "sample string 32",
"RefPhotoIdUrl1": "sample string 33",
"RefName2": "sample string 34",
"RefContat2": "sample string 35",
"RefPhotoIdUrl2": "sample string 36"
}
application/xml, text/xml
Sample:
<PropertiesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PropertyRMS.Model"> <Address>sample string 7</Address> <ApartmentName>sample string 3</ApartmentName> <Apartment_Id>2</Apartment_Id> <City>sample string 13</City> <CityId>15</CityId> <CreatedBy>sample string 26</CreatedBy> <CreatedDate>2025-12-11T04:30:25.6700814+05:30</CreatedDate> <DepositAmt>18.1</DepositAmt> <Id>1</Id> <ImgUrl>sample string 29</ImgUrl> <IsActive>true</IsActive> <Is_Available>true</Is_Available> <LandLordName>sample string 5</LandLordName> <LandLord_Id>4</LandLord_Id> <LandlordImg>sample string 6</LandlordImg> <Num_Bathrooms>21</Num_Bathrooms> <Num_Bedrooms>20</Num_Bedrooms> <PropAddress>sample string 23</PropAddress> <RefContat1>sample string 32</RefContat1> <RefContat2>sample string 35</RefContat2> <RefName1>sample string 31</RefName1> <RefName2>sample string 34</RefName2> <RefPhotoIdUrl1>sample string 33</RefPhotoIdUrl1> <RefPhotoIdUrl2>sample string 36</RefPhotoIdUrl2> <Reference>sample string 12</Reference> <Rent>19.1</Rent> <State>sample string 14</State> <StateId>16</StateId> <TenantAddress>sample string 11</TenantAddress> <TenantId>8</TenantId> <TenantImg>sample string 10</TenantImg> <TenantName>sample string 9</TenantName> <UpdatedBy>sample string 28</UpdatedBy> <UpdatedDate>2025-12-11T04:30:25.6710812+05:30</UpdatedDate> <Zip_code>sample string 17</Zip_code> <description>sample string 22</description> </PropertiesModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.