Vervotech
  1. Mapping API
Vervotech
  • Hotel Mapping
    • Getting Started
    • Access & Onboarding with Vervotech
    • Explore your providers
    • Integration and Go Live
    • Map Providers Content
    • Webhook
    • References
    • FAQ
    • Metadata Content
      • Get All Vervotech Ids
      • Get Master Hotel Facilities
      • Get Master Hotel Chains
      • Get Master Hotel Brands
      • Get Master Property Types
      • Get All Master Countries
    • Mappings
      • Get Hotel count for new, updated and deleted.
      • Get Mappings
      • Get New Mappings
      • Get Updated Mappings
      • Get Deleted Mappings
      • Get Mapping Statistics
      • Get Provider Hotel Mappings By VervotechId
      • Get Provider Hotel Mappings by ProviderId
      • Export Mappings File
    • Curated Content
      • Get Curated Content By Provider Hotel Ids
      • Get Curated Content By Vervotech Ids
    • Provider Content
      • Get Provider Content By Provider Hotel Ids
      • Get Provider Content By Vervotech Ids
      • Get All Provider names
      • Get Unmapped Provider Hotels
      • Get Unmapped Provider Hotels V2
      • Create Unmapped Provider Hotels File
    • Location Content
      • Get Location By ID
      • Get All Locations
    • Operational APIs
      • Review Mappings of Booked Hotels
      • Review Mappings of Booked Hotels By File
      • Start Mapping By Ftp Folder
      • Get Mappings History By RunId
    • Dynamic Mapping APIs
      • Find Match
    • Dual Mapping APIs
      • Overview
      • Get Mappings by Provider Hotel Id.
      • Get Mappings with content by Provider Hotel Id.
      • Get summary for your dual mapping APIs
  • Room Mapping
    • Getting Started
    • File Based Room Mapping (Offline)
    • References
    • FAQ
    • Mapping API
      • Map Rooms
        POST
      • Get Master Room Amenities
        GET
      • Get Master Room Attributes
        GET
      • Get Provider Names
        GET
      • Get All Provider Names
        GET
    • Async Room Mapping API
      • Map Large Rooms Async
      • Get Async Room Mapping API Response
  1. Mapping API

Map Rooms

POST
/api/2.0/mapping/rooms
The 2.0 room mapping API to map different providers rooms for a single hotel. This API accepts all the rooms coming from different providers for any particular hotel as a input. Each room in the input should be marked uniquely. The API return the mapping between these input rooms in the response.
Request Request Example
Shell
JavaScript
Java
Swift
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"
    ]
}'
Response Response Example
200 - MapRoomExample
{
    "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"
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Room Mapping Response
Body

🟠403Forbidden
🔴500Server Error
Previous
FAQ
Next
Get Master Room Amenities
Built with