When I execute the following lines, it puts the file in @MyDocs' root, as opposed to the subfolder that has the security permissions to read-only for everyone.
Am I doing something wrong, or is the API not allowing me to do this?
Thanks!
- Code: Select all
$file['id_attachment'] = $attach->fileId;
$file['id_folder'] = '10';
$fileId = Unirest\Request::put($api_url.'mail/messages/attachment/export', $headers, $file)->body->response;
In other related news: Does anyone know where I can find documentation for FileShareParamss?
Thanks again!