Dictionaries JSON Request & Response
JSON Request
The following is an example of a JSON request for the Dictionaries service. In this example, the request is for a list of configured geocoding datasets for France.
GET http://myserver:8080/Geocode/rest/GeocodeService/dictionaries.json?
country=FRA HTTP/1.1
GET http://myserver:8080/rest/GlobalGeocode/dictionaries.json?
country=FRA HTTP/1.1
JSON Response
The following shows the JSON response returned by the previous request.
{
"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"
]
}
]
}
]
}