Requête POST Global Interactive Geocode
Base URI
http://<server>:<port>/Geocode/rest/GlobalGeocode/interactive[.content type]
Où :
[.content type] indique que le type de contenu spécifié est utilisé par défaut. Facultatif.
- json
- Le type de contenu par défaut est JSON, sauf s'il est remplacé par une négociation de contenu HTTP.
- xml
- Le type de contenu par défaut est XML, sauf s'il est remplacé par une négociation de contenu HTTP.
Préférences
Le format d'utilisation de ces préférences est preferences.CustomPreferences.[<name of preference>] ou preferences.[<name of preference>].
Paramètre | Type | Description |
---|---|---|
SEARCH_TYPE | string | Préférence personnalisée permettant de contrôler le type de recherche des requêtes interactives. Par défaut : ADDRESS_COMPLETION Valeurs possibles : ADDRESS_COMPLETION POINT_OF_INTEREST_NAME_COMPLETION, POINT_OF_INTEREST_CATEGORY_COMPLETION, POSTAL_COMPLETION, CITY_COMPLETION, STREET_NAME_COMPLETION, GEOGRAPHIC_COMPLETION, STATE_PROVINCE_COMPLETION, POINT_OF_INTEREST_COMPLETION, ALL |
COMPRESSED_AREA_RESULT | booléen | Par défaut : false COMPRESSED_AREA_RESULT |
KEY_CUSTOM_DICTIONARY_USAGE | string | Valeurs possibles : PREFER_CUSTOM_DICTIONARIES, PREFER_STANDARD_DICTIONARIES, USE_CUSTOM_DICTIONARIES_ONLY, USE_STANDARD_DICTIONARIES_ONLY |
USE_STANDARD_DICTIONARIES_ONLY | ||
matchMode | string | Par défaut : STANDARD, Valeurs possibles : STANDARD, CLOSE |
originXY | Liste de doubles |
{ "preferences" : { "originXY" : [-73.70252500000001, 42.68323] }, "address" : { "mainAddressLine" : "350 Jordan Rd" } } |
restrictedSearch | Limites |
{ "preferences": { "restrictedSearch": {"northEastXY": [-73.70252500000001,42.68323], "southWestXY": [-73.70252500000001,42.68323] } }, "address": { "mainAddressLine": "350 Jordan Rd" } } |