POST api/2.0/crm/{entityType}/{entityid}/tag
Adds the selected tag to the entity with the type and ID specified in the request.
Name |
Description |
Type |
Example |
entityType
sent in url
|
Entity type
Allowed values: contact, opportunity, case
|
string
|
some text
|
entityid
sent in url
|
Entity ID
|
number
|
1234
|
tagName
sent in body
|
Tag name
|
string
|
some text
|
POST api/2.0/crm/%22some+text%22/1234/tag
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"tagName": "some text"
}