Resource URL
JSON endpoint:
https://OnDemandServer/rest/GlobalTypeAheadUSCANPremium/results.json
XML endpoint:
https://OnDemandServer/rest/GlobalTypeAheadUSCANPremium/results.xml
For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.
Example with JSON Response
The following example requests a JSON response:
https://spectrum.precisely.com/rest/GlobalTypeAheadCAN/results.json?​Data.AddressLine1=woodward%20ave&Data.StateProvince=NB
The JSON returned by this request would be:
{
"Output": [
{
"AddressLine1": "PO Box 4000 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4000 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
},
{
"AddressLine1": "PO Box 4001 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4001 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
},
{
"AddressLine1": "PO Box 4002 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4002 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
},
{
"AddressLine1": "PO Box 4003 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4003 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
},
{
"AddressLine1": "PO Box 4004 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4004 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
},
{
"AddressLine1": "PO Box 4005 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4005 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
},
{
"AddressLine1": "PO Box 4006 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4006 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
},
{
"AddressLine1": "PO Box 4007 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4007 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
},
{
"AddressLine1": "PO Box 4008 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4008 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
},
{
"AddressLine1": "PO Box 4009 Stn Central",
"StateProvince": "BC",
"PostalCode": "V8W 0E6",
"City": "Victoria",
"ProcessedBy": "GTAS",
"InstanceKey": "ACUjMjMTYxODU4MjY1NTg3NgMj02MT",
"FirmName": "",
"FormattedAddress": "PO Box 4009 Stn Central, Victoria, BC, V8W 0E6",
"Ranges": [],
"Country": "Canada",
"user_fields": []
}
]
}
Example with XML Response
The following example requests an XML response:
https://spectrum.precisely.com/rest/GlobalTypeAheadUSCANPremium/results.xml?Data.Country=Canada&Data.AddressLine1=PO BOX 4001 STN A, VICTORIA
The XML returned by this request would be:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xml.GlobalTypeAheadUSCANPremiumResponse xmlns="http://www.pb.com/spectrum/services/GlobalTypeAheadUSCANPremium">
<Output>
<Row>
<AddressLine1>PO Box 90 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 90 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
<Row>
<AddressLine1>PO Box 91 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 91 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
<Row>
<AddressLine1>PO Box 92 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 92 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
<Row>
<AddressLine1>PO Box 93 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 93 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
<Row>
<AddressLine1>PO Box 94 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 94 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
<Row>
<AddressLine1>PO Box 95 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 95 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
<Row>
<AddressLine1>PO Box 96 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 96 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
<Row>
<AddressLine1>PO Box 97 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 97 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
<Row>
<AddressLine1>PO Box 98 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 98 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
<Row>
<AddressLine1>PO Box 99 Stn A</AddressLine1>
<StateProvince>ON</StateProvince>
<PostalCode>L7C 1L2</PostalCode>
<City>Inglewood</City>
<ProcessedBy>GTAS</ProcessedBy>
<InstanceKey>ACUjMjMTY3MjI1NzQ0MDM4MAMj02Mj</InstanceKey>
<FirmName></FirmName>
<FormattedAddress>PO Box 99 Stn A, Inglewood, ON, L7C 1L2</FormattedAddress>
<Ranges/>
<Country>Canada</Country>
<user_fields/>
</Row>
</Output>
</xml.GlobalTypeAheadUSCANPremiumResponse>
<