pem.exchange.modifyContact

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

This method modifies settings of the specified contact.

The method has the following input parameters:

Name

Type

Short Description

mail_contact_id

int

Identifier of the contact that you want to modify.

[display_name]

string

New Display Name for the contact.

[target_email_address]

string

New target e-mail address for the 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

The method has not any output parameters.

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