RateAccommodationAccommodation

Structure

FieldTypeRequiredDescription
accommodationAccommodationtrueAccommodation of this relationship.
rateBaseAccommodationAvailabilityListArray of RateBaseAccommodationAvailabilitytrueThe list of related availabilities per day.

JSON representation

{
	"accommodation": {
		"id": 692,
		"name": "Single",
		"code": null,
		"roomType": {
			"id": 2,
			"chainRoomTypeId": 1,
			"name": "Single",
			"nameI18n": "Single",
			"mainImage": "1/2/propertyroomtypeimages/d9ce9c3f-9877-435d-9313-922537e26912.jpg",
			"active": true
		}
	},
	"rateBaseAccommodationAvailabilityList": [{
			"date": "2022-11-15",
			"price": 155.000000,
			"closed": false,
			"minStay": 0,
			"maxStay": 0,
			"closedToArrival": false,
			"closedToDeparture": false
		},
		{
			"date": "2022-11-16",
			"price": 155.000000,
			"closed": false,
			"minStay": 0,
			"maxStay": 0,
			"closedToArrival": false,
			"closedToDeparture": false
		}
	]
}