The CreateDocumentFolder method creates a new folder in which to store documents and files (this is separate to the image manager).
The full document folder tree can be obtained using GetDocumentFolders and documents can be uploaded
using UploadDocument. Note that multiple folders with the same name can be created, and that on creation
document folder names will be stripped of non-standard characters.
Parameters
| username |
string |
This is the username from your API key. It is in the format of an email address and will look similar to apiuser‑908709770324@apiconnector.com |
required |
| password |
string |
This is the password from your API key. |
required |
| parentFolderId |
integer |
This is the identifier of the parent folder in which this new folder should be created. The root
folder has the ID of 0 (zero). |
required |
| name |
string |
The name for your new document folder. |
required |
Return values
This will return the newly updated document folder tree.
| id |
integer |
The identifier for the root document folder. |
| name |
string |
The name for the root document folder. |
| childFolders |
|
An array of APIDocumentFolder objects, each consisting of id, name and childFolders. If a folder has no children it will return <ChildFolders xsi:nil="true" />. |