POST api/Apartments/Delete
Request Information
URI Parameters
None.
Body Parameters
ApartmentsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| LandLord_Id | integer |
None. |
|
| Landlord | string |
None. |
|
| Address | string |
None. |
|
| City | integer |
None. |
|
| State | integer |
None. |
|
| CityDesc | string |
None. |
|
| StateDesc | string |
None. |
|
| Zip_code | integer |
None. |
|
| Num_Flats | integer |
None. |
|
| Occupied | integer |
None. |
|
| Description | string |
None. |
|
| AptImg | string |
None. |
|
| IsActive | boolean |
Required |
|
| CreatedBy | string |
Required |
|
| CreatedDate | date |
Required |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"LandLord_Id": 3,
"Landlord": "sample string 4",
"Address": "sample string 5",
"City": 6,
"State": 7,
"CityDesc": "sample string 8",
"StateDesc": "sample string 9",
"Zip_code": 10,
"Num_Flats": 11,
"Occupied": 12,
"Description": "sample string 13",
"AptImg": "sample string 14",
"IsActive": true,
"CreatedBy": "sample string 16",
"CreatedDate": "2025-12-11T04:32:08.6185857+05:30",
"UpdatedBy": "sample string 18",
"UpdatedDate": "2025-12-11T04:32:08.6185857+05:30"
}
application/xml, text/xml
Sample:
<ApartmentsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PropertyRMS.Model"> <Address>sample string 5</Address> <AptImg>sample string 14</AptImg> <City>6</City> <CityDesc>sample string 8</CityDesc> <CreatedBy>sample string 16</CreatedBy> <CreatedDate>2025-12-11T04:32:08.6185857+05:30</CreatedDate> <Description>sample string 13</Description> <Id>1</Id> <IsActive>true</IsActive> <LandLord_Id>3</LandLord_Id> <Landlord>sample string 4</Landlord> <Num_Flats>11</Num_Flats> <Occupied>12</Occupied> <State>7</State> <StateDesc>sample string 9</StateDesc> <Title>sample string 2</Title> <UpdatedBy>sample string 18</UpdatedBy> <UpdatedDate>2025-12-11T04:32:08.6185857+05:30</UpdatedDate> <Zip_code>10</Zip_code> </ApartmentsModel>
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.