GET api/2.0/crm/contact/{contactid}/access This function requires authentication

Description

Returns access rights of the contact with the ID specified in the request.

Parameters
Name Description Type Example
contactid
sent in url
Contact ID number 1234
Example
GET api/2.0/crm/contact/{contactid}/access
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "contactid": 1234
}
Returns

List of contacts

Example Response

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>