Download files or folders__

This method permits to download one or several files from the document library of a company. If you specify folders or multiple files, the method will zip all of these and send a zip.

URL

(GET) companies/{companyid}/file

PARAMETERS

Token

The connection token

Required

companyid

The company

Required

names

The path/name of the file or files to download.

To download multiple files, separate the file names/paths by ":". The files will be zipped and the method returns a zip file.

Required

zip

If set to "true", the downloaded file will be zipped. If omitted, the file is not zipped.

Optional

 

RESULTS

Returns stream of bytes.



Copyright Wordbee - Buzzin' Outside the Box since 2008