Function /contact/get
Function invocation
https://json.aftermarket.pl/contact/get
Function description
Returns contact profile data.
Input parameters
This function takes the following input parameters:
Parameter | Type | Required | Default value | Description |
---|---|---|---|---|
contactId | integer | YES | Contact profile id (/contact/list) | |
integer | 0 | Contact profile id (deprecated, please use 'contactId' parameter) |
Return value
Contact profile data (structure with the following fields):
Field name | Type | Description |
---|---|---|
address | string | Address |
string | Additional address part (deprecated and unused) | |
city | string | City |
string | Company name (deprecated, this value is given in 'name' field) | |
contactId | integer | Contact profile id |
country | string | Country |
default | boolean | Default profile |
string | Contact profile email address | |
eu | boolean | Contact country placed in European Union |
string | Fax number (deprecated and unused) | |
string | First name (deprecated, this value is given in 'name' field) | |
hidden | boolean | Contact is set as hidden |
linkedDomains | integer | Domains count assigned to profile |
name | string | Contact name |
string | Last name (deprecated, this value is given in 'name' field) | |
memberId | integer | User id |
person | boolean | Contact represents private person |
phone | string | Phone number |
profileName | string | Profile name |
zip | string | ZIP - Postal code |