GeoAutoComplete (JSON)

 

API情報

当該機能は、入力した単語または文字列に基づき都市名や空港名等の候補を返却するAPIです。
本APIを利用することで空港名や都市名のオートコンプリート機能を実装することが可能です。

最新バージョン :1.0.0
プロトコル :JSON

更新履歴

GeoAutoComplete v1.0.0 on May 08, 2020
  • Version1.0.0をリリースいたしました。
 

JSONタグ定義書

スキーマ

【注意点】
各種スキーマは、Sabre社提供のオリジナル版となるため、「JSONタグ定義書」の記載上、
利用不可の情報が含まれております。
スキーマを利用してアプリケーションを構築される場合の各タグの利用可否は、
必ず「JSONタグ定義書」にてご確認ください。

※弊社にて「JSONタグ定義書」を作成する際、各タグの利用可否確認を行っております。
 

リクエストサンプル

 選択/v1/lists/utilities/geoservices/autocomplete?query=HAN&category=AIR&limit=10

レスポンスサンプル

 選択{				
  "Response": {				
    "responseHeader": {				
      "status": 0,				
      "QTime": 2				
    },				
    "grouped": {				
      "category:AIR": {				
        "matches": 3292,				
        "doclist": {				
          "numFound": 20,				
          "start": 0,				
          "docs": [				
            {				
              "name": "Hanoi",				
              "city": "Hanoi",				
              "country": "VN",				
              "countryName": "Vietnam",				
              "category": "AIR",				
              "id": "HAN",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "21.221667",				
              "longitude": "105.804444",				
              "iataCityCode": "HAN",				
              "ranking": 623				
            },				
            {				
              "name": "Tokyo, Japan - Haneda Airport",				
              "city": "Tokyo",				
              "country": "JP",				
              "countryName": "Japan",				
              "category": "AIR",				
              "id": "HND",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "35.548056",				
              "longitude": "139.770278",				
              "iataCityCode": "TYO",				
              "ranking": 811				
            },				
            {				
              "name": "Hanover",				
              "city": "Hannover",				
              "country": "DE",				
              "countryName": "Germany",				
              "category": "AIR",				
              "id": "HAJ",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "52.461667",				
              "longitude": "9.684722",				
              "iataCityCode": "HAJ",				
              "ranking": 754				
            },				
            {				
              "name": "Hangzhou",				
              "city": "Hangzhou",				
              "country": "CN",				
              "countryName": "China",				
              "category": "AIR",				
              "id": "HGH",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "30.333056",				
              "longitude": "120.240556",				
              "iataCityCode": "HGH",				
              "ranking": 619				
            },				
            {				
              "name": "Hanamaki",				
              "city": "Hanamaki",				
              "country": "JP",				
              "countryName": "Japan",				
              "category": "AIR",				
              "id": "HNA",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "39.426944",				
              "longitude": "141.138333",				
              "iataCityCode": "HNA",				
              "ranking": 44				
            },				
            {				
              "name": "Quincy, IL/Hannibal",				
              "city": "Quincy",				
              "country": "US",				
              "countryName": "United States Of America",				
              "stateName": "Illinois",				
              "state": "IL",				
              "category": "AIR",				
              "id": "UIN",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "39.9425",				
              "longitude": "-91.194167",				
              "iataCityCode": "UIN",				
              "ranking": 35				
            },				
            {				
              "name": "H.A.S. Hanandjoeddin",				
              "city": "Tanjung Pandan",				
              "country": "ID",				
              "countryName": "Indonesia",				
              "category": "AIR",				
              "id": "TJQ",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "-2.745",				
              "longitude": "107.753056",				
              "iataCityCode": "TJQ",				
              "ranking": 26				
            },				
            {				
              "name": "Hancock/Houghton",				
              "city": "Hancock",				
              "country": "US",				
              "countryName": "United States Of America",				
              "stateName": "Michigan",				
              "state": "MI",				
              "category": "AIR",				
              "id": "CMX",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "47.168333",				
              "longitude": "-88.488889",				
              "iataCityCode": "CMX",				
              "ranking": 21				
            },				
            {				
              "name": "Hebei Handan Airport",				
              "city": "Handan",				
              "country": "CN",				
              "countryName": "China",				
              "category": "AIR",				
              "id": "HDG",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "36.525833",				
              "longitude": "114.425",				
              "iataCityCode": "HDG",				
              "ranking": 17				
            },				
            {				
              "name": "Hanimaadhoo",				
              "city": "Hanimaadhoo Island",				
              "country": "MV",				
              "countryName": "Maldives",				
              "category": "AIR",				
              "id": "HAQ",				
              "dataset": "AIR",				
              "datasource": "INNOVATA",				
              "confidenceFactor": "1",				
              "latitude": "6.746389",				
              "longitude": "73.168611",				
              "iataCityCode": "HAQ",				
              "ranking": 11				
            }				
          ]				
        }				
      }				
    }				
  },				
  "Links": [				
    {				
      "rel": "self",				
      "href": "https://api-crt.cert.havail.sabre.com/v1/lists/utilities/geoservices/autocomplete?query=HAN&category=AIR&limit=10"				
    },				
    {				
      "rel": "linkTemplate",				
      "href": "https://api-crt.cert.havail.sabre.com/v1/lists/utilities/geoservices/autocomplete?query=<query>&limit=<limit>&category=<category>"				
    }				
  ]				
}