POST api/2.0/files/file/{fileId}/sendeditornotify This function requires authentication

Description

Sends a message to the users who are mentioned in the file with the ID specified in the request.

Parameters
Name Description Type Example
fileId
sent in url
File ID number 1234
mentionMessage
sent in body
Mention message request parameters ASC.Web.Files.Services.WCFService.MentionMessageWrapper
Example
POST api/2.0/files/file/1234/sendeditornotify
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "mentionMessage": {
    "ActionLink": {},
    "Emails": [
      "some text"
    ],
    "Message": "some text"
  }
}
Returns

List of access rights information

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "User": "some text",
      "Permissions": "some text"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <User>some text</User>
    <Permissions>some text</Permissions>
  </response>
</result>