The guest configuration is required in several requests and describes the number of adults, children and infants for that component or part of a component of the booking.
For example, in a property search request each room request requires the guest configuration to be specified, as this affects the availability and price. There also may be some configurations that are not allowed, such us a room with no adults, so the system needs to check the guest configuration to make sure no excluded guest configurations are included in the request. In general, the child ages of every child in the guest configuration must always be specified in the guest configuration. This is often to calculate pricing.
In some requests it is also necessary to specify the adult ages, for example to book some extra types on some systems, so an optional adult ages node can be used for these requests. If the adult ages are required in a particular request, that will be specified in the schema of that particular request. Unless specifically required for a particular component, the adult ages node is not required.Â
The structure of the XML will be: