POST api/2.0/mail/contact/add
Creates a mail contact with the parameters specified in the request.
Name |
Description |
Type |
Example |
name
sent in body
|
Contact name
|
string
|
some text
|
description
sent in body
|
Contact description
|
string
|
some text
|
emails
sent in body
|
List of emails
|
System.Collections.Generic.List`1[System.String]
|
|
phoneNumbers
sent in body
|
List of phone numbers
|
System.Collections.Generic.List`1[System.String]
|
|
POST api/2.0/mail/contact/add
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"name": "some text",
"description": "some text",
"emails": [
"some text"
],
"phoneNumbers": [
"some text"
]
}
Information about created contact