<?xml version="1.0" encoding="UTF-8"?>

<!-- latencySensitive value(true or false) -->

<Query latencySensitive="true">

<!-- checkin required value ( date format yyyy-mm-dd) -->
  <Checkin>2023-06-10</Checkin>

  <!-- Nights required value (integer) -->
  <Nights>3</Nights>

  <!-- DeadlineMs required if latencySensitive is true value(integer) -->
  <DeadlineMs>500</DeadlineMs>

  <!-- PropertyList required is one or more property value (list) -->
  <PropertyList>
    
    <!-- property required is hotel id value(integer) -->
    <Property>411</Property>

    <Property>35</Property>

    <Property>503</Property>
  </PropertyList>



<!--HotelInfoProperties not required One or more properties for which Google wants updated room and Room Bundle metadata in a metadata value(hotel id ) -->
  <HotelInfoProperties>
    <Property>411</Property>
    <Property>35</Property>
    <Property>503</Property>
  </HotelInfoProperties>






<!-- context is detail for the query (live pricing query only) is not required is optional it possible exist one or more context value (details) -->
  

  <!-- simple context -->
  <Context>

  <!-- Occupancy not required number of guest value(integer) -->
    <Occupancy>2</Occupancy>

    <!-- UserCountry not required code of user country value (iso country code) -->
    <UserCountry>US</UserCountry>

    <!-- UserDevice not required the device of user value (mobile, desktop, tablet) -->
    <UserDevice>mobile</UserDevice>
  </Context>



<!-- context details -->
  <Context>

  <!-- Occupancy not required number of guest value(integer) -->
    <Occupancy>3</Occupancy>

    <!-- OccupancyDetails not required Specifies guests by type value (details) -->
    <OccupancyDetails>

    <!-- NumAdults required number of adult guest value(integer) -->
      <NumAdults>1</NumAdults>

      <!-- Children not required details of children guest value(list of child) -->
      <Children>

        <!-- Child required age of child value (age= integer) -->
        <Child age="6"/>
        <Child age="10"/>
      </Children>


    </OccupancyDetails>
    <!-- UserCountry not required code of user country value (iso country code) -->
    <UserCountry>US</UserCountry>

    <!-- UserDevice not required the device of user value (mobile, desktop, tablet) -->
    <UserDevice>mobile</UserDevice>
  </Context>



<!-- PropertyContextList in place of context not required value (list of PropertyContext) -->
   <PropertyContextList>

    <!-- PropertyContext one or more  combinaison of properties (hotel) and one or more context (detail) -->
    <PropertyContext>
      <Property>8675309</Property>
      <Context><UserCountry>US</UserCountry></Context>
      <Context><UserCountry>GB</UserCountry></Context>
    </PropertyContext>


    <PropertyContext>
      
      <!-- property value (hotel id) -->
      <Property>8675310</Property>
      <Property>8675311</Property>

      <Context>
        <!-- UserCountry not required code of user country value (iso country code) -->
        <UserCountry>CA</UserCountry>
      </Context>
    </PropertyContext>

  </PropertyContextList>


</Query>