AvailabilityRateAvailability

Structure

FieldTypeRequiredDescription
rateAvailabilityRatefalseAvailabilityRate
boardAvailabilityBoardfalseAvailabilityBoard
promotionAvailabilityPromotionfalseAvailabilityPromotion
offerAvailabilityOfferfalseAvailabilityOffer
propertyPolicyAvailabilityPropertyPolicyfalseAvailabilityPropertyPolicy
avgPriceBigDecimalfalseavgPrice
totalPriceBigDecimalfalsetotalPrice
totalAccomodationAmountBigDecimalfalsetotalAccomodationAmount
totalBoardAmountBigDecimalfalsetotalBoardAmount
totalServiceAmountBigDecimalfalsetotalServiceAmount
dayAvailabilityListList<AvailabilityDay>falseList of elements AvailabilityDay
availableBooleanfalseshow if rate is available

JSON representation

{
	"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": {
		"id": 47,
		"name": "Early Booking 15 Days",
		"nameI18n": "Early Booking 15 Days",
		"description": null,
		"descriptionI18n": null,
		"order": null,
		"tagList": [
						{
							"id": 1,
							"name": "mondays"
						}
					]
	},
	"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": 172.55,
	"totalPrice": 1035.300000000000,
	"totalAccommodationAmount": 2253.300000000000,
	"totalBoardAmount": 0.000000,
	"totalServiceAmount": 0.000000,
	"available": true,
	"dayAvailabilityList": [
		{
			"date": "2023-10-18",
			"displayAmount": 172.550000000000,
			"amount": 172.550000000000,
			"sourceAmount": 203.000000,
			"accommodationAmount": 172.550000000000,
			"sourceAccommodationAmount": 203.000000,
			"boardAmount": 0.000000,
			"sourceBoardAmount": 0,
			"serviceAmount": 0.000000,
			"sourceServiceAmount": 0
		},
		{
			"date": "2023-10-15",
			"displayAmount": 172.550000000000,
			"amount": 172.550000000000,
			"sourceAmount": 203.000000,
			"accommodationAmount": 172.550000000000,
			"sourceAccommodationAmount": 203.000000,
			"boardAmount": 0.000000,
			"sourceBoardAmount": 0,
			"serviceAmount": 0.000000,
			"sourceServiceAmount": 0
		},
		{
			"date": "2023-10-16",
			"displayAmount": 172.550000000000,
			"amount": 172.550000000000,
			"sourceAmount": 203.000000,
			"accommodationAmount": 172.550000000000,
			"sourceAccommodationAmount": 203.000000,
			"boardAmount": 0.000000,
			"sourceBoardAmount": 0,
			"serviceAmount": 0.000000,
			"sourceServiceAmount": 0
		},
		{
			"date": "2023-10-19",
			"displayAmount": 172.550000000000,
			"amount": 172.550000000000,
			"sourceAmount": 203.000000,
			"accommodationAmount": 172.550000000000,
			"sourceAccommodationAmount": 203.000000,
			"boardAmount": 0.000000,
			"sourceBoardAmount": 0,
			"serviceAmount": 0.000000,
			"sourceServiceAmount": 0
		},
		{
			"date": "2023-10-17",
			"displayAmount": 172.550000000000,
			"amount": 172.550000000000,
			"sourceAmount": 203.000000,
			"accommodationAmount": 172.550000000000,
			"sourceAccommodationAmount": 203.000000,
			"boardAmount": 0.000000,
			"sourceBoardAmount": 0,
			"serviceAmount": 0.000000,
			"sourceServiceAmount": 0
		},
		{
			"date": "2023-10-20",
			"displayAmount": 172.550000000000,
			"amount": 172.550000000000,
			"sourceAmount": 203.000000,
			"accommodationAmount": 172.550000000000,
			"sourceAccommodationAmount": 203.000000,
			"boardAmount": 0.000000,
			"sourceBoardAmount": 0,
			"serviceAmount": 0.000000,
			"sourceServiceAmount": 0
		}
	]
}