This method permits to upload a file to the document library of a company.
URL
(POST) companies/{companyid}/file
PARAMETERS
|
HTTP BODY |
The contents of the file (byte array) to upload. |
Required |
|
token |
The connection token |
Required |
|
companyid |
The companyid |
Required |
|
name |
The path/name of the file. For example "myfile.doc" or "folder\myfile.doc". |
Required |
|
overwrite |
If set to true, an existing file will be overwritten. By default the value is set false and an error is returned if the file already exists. |
Optional |
RESULTS
None