GET api/2.0/crm/contact/{contactid}/access
Returns access rights of the contact with the ID specified in the request.
Name |
Description |
Type |
Example |
contactid
sent in body
|
Contact ID
|
number
|
1234
|
GET api/2.0/crm/contact/{contactid}/access
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"contactid": 1234
}
application/json
{
"status": 0,
"response": [
{
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
}
]
}
text/xml
<result>
<status>0</status>
<response>
<Id>00000000-0000-0000-0000-000000000000</Id>
<DisplayName>Mike Zanyatski</DisplayName>
<Title>Manager</Title>
<AvatarSmall>url to small avatar</AvatarSmall>
<ProfileUrl>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl>
</response>
</result>