AvailabilityOccupancy

Structure

FieldTypeRequiredDescription
adultintfalseadult
juniorintfalseadult
childintfalseadult
infantintfalseadult
occupancyBoardAvailabilityListList<OccupancyBoardAvailability>falseList of OccupancyBoardAvailability

JSON representation

{
	"adult": 2,
	"junior": 0,
	"child": 0,
	"infant": 0,
	"occupancyBoardAvailabilityList": [
		{
			"id": 5,
			"code": "RO",
			"name": "Room Only",
			"rateAvailabilityList": [
				{
					"rate": {
						"id": 2,
						"chainRateId": 1,
					    "code": "BAR",
						"name": "Best Available Rate",
						"nameI18n": "Best Available Rate",
						"description": null,
						"descriptionI18n": null,
						"order": null
					    "tagList": [
										{
											"id": 1,
											"name": "holiday"
										}
									]
					},
					"board": {
						"id": 5,
						"name": "Room Only",
						"nameI18n": "Room Only",
						"order": null
					},
					"promotion": null,
					"offer": null,
					"propertyPolicy": {
                    	"id": 9,
                        "name": "30 Days 100%",
                        "nameI18n": "30 Days 100%",
                        "description": null,
                        "descriptionI18n": null,
                        "colorCode": "#FDD835",
                        "nonRefundable": false,
                        "deadlineDay": 30,
                        "deadlineHour": 0,
                        "policyChargeType": {
                        	"id": 1,
                            "code": null,
                            "name": null,
                            "nameI18nId": null,
                            "nameI18n": null
                         },
                         "chargeValue": 100.000000,
						 "depositSuggestedAmount": 100.000000,
                         "depositSuggestedPercentageAmount": 100.000000
                    },
					"avgPrice": 193.00,
					"totalPrice": 1158.000000,
					"totalAccommodationAmount": 1158.000000,
					"totalBoardAmount": 0,
					"totalServiceAmount": 0,
					"dayAvailabilityList": [
						{
							"date": "2023-10-18",
							"displayAmount": 193.000000,
							"amount": 193.000000,
							"sourceAmount": 193.000000,
							"accommodationAmount": 193.000000,
							"sourceAccommodationAmount": 193.000000,
							"boardAmount": 0,
							"sourceBoardAmount": 0,
							"serviceAmount": 0,
							"sourceServiceAmount": 0
						},
						{
							"date": "2023-10-15",
							"displayAmount": 193.000000,
							"amount": 193.000000,
							"sourceAmount": 193.000000,
							"accommodationAmount": 193.000000,
							"sourceAccommodationAmount": 193.000000,
							"boardAmount": 0,
							"sourceBoardAmount": 0,
							"serviceAmount": 0,
							"sourceServiceAmount": 0
						},
						{
							"date": "2023-10-16",
							"displayAmount": 193.000000,
							"amount": 193.000000,
							"sourceAmount": 193.000000,
							"accommodationAmount": 193.000000,
							"sourceAccommodationAmount": 193.000000,
							"boardAmount": 0,
							"sourceBoardAmount": 0,
							"serviceAmount": 0,
							"sourceServiceAmount": 0
						},
						{
							"date": "2023-10-19",
							"displayAmount": 193.000000,
							"amount": 193.000000,
							"sourceAmount": 193.000000,
							"accommodationAmount": 193.000000,
							"sourceAccommodationAmount": 193.000000,
							"boardAmount": 0,
							"sourceBoardAmount": 0,
							"serviceAmount": 0,
							"sourceServiceAmount": 0
						},
						{
							"date": "2023-10-17",
							"displayAmount": 193.000000,
							"amount": 193.000000,
							"sourceAmount": 193.000000,
							"accommodationAmount": 193.000000,
							"sourceAccommodationAmount": 193.000000,
							"boardAmount": 0,
							"sourceBoardAmount": 0,
							"serviceAmount": 0,
							"sourceServiceAmount": 0
						},
						{
							"date": "2023-10-20",
							"displayAmount": 193.000000,
							"amount": 193.000000,
							"sourceAmount": 193.000000,
							"accommodationAmount": 193.000000,
							"sourceAccommodationAmount": 193.000000,
							"boardAmount": 0,
							"sourceBoardAmount": 0,
							"serviceAmount": 0,
							"sourceServiceAmount": 0
						}
					]
				}
			]
		}
	]
}