POST api/Amenities/Update
Request Information
URI Parameters
None.
Body Parameters
AmenitiesModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Property_Id | integer |
None. |
|
| Amenity_Name | string |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
Required |
|
| CreatedBy | string |
Required |
|
| CreatedDate | date |
Required |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
|
| PropertyAddres | string |
None. |
|
| PropertyRent | string |
None. |
|
| PropertyDescription | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| Zip_code | string |
None. |
|
| Num_Bedrooms | integer |
None. |
|
| Num_Bathrooms | integer |
None. |
|
| Rent | string |
None. |
|
| DepositAmt | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Property_Id": 2,
"Amenity_Name": "sample string 3",
"Description": "sample string 4",
"IsActive": true,
"CreatedBy": "sample string 6",
"CreatedDate": "2025-12-11T04:33:35.9815749+05:30",
"UpdatedBy": "sample string 8",
"UpdatedDate": "2025-12-11T04:33:35.9815749+05:30",
"PropertyAddres": "sample string 10",
"PropertyRent": "sample string 11",
"PropertyDescription": "sample string 12",
"City": "sample string 13",
"State": "sample string 14",
"Zip_code": "sample string 15",
"Num_Bedrooms": 16,
"Num_Bathrooms": 17,
"Rent": "sample string 18",
"DepositAmt": "sample string 19"
}
application/xml, text/xml
Sample:
<AmenitiesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PropertyRMS.Model"> <Amenity_Name>sample string 3</Amenity_Name> <City>sample string 13</City> <CreatedBy>sample string 6</CreatedBy> <CreatedDate>2025-12-11T04:33:35.9815749+05:30</CreatedDate> <DepositAmt>sample string 19</DepositAmt> <Description>sample string 4</Description> <Id>1</Id> <IsActive>true</IsActive> <Num_Bathrooms>17</Num_Bathrooms> <Num_Bedrooms>16</Num_Bedrooms> <PropertyAddres>sample string 10</PropertyAddres> <PropertyDescription>sample string 12</PropertyDescription> <PropertyRent>sample string 11</PropertyRent> <Property_Id>2</Property_Id> <Rent>sample string 18</Rent> <State>sample string 14</State> <UpdatedBy>sample string 8</UpdatedBy> <UpdatedDate>2025-12-11T04:33:35.9815749+05:30</UpdatedDate> <Zip_code>sample string 15</Zip_code> </AmenitiesModel>
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.