Skip to end of banner
Go to start of banner

GET google_places/lookup

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Available from CRM.COM R14.0.0

This method returns Addresses information from the Google Places Autocomplete Address Registry System with which CRM.COM integrates with. Multiple addresses might be returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

address

(mandatory)

String

The text string on which to search.

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified

Response Data

Name

Type

Description

result_code

String

Code indicating whether a successful request was sent or not. The code may retrieve the following values: OK, ZERO_RESULTS, OVER_QUERY_LIMIT, REQUEST_DENIED, INVALID_REQUEST

  • OK indicates that no errors occurred and at least one result was returned.
  • ZERO_RESULTS indicates that the search was successful but returned no results. This may occur if the search was passed a bounds in a remote location.
  • OVER_QUERY_LIMIT indicates that you are over your quota.
  • REQUEST_DENIED indicates that your request was denied, generally because of lack of an invalid key parameter.
  • INVALID_REQUEST generally indicates that the input parameter is missing.
result_descriptionString

Description of the error returned by Melissa Data Global Express Entry. Available only when the request was not successfully sent

addresses

List of Google Places Address Objects

A list of addresses returned by the address search in Google Places Autocomplete 

Referred Objects Response Data

 google_places object response data

Name

Type

Description

address

String

Full formatted address

street_nameStringAddress Street Name
street_numberStringAddress Street Number
postal_codeStringAddress Postal Code
apartment_numberStringAddress Apartment Number
areaStringAddress Area
cityStringAddress City/Town
districtStringAddress District
municipalityStringAddress Municipality
po_boxStringAddress PO Box
countryStringAddress Country

 

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 
  • No labels