PUT api/2.0/mail/conversations/crm/mark
Marks a conversation as CRM linked. All the new mails will be added to the CRM history.
Name |
Description |
Type |
Example |
id_message
sent in body
|
ID of any messages from the conversation
|
number
|
1234
|
crm_contact_ids
sent in body
|
List of CRM entities in the following format: {entity_id: 0, entity_type: 0}.
Entity types: 1 - Contact, 2 - Case, 3 - Opportunity
|
collection
|
|
PUT api/2.0/mail/conversations/crm/mark
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"id_message": 1234,
"crm_contact_ids": [
{
"entity_id": 0,
"entity_type": 1
}
]
}
This method doesn't return any data.