Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

Available from CRM.COM R14.0.0

Excerpt

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

...

Name

Type

Description

token

String

The token retrieved from the login method

address

(mandatory)

String

The text string on which to search.

...

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejs
linenumberstrue
 {
    "data": {
        "addresses": [
            {
                "area": "Palouriotissa",
                "country": "Cyprus",
                "address": "Ilia Papakyriakou, Nicosia, Cyprus",
                "city": "Nicosia",
                "street_number": null,
                "municipality": "Nicosia",
                "postal_code": null,
                "street_name": "Ilia Papakyriakou"
            },
            {
                "area": null,
                "country": "Cyprus",
                "address": "Ilia Papakyriakou, Agios Dometios, Cyprus",
                "city": null,
                "street_number": null,
                "municipality": "Agios Dometios",
                "postal_code": null,
                "street_name": "Ilia Papakyriakou"
            },
            {
                "area": "Acropolis",
                "country": "Cyprus",
                "address": "Ilia Papakyriakou, Strovolos, Cyprus",
                "city": "Nicosia",
                "street_number": null,
                "municipality": "Strovolos",
                "postal_code": null,
                "street_name": "Ilia Papakyriakou"
            },
            {
                "area": "Ayios Andreas",
                "country": "Cyprus",
                "address": "Ilia Papakyriakou, Egkomi, Cyprus",
                "city": "Nicosia",
                "street_number": null,
                "municipality": "Egkomi",
                "postal_code": null,
                "street_name": "Ilia Papakyriakou"
            }
        ]
    },
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}