TRY NEW VERSION

PUT api/2.0/mail/messages/attachment/downloadall/{messageId} This function requires authentication

Description

Downloads all the attachments from the message with the ID specified in the request.

Parameters
Name Description Type Example
messageId
sent in url
Message ID number 1234
Example
PUT api/2.0/mail/messages/attachment/downloadall/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Attachment archive

Example Response

application/json

{
  "status": 0,
  "response": {
    "Completed": true,
    "Id": "Id",
    "Status": "Status",
    "Error": "Error",
    "Percents": 100,
    "Source": "Source",
    "OperationType": 1,
    "Operation": "Operation"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Completed>True</Completed>
    <Id>Id</Id>
    <Status>Status</Status>
    <Error>Error</Error>
    <Percents>100</Percents>
    <Source>Source</Source>
    <OperationType>1</OperationType>
    <Operation>Operation</Operation>
  </response>
</result>