curl --location --request POST '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-raw '{
"vervotechHotelId": 201997202,
"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",
"beds": [
{
"count": 1,
"type": "Queen",
"size": "Queen",
"description": "1 Queen Bed"
}
],
"view": "Sea View",
"smokingAllowed": "Allowed",
"nightlyPrice": 80,
"currency": "USD",
"boardBasis": "Full board",
"refundability": "Non Refundable",
"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",
"beds": [
{
"count": 1,
"type": "twin",
"size": "twin",
"description": "1 twin Bed"
}
],
"view": "Sea View",
"smokingAllowed": "Allowed",
"nightlyPrice": 80,
"currency": "USD",
"boardBasis": "Breakfast",
"refundability": "Refundable",
"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",
"beds": [
{
"count": 1,
"type": "king",
"size": "king",
"description": "1 king Bed"
}
],
"view": "Sea View",
"smokingAllowed": "Allowed",
"nightlyPrice": 80,
"currency": "USD",
"boardBasis": "",
"refundability": "Refundable",
"attributes": [
{
"key": "HasBalcony",
"value": "Yes"
}
]
}
],
"providerContentType": "Merged",
"providerContentPreference": [
"HotelBeds"
]
}'
{
"standardRooms": [
{
"standardName": "Deluxe, King, Balcony",
"category": "Deluxe",
"view": "Sea",
"beds": [
{
"type": "King",
"count": 1
}
],
"bedInfo": "King",
"mappedRoomRates": [
{
"inputIndex": 1,
"roomCode": "201997202",
"boardBasis": "Full Board",
"refundability": "Non Refundable",
"isDefault": false,
"matchScore": 92,
"cfs": 92,
"attributes": []
},
{
"inputIndex": 2,
"roomCode": "201997203",
"boardBasis": "Bed and Breakfast",
"refundability": "Refundable",
"isDefault": false,
"matchScore": 97,
"cfs": 97,
"attributes": []
},
{
"inputIndex": 3,
"roomCode": "201997204",
"boardBasis": "Unknown",
"refundability": "Refundable",
"isDefault": false,
"matchScore": 97,
"cfs": 97,
"attributes": []
}
],
"attributes": [
{
"key": "HasBalcony",
"value": "Yes"
}
]
}
],
"success": true,
"statusCode": 1000,
"message": "Success"
}