XML-Anforderung und -Antwort an Dictionaries
XML-Anforderung
Im Folgenden wird ein Beispiel für eine XML-Anforderung an den Dictionaries-Dienst aufgeführt. In diesem Beispiel wird eine Liste konfigurierter Geocoding-Datasets für Deutschland angefordert.
GET http://myserver:8080/rest/GlobalGeocode/dictionaries.xml?
country=DEU HTTP/1.1
XML-Antwort
Nachfolgend wird die XML-Antwort dargestellt, die von der vorherigen Anforderung zurückgegeben wurde.
<?xml version="1.0" encoding="UTF-8"?>
<ConfiguredDictionaryResponse>
<dictionaries>
<customDictionary>false</customDictionary>
<repositoryName>MAPMARKER_DE_Standard_2014_09</repositoryName>
<vintage>2014.09</vintage>
<source>Standard</source>
<description>MAPMARKER_DE_Standard_2014_09</description>
<countrySupportInfos>
<supportedCountries>DEU</supportedCountries>
<supportedDataTypes>POST_CODE_1</supportedDataTypes>
<supportedDataTypes>AREA_NAME_3</supportedDataTypes>
<supportedDataTypes>STREET</supportedDataTypes>
</countrySupportInfos>
</dictionaries>
<dictionaries>
<customDictionary>false</customDictionary>
<repositoryName>
MAPMARKER_DE_AddressPoint_2014_09
</repositoryName>
<vintage>2014.09</vintage>
<source>AddressPoint</source>
<description>
MAPMARKER_DE_AddressPoint_2014_09
</description>
<countrySupportInfos>
<supportedCountries>DEU</supportedCountries>
<supportedDataTypes>POINT</supportedDataTypes>
<supportedDataTypes>POST_CODE_1</supportedDataTypes>
<supportedDataTypes>AREA_NAME_3</supportedDataTypes>
</countrySupportInfos>
</dictionaries>
</ConfiguredDictionaryResponse>