Parameters for Input Data
GlobalTypeAhead CAN takes an address fragment as input, for example,'123 Mai', '123 Main St, Apple', and returns candidate addresses that match theinput.
Parameter | Format | Description |
---|---|---|
AddressLine1 | String |
The firstaddress line. It may contain City, StateProvince or PostalCodeinformation. It is a mandatory field. Note: The
guidelines given below do not apply if you provide City, StateProvince, or
PostalCode along with AddressLine1.
|
City | String | The city name. It is only specified when results need to be restricted to acity. |
StateProvince | String | The state or province. It is only specified when results need to be restricted to astate or province. |
InstanceKey | String | The InstanceKey is used for usage tracking purposes so that youare only charged each time a user looks up an address and noteach time the service is called. An instance key can be created by calling theCreateAddressingInstanceKey service before the first time youcall a Global Type Ahead service. The service will then return an InstanceKey value that is thesame. If it is different, that means the same InstanceKey hasbeen used too long. You should pass this new InstanceKey tosubsequent calls until the user has selected an address orabandoned an address. Refer to GlobalTypeAhead example that explains the usage ofInstanceKey. Note: If you are entering multiple addresses,such as a separate Ship To and Ship Fromaddresses, these are considered separate address lookups anddo not share the same InstanceKey. |
PostCode | String | The post code. |