Vervotech
  1. Location Content
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
      • Get All Locations
        POST
    • 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
      • Get Master Room Amenities
      • Get Master Room Attributes
      • Get Provider Names
      • Get All Provider Names
    • Async Room Mapping API
      • Map Large Rooms Async
      • Get Async Room Mapping API Response
  1. Location Content

Get Location By ID

GET
/api/Location/getLocationById
Fetches specific location details by locationId, including full name, coordinates, city/state/country, boundaries, and data source. The data is sourced from OpenStreetMap.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://hotelmapping.vervotech.com/api/Location/getLocationById?locationId' \
--header 'apikey: 056ec4c3-be6b-4c36-a4cc-a403ce9592a1' \
--header 'accountId: DemoAccount'
Response Response Example
{
    "Location": {
        "Shape": "Polygon",
        "Boundaries": [
            [
                {
                    "Lat": 70.76491,
                    "Long": -22.948914
                }
            ]
        ],
        "DataSource": "OpenStreetMap",
        "CityCode": "CNP",
        "PostalCode": null,
        "LocationId": "100",
        "Name": "Jameson Land",
        "Code": "CNP",
        "FullName": "Jameson Land, Sermersooq, Greenland",
        "Type": "City",
        "City": "Jameson Land",
        "State": "Sermersooq",
        "Country": "GL",
        "Coordinates": {
            "Lat": 70.68355,
            "Long": -22.737888
        }
    },
    "Status": true,
    "Message": "Success",
    "StatusCode": 2000
}

Request

Query Params

Header Params

Responses

🟢200OK
text/plain
OK
Body

Previous
Create Unmapped Provider Hotels File
Next
Get All Locations
Built with