/account/{account-id}/contacts
The contacts attached to a account.
POST account/{account-id}/contacts HTTP/1.1
Host: localhost:3000
publish_repertory
permission is required.Name | Description | Type |
---|---|---|
|
The first name of the contact. |
|
|
The last name of the contact. |
|
|
The type of the contact. |
|
|
The job of the contact. |
|
|
The ID of the |
|
|
The website url of the contact. |
|
|
The mail addresses of the contact. |
|
|
The type attached to the mail address. |
|
|
The mail address. |
|
|
If the address is the main mail. |
|
|
The phone numbers of the contact. |
|
|
The type attached to the phone number. |
|
|
The phone number. |
|
|
If the number is the main phone. |
|
|
The postal addresses of the contact. |
|
|
The type attached to the postal address. |
|
|
The address lane number. |
|
|
The address lane name. |
|
|
The address complement. |
|
|
The address zip. |
|
|
The address city. |
|
|
The address region. |
|
|
The address country. |
|
|
If the address is the main address. |
|
|
Notes about the contact. |
|
|
Custom fields attached to the contact. |
|
|
An array of |
|
|
The privacy of the contact. |
|
|
The value of the privacy. |
|
|
The privacy permission. |
|
|
||
|
If successful :
{
"success" : true,
"_id" : "..."
}
Otherwise a relevant error message will be returned.
You can update a contact by using the /contact/{contact-id}
edge.
You can delete a contact by using the /contact/{contact-id}
edge.