Skip Navigation

Get Polygon Info

Hotel
Search
REST API
Travel Agency

What is it?

The API provides information about the polygon available in the Geo database, based on multiple criteria such as polygon ID, area, city, state or country code. The search results can be filtered based on a date range by providing the start date and end date (both inclusive) in the request. The response will contain the details of all the polygons created/updated within this date range.

Why use it?

This API provides the information about the polygons available in Geo Database, based on the criteria provided in the request.

This API is used to find:

All the polygons in a certain city, state or country All the polygons created or updated within a certain date range. The total number of hotels that fall under a specific polygon

How it works

The GetPolygonInfo API provides information about the polygons available in the Geo database, based on the criteria provided in the request.

It provides five types of searches:

. Search by Polygon ID . Search by Area . Search by City . Search by State . Search by Country Code

Note: Any combination of the above five searches can also be used.

The search results can be furthered filtered using the start date and the end date. Polygons created/updated within this date range will be fetched.

How to use

Polygon Info API

To get information about the available polygons in Geo Database, based on the criteria provided in the request, use the GetPolygonInfo V1 API endpoint.

Use Case:

To get information about the polygons available in Geo Database: POST https://api.cert.platform.sabre.com/v1/get/polygoninfo HTTP/1.1