How to structure a multi-room in HotelX

In order to avoid errors in your Query Search of more than 1 room, please, find below a sample structure of a multi-room:

 

{
"criteriaSearch": {
"checkIn": "2021-06-13",
"checkOut": "2021-06-16",
"hotels": [
"XX"
],
"language": "EN",
"currency": "EUR",
"market": "XX",
"nationality": "XX",
"occupancies": [
{
"paxes": [
{
"age": 30
},
{
"age": 30
}
]
},
{
"paxes": [
{
"age": 30
},
{
"age": 30
}
]
},
{
"paxes": [
{
"age": 30
},
{
"age": 30
}
]
}
]
},
"filter": {
"access": {
"includes": [
"XXXX"
]
}
},
"settings": {
"timeout": 18000,
"auditTransactions": false,
"client": "XXXXXXXX",
"context": "XXX",
"testMode": false
}
}