Understanding availability responses

AgeQualifyingGroups: infants, children and adults

The CRS is supporting 3 AgeQualifyingGroups: 7 (infants), 8 (children) and 10 (adults).

For availability requests, the AQC code can be provided directly, or the age of the guest can be specified.

When the guest ages are provided, the age buckets defined by the hotel are used in this way:

  • if BucketMinAge <= Age < BucketMaxAge then the corresponding bucket is used
  • if none of the bucket matches, the guest is considered as an adult

When neither the age nor the AQC of a guest is supplied, the guest is considered as an adult.

Eligible rooms

Given the number of adults, children and infants in the request being NumAdults, NumChildren and NumInfants respectively, a room will be eligible for a given stay request if

  • the total number of non-infant guests is bigger than the minimal occupancy and lower than the maximum occupancy plus the maximum number of rollaway beds
         i.e.    MinOccupancy <= NumAdults + NumChildren <= MaxOccupancy + MaxRollaways
  • the number of children is lower than the configured maximum child occupancy
         i.e.    NumChildren <= MaxChildOccupancy
  • the number of infants is lower than the configured maximum number of cribs
         i.e.    NumInfants <= MaxCribs

Rates calculation

Given the number of adults, children and infants in the request being NumAdults, NumChildren and NumInfants respectively, the given rates in the results will be as follow:

  • if no extra guests are present in the room   (extra guests = NumAdults + NumChildren  - MaxOccupancy)
    • the price defined for NumAdults (when the hotel uses occupancy based pricing) or the room price (for room-based pricing) is used
    • the price per children is multiplied by NumChildren
  • if the standard bedding of the room is not sufficient for all the guests
    • the room is filled up to the maximum standard occupancy considering the adults first then the children
      i.e. if MaxOccupancy > NumAdults, NumChildren - (MaxOccupancy - NumAdults) children are priced using the standard child pricing, the remaining ones are priced using the AdditionalChildAmount price
    • if MaxOccupancy < NumAdults, then NumAdults - MaxOccupancy are considered as additional adults (thus are priced using the AdditionalGuestAmount price) and all of the NumChildren are priced using the AdditionalChildAmount price
  • in all cases, the price per infant is multiplied by NumInfants