Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Structure

FieldTypeRequiredDescription
idIntegertrueUnique identifier for the ReservationGroupRoomBlock.
productOccupancyProductOccupancytrueRelated product with its occupancy (adults, junior, child, infant).

reservationGroupRoomBlockDailyList

List of ReservationGroupRoomBlockDaily.trueDaily detail of this room block.

JSON representation

{
	"id": 1,
	"productOccupancy": {
		"id": 3,
		"product": {
			"id": 677,
			"code": "DBL",
			"name": "Double",
			"productType": {
				"id": 1,
				"code": "ACC",
				"name": "Accommodation",
				"nameI18n": "Accommodation"
			}
		},
		"adult": 2,
		"junior": 0,
		"child": 0,
		"infant": 0
	},
	"reservationGroupRoomBlockDailyList": [{
			"id": 1,
			"date": "2020-05-30",
			"quantity": 4,
			"price": 50.000000,
			"quantityConsumed": 0,
			"quantityAvailable": 4
		},
		{
			"id": 2,
			"date": "2020-05-31",
			"quantity": 0,
			"price": 0.000000,
			"quantityConsumed": 0,
			"quantityAvailable": 0
		}
	]
}
  • No labels