DELETE api/2.0/crm/contact/{contactid}/project/{projectid}
Removes a link to the selected project from the contact with the ID specified in the request.
Name |
Description |
Type |
Example |
contactid
sent in url
|
Contact ID
|
number
|
1234
|
projectid
sent in url
|
Project ID
|
number
|
1234
|
DELETE api/2.0/crm/contact/1234/project/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": {
"smallFotoUrl": "url to foto",
"displayName": "Tadjeddine Bachir",
"isCompany": false,
"isPrivate": true,
"isShared": false,
"shareType": 0,
"currency": null,
"canEdit": false,
"canDelete": false,
"id": 0
}
}
text/xml
<result>
<status>0</status>
<response>
<smallFotoUrl>url to foto</smallFotoUrl>
<displayName>Tadjeddine Bachir</displayName>
<isCompany>false</isCompany>
<isPrivate>true</isPrivate>
<isShared>false</isShared>
<shareType>0</shareType>
<currency />
<canEdit>false</canEdit>
<canDelete>false</canDelete>
<id>0</id>
</response>
</result>