pem.exchange.getContact

This method is supported by Operations starting from version 5.3 hotfix09.

This method outputs detailed information about the specified contact.

The method has the following input parameters:

Name

Type

Short Description

mail_contact_id

int

Identifier of the contact for which you want to get information about the properties.

The method has the following output parameters:

Name

Type

Short Description

mail_contact_id

int

Identifier of the specified contact

display_name

string

Display name of the specified contact

alias

string

Alias of the specified contact

[email_address]

string

E-mail address of the specified contact.

target_email_address

string

External e-mail address of the specified contact

show_in_address_book

boolean

Setting that specifies whether the contact is to be displayed in the address book or not. The values are as follows:

  • 1 ‒ The contact will be displayed in the address book.
  • 0 ‒ The contact will not be displayed in the address book.

[contact_info]

struct

Contact information

  • [first_name]

string

First name

  • [last_name]

string

Last name

  • [description]

string

Description

  • [office]

string

Office

  • [telephone]

struct

Telephone

  • [country_code]

string

Country code

  • [area_code]

string

Area code

  • phone_number

string

Phone number

  • [extension_number]

string

Extension

  • [web_page]

string

Web page

  • [street]

string

Street

  • [city]

string

City

  • [state]

string

State/Province

  • [postal_code]

string

Zip/Postal code

  • [country]

string

Country/region

  • [home_phone]

struct

Home phone

  • [country_code]

string

Country code

  • [area_code]

string

Area code

  • phone_number

string

Phone number

  • [extension_number]

string

Extension

  • [pager]

struct

Pager

  • [country_code]

string

Country code

  • [area_code]

string

Area code

  • phone_number

string

Phone number

  • [extension_number]

string

Extension

  • [mobile_phone]

struct

Mobile phone

  • [country_code]

string

Country code

  • [area_code]

string

Area code

  • phone_number

string

Phone number

  • [extension_number]

string

Extension

  • [fax]

struct

Fax

  • [country_code]

string

Country code

  • [area_code]

string

Area code

  • phone_number

string

Phone number

  • [extension_number]

string

Extension number

  • [ip_phone]

struct

IP phone

  • [country_code]

string

Country code

  • [area_code]

string

Area code

  • phone_number

string

Phone number

  • [extension_number]

string

Extension

  • [org_title]

string

Title

  • [department]

string

Department

  • [company]

string

Company

Note: This method can also be called under Reseller permissions.