Versions Compared

Key

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

Available from CRM.COM R9.0.0

Table of Contents
maxLevel2

GET melissa_data/advance_lookup

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

Resource URL

http://host_name/crmapi/rest/$version/melissa_data/advance_lookup

Parameters

Name

Type

Description

account_id

(mandatory)

String

The Melissa Data Account ID as specified in the Address Registry Settings

address1

(mandatory)

String

Information about the address whose details will be retrieved in free text

 

address2

(optional)

StringAdditional information about the address whose details will be retrieved in free text

address3

(optional)

StringAdditional information about the address whose details will be retrieved in free text

municipality

(optional)

StringRestricts the retrieved addresses to the addresses of the specified Municipality.

district

(optional)

StringRestricts the retrieved addresses to the addresses of the specified District.

city

(optional)

StringRestricts the retrieved addresses to the addresses of the specified Town/City.

area

(optional)

StringRestricts the retrieved addresses to the addresses of the specified Area.

post_code

(optional)

StringRestricts the retrieved addresses to the addresses of the specified Postal Code.

country

(optional)

StringRestricts the retrieved addresses to the addresses of the specified Country. Always defaults to the Country specified in Admin Settings if not specified. If specified, then the Country's 2-characters code must be defined

max_records

(optional)

IntegerDefines the maximum number of addresses to be returned. Always defaults to 10.

Restrictions

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

Response Data

...

Examples

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejs
linenumberstrue
 

GET melissa_data/quick_lookup

This method returns address information from the Melissa Data Address Registry System with which CRM.COM integrates with. Multiple addresses might be returned by each call.

Resource URL

Parameters

Name

Type

Description

account_id

(mandatory)

String

The Melissa Data Account ID as specified in the Address Registry Settings

address

(mandatory)

StringDetailed information about the address that will be retrieved through the Address Registry System in free text.

country

(optional)

StringRestricts the retrieved addresses to the addresses of the specified Country. Always defaults to the Country specified in Admin Settings. If specified, then the Country's 2-characters code must be defined

max_records

(optional)

IntegerDefines the maximum number of addresses to be returned. Always defaults to 10.

Restrictions

  • It is mandatory to specify at least one of the semi-optional parameters. Multiple of those parameters are allowed to be specified.

Response Data

...

Examples

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejs
linenumberstrue
 

POST melissa_data/verify

This method verifies an address registered in CRM.COM against the information of Melissa Data System. Only one address can be verified in each call.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

account_id

(mandatory)

...

String

...

The Melissa Data Account ID as specified in the Address Registry Settings

...

(optional)

...

String

...

Input address line 1

 

...

address2

(optional)

...

Input address line 2

...

address3

(optional)

...

Input address line 3

...

address4

(optional)

...

Input address line 4

...

address5

(optional)

...

Input address line 5

...

address6

(optional)

...

Input address line 6

...

address7

(optional)

...

Input address line 7

...

address8

(optional)

...

Input address line 8

...

municipality

(optional)

...

city

(optional)

String

...

country

(optional)

...

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

resultStringDefines the address verification result. In case of failed verification, the description of all of the invalid address information will be included in the results 
formatted_addressStringThe Full address
cityStringAddress city
municipalityStringAddress municipality
postal_codeStringAddress post code
countryStringAddress Country
street_nameStringAddress street name
street_numberStringAddress street number
apartmentStringAddress apartment number
po_pox_postal_codeStringAddress PO Box post code

Examples

HTTP Method: GET

 

Request:

Response:

 
Expand
titleExample 1
Code Block
themeConfluence
languagejs
linenumberstrue
Panel
nameblue

Child pages (Children Display)
alltrue
excerpttrue