Dictionaries JSON リクエストとレスポンス

JSON リクエスト

以下は、Dictionaries サービスに対する JSON リクエストの例です。この例のリクエストは、フランスに対して設定されているジオコーディング データセットのリストになっています。

GET http://myserver:8080/rest/GlobalGeocode/dictionaries.json?
country=FRA HTTP/1.1

JSON レスポンス

以下は、先ほどのリクエストによって返される JSON レスポンスです。

{
   "dictionaries": [
      {
         "customDictionary": false,
         "repositoryName": "MAPMARKER_FR_Navteq_2013_Q4",
         "path": null,
         "vintage": "2013.Q4",
         "source": "Navteq",
         "description": "MAPMARKER_FR_Navteq_2013_Q4",
         "countrySupportInfos": [
            {
               "supportedCountries": [
                  "MYT",
                  "REU",
                  "GUF",
                  "GLP",
                  "MTQ",
                  "FRA",
                  "MCO"
               ],
               "supportedDataTypes": [
                  "POST_CODE_1",
                  "AREA_NAME_3",
                  "STREET"
               ]
            }
         ]
      },
      {
         "customDictionary": false,
         "repositoryName": "MAPMARKER_FR_TomTom_2013_12",
         "path": null,
         "vintage": "2013.12",
         "source": "TomTom",
         "description": "MAPMARKER_FR_TomTom_2013_12",
         "countrySupportInfos": [
            {
               "supportedCountries": [
                  "MYT",
                  "REU",
                  "GUF",
                  "GLP",
                  "MTQ",
                  "FRA",
                  "MCO"
               ],
               "supportedDataTypes": [
                  "POST_CODE_1",
                  "AREA_NAME_3",
                  "STREET"
               ]
            }
         ]
      }
   ]
}