PUT api/2.0/crm/contact/mailtohistory/settings
Updates the setting for writing mails to the history with the parameter specified in the request.
Name |
Description |
Type |
Example |
writeMailToHistoryAuto
sent in body
|
Defines if the mails are written to the history automatically or not
true or false
|
Bool value
|
true
|
PUT api/2.0/crm/contact/mailtohistory/settings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"writeMailToHistoryAuto": true
}
Updated setting for writing mails to the history (true or false)