mappingRuleIds body field to additionally switch on any rule or account toggle that is configured as on demand rather than default. Selection is additive: your default rules always run, and naming a rule only adds to them. Omitting the field, or sending an empty array, leaves the account defaults in place rather than disabling them.curl --location 'https://roommapping.vervotech.com/api/2.0/mapping/rooms' \
--header 'accountId: demoAccount' \
--header 'token: jansdv-859n kj2-nmsdv' \
--header 'correlationId: test123' \
--header 'culture: en-US' \
--header 'Content-Type: application/json' \
--data '{
"vervotechHotelId": 201997202,
"providerContentType": "Merged",
"providerContentPreference": [
"HotelBeds"
],
"mappingRuleIds": [
"DisableBedTypeGrouping",
"BeddingMappingRule_2"
],
"roomRates": [
{
"index": 1,
"code": "201997202",
"roomName": "Deluxe Room, 1 King Bed, Non Refundable",
"description": "Deluxe Room, 1 King Bed, Non Refundable,full board",
"provider": "HotelBeds",
"providerHotelId": "18113069",
"view": "Sea View",
"nightlyPrice": 80,
"currency": "USD",
"boardBasis": "Full board",
"refundability": "Non Refundable",
"beds": [
{
"count": 1,
"type": "Queen",
"size": "Queen",
"description": "1 Queen Bed"
}
],
"attributes": [
{
"key": "HasBalcony",
"value": "Yes"
}
]
},
{
"index": 2,
"code": "201997203",
"roomName": "Deluxe Room, 1 King Bed, 1 KingBed, Refundable",
"description": "Deluxe Room, 1 King Bed, 1 KingBed, Refundable",
"provider": "HotelBeds",
"providerHotelId": "18113069",
"view": "Sea View",
"nightlyPrice": 80,
"currency": "USD",
"boardBasis": "Breakfast",
"refundability": "Refundable",
"beds": [
{
"count": 1,
"type": "twin",
"size": "twin",
"description": "1 twin Bed"
}
],
"attributes": [
{
"key": "HasBalcony",
"value": "Yes"
}
]
},
{
"index": 3,
"code": "201997204",
"roomName": "Deluxe Room, 1 King Bed, 1 KingBed",
"description": "Deluxe Room, 1 King Bed, 1 KingBed",
"provider": "HotelBeds",
"providerHotelId": "18113069",
"view": "Sea View",
"nightlyPrice": 80,
"currency": "USD",
"boardBasis": "",
"refundability": "Refundable",
"beds": [
{
"count": 1,
"type": "king",
"size": "king",
"description": "1 king Bed"
}
],
"attributes": [
{
"key": "HasBalcony",
"value": "Yes"
}
]
},
{
"index": 4,
"code": "3",
"roomName": "Habitación deluxe con balcón y vista al mar",
"description": null,
"provider": "DidaTravel",
"providerHotelId": "561233",
"beds": null,
"view": null,
"nightlyPrice": null,
"currency": null,
"attributes": null,
"boardBasis": null,
"refundability": "Refundable"
}
]
}'{
"success": true,
"statusCode": 1000,
"message": "Success",
"standardRooms": [
{
"id": "1",
"standardName": "Deluxe, King, Balcony",
"masterTitle": "King Deluxe Room with Burj Khalifa View",
"description": "A sea face room with air conditioning and extra rollaway beds available",
"category": "Deluxe",
"view": "Sea",
"roomLocation": "Highfloor",
"accommodationType": "Room",
"addOn": "Club Access",
"occupancyType": "Double",
"bedroomCount": 1,
"bedInfo": "King",
"beds": [
{
"type": "King",
"count": 1
}
],
"facilities": [
{
"id": "1",
"name": "WiFi",
"masterFacilityId": "1"
}
],
"attributes": [
{
"key": "HasBalcony",
"value": "Yes"
}
],
"mappedRoomRates": [
{
"inputIndex": 1,
"roomCode": "201997202",
"boardBasis": "Full Board",
"refundability": "Non Refundable",
"matchScore": 92,
"cfs": 92,
"occupancyType": "Double",
"accommodationType": "Room",
"category": "Deluxe",
"view": "Sea",
"bedInfo": "1 King",
"attributes": []
},
{
"inputIndex": 2,
"roomCode": "201997203",
"boardBasis": "Bed and Breakfast",
"refundability": "Refundable",
"matchScore": 97,
"cfs": 97,
"attributes": []
},
{
"inputIndex": 3,
"roomCode": "201997204",
"boardBasis": "Unknown",
"refundability": "Refundable",
"matchScore": 97,
"cfs": 97,
"attributes": []
}
],
"providerRoomContent": {
"roomName": "Deluxe Room, 1 King Bed, Non Refundable",
"description": "Deluxe room with a sea facing balcony.",
"views": "Sea View",
"area": {
"squareFeet": "250",
"squareMeters": "23"
},
"facilities": [
{
"id": "1",
"name": "WiFi"
}
],
"attributes": [
{
"key": "RoomSize",
"value": "200-250 SQFT"
}
],
"images": [
{
"caption": "Deluxe Room",
"category": "Room",
"links": [
{
"providerHref": "https://images.example.com/deluxe_1000.jpg",
"disabled": false,
"size": "XXL"
}
]
}
]
}
},
{
"standardName": "Deluxe, Balcony, Sea View",
"category": "Deluxe",
"view": "Sea",
"bedInfo": "Unknown",
"beds": [],
"attributes": [],
"warnings": [
{
"code": "NON_ENGLISH_CONTENT_DETECTED",
"message": "Non-English text was detected in one or more room details. Please review the mapping results for accuracy."
}
],
"mappedRoomRates": [
{
"inputIndex": 4,
"roomCode": "3",
"boardBasis": "Unknown",
"refundability": "Refundable",
"matchScore": 45,
"cfs": 45,
"attributes": []
}
]
}
]
}