Global Type-Ahead schlägt automatisch Adressen während Ihrer Eingabe vor und gibt sofort Kandidaten basierend auf Ihrer Eingabe zurück. Sie können anschließend Ihren Kandidaten aus der angezeigten Kandidatenliste auswählen.
Spectrum Global Type Ahead ist Teil von Spectrum Global Addressing Management.
Ressourcen-URL
JSON-Endpunkt:
http://server:port/rest/GlobalTypeAheadValidation/result.json
Beispiel mit JSON-Antwort
Im folgenden Beispiel wird eine JSON-Antwort angefordert:
http://server:8080/rest/GlobalTypeAhead/result.json?Data.AddressLine1=Victori
Die von dieser Anforderung zurückgegebene JSON-Antwort würde wie folgt lauten:
{ "output_port": [ { "FirmName": "The Victoria", "AddressLine1": "West Street", "LastLine": "DUNSTABLE, LU6 1ST", "FormattedAddress": "The Victoria, 69, West Street, DUNSTABLE, LU6 1ST", "PostalCode": "LU6 1ST", "City": "DUNSTABLE", "Country": "UNITED KINGDOM", "Type": "2", "Ranges": [], "user_fields": [] }, { "FirmName": "The Victoria", "AddressLine1": "Wilmslow Road", "LastLine": "MANCHESTER, M20 3BW", "FormattedAddress": "The Victoria, 438, Wilmslow Road, MANCHESTER, M20 3BW", "PostalCode": "M20 3BW", "City": "MANCHESTER", "Country": "UNITED KINGDOM", "Type": "2", "Ranges": [], "user_fields": [] }, { "FirmName": "The Victoria, 42-43", "AddressLine1": "Promenade", "LastLine": "SOUTHPORT, PR9 0DS", "FormattedAddress": "The Victoria, 42-43, Promenade, SOUTHPORT, PR9 0DS", "PostalCode": "PR9 0DS", "City": "SOUTHPORT", "Country": "UNITED KINGDOM", "Type": "2", "Ranges": [], "user_fields": [] }, { "FirmName": "The Victoria, 2a", "AddressLine1": "Hough Side Road", "LastLine": "PUDSEY, LS28 9BR", "FormattedAddress": "The Victoria, 2a, Hough Side Road, PUDSEY, LS28 9BR", "PostalCode": "LS28 9BR", "City": "PUDSEY", "Country": "UNITED KINGDOM", "Type": "2", "Ranges": [], "user_fields": [] }, { "FirmName": "The Victoria", "AddressLine1": "Ainsworth Road", "LastLine": "Radcliffe, MANCHESTER, M26 4FD", "FormattedAddress": "The Victoria, 119, Ainsworth Road, Radcliffe, MANCHESTER, M26 4FD", "Locality": "Radcliffe", "PostalCode": "M26 4FD", "City": "MANCHESTER", "Country": "UNITED KINGDOM", "Type": "2", "Ranges": [], "user_fields": [] } ] }