GET residentapi/properties/{propertyId}/amenities
Gets Amenities by Property and Type
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| propertyId |
(Required) |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ListWrapperOfAmenity| Name | Description | Type | Additional information |
|---|---|---|---|
| Total | integer |
None. |
|
| Elements | Collection of Amenity |
None. |
Response Formats
application/json, text/json
Sample:
{
"total": 1,
"elements": [
{
"calendarUID": "sample string 1",
"propertyId": 2,
"name": "sample string 3",
"description": "sample string 4",
"reservationTypeId": 5,
"amenityId": 6,
"slots": 7,
"isReservable": true,
"coverPhoto": "sample string 9",
"isActive": true,
"amenityTypeId": 11
},
{
"calendarUID": "sample string 1",
"propertyId": 2,
"name": "sample string 3",
"description": "sample string 4",
"reservationTypeId": 5,
"amenityId": 6,
"slots": 7,
"isReservable": true,
"coverPhoto": "sample string 9",
"isActive": true,
"amenityTypeId": 11
}
]
}