pem.exchange.addContact
This method is supported by Operations starting from version 2.8 hotfix02
This method creates a Contact.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
ID of a Subscription |
|
string |
Alias of the Contact |
|
string |
Display Name of the Contact |
|
string |
E-mail Address of the Contact |
|
boolean |
It defines whether to show the Contact in the Address Book of the organization. There are the following options:
This parameter is optional. If the parameter is not specified, the 1 value is used. |
|
struct |
Contact information |
|
string |
First name |
|
string |
Last name |
|
string |
Description |
|
string |
Office |
|
struct |
Telephone |
|
string |
Country code |
|
string |
Area code |
|
string |
Phone number |
|
string |
Extension |
|
string |
Web page |
|
string |
Street |
|
string |
City |
|
string |
State/Province |
|
string |
Zip/Postal code |
|
string |
Country/region |
|
struct |
Home phone |
|
string |
Country code |
|
string |
Area code |
|
string |
Phone number |
|
string |
Extension |
|
struct |
Pager |
|
string |
Country code |
|
string |
Area code |
|
string |
Phone number |
|
string |
Extension |
|
struct |
Mobile phone |
|
string |
Country code |
|
string |
Area code |
|
string |
Phone number |
|
string |
Extension |
|
struct |
Fax |
|
string |
Country code |
|
string |
Area code |
|
string |
Phone number |
|
string |
Extension number |
|
struct |
IP phone |
|
string |
Country code |
|
string |
Area code |
|
string |
Phone number |
|
string |
Extension |
|
string |
Title |
|
string |
Department |
|
string |
Company |
The method has the following output parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
ID of the Contact created. |
Note: This method can also be called under Reseller permissions.