Spectrum Global Type Ahead sugiere automáticamente direcciones a medida que escribe y obtiene candidatos de forma inmediata a partir de su entrada. Luego puede seleccionar su candidato desde la lista de candidatos mostrada.
Spectrum Global Type Ahead forma parte de Spectrum Global Addressing Management.
URL del recurso
Extremo del elemento JSON:
http://server:port/rest/GlobalTypeAheadValidation/result.json
Ejemplo con respuesta JSON
El siguiente ejemplo solicita una respuesta JSON:
http://server:8080/rest/GlobalTypeAhead/result.json?Data.AddressLine1=Victori
El elemento JSON devuelto por esta solicitud sería:
{ "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": [] } ] }