The CreateImageFolder method creates a new folder in which to store images.
The full image folder tree can be obtained using GetImageFodlers and images can be uploaded using UploadImage. Note that multiple folders with the same name can be created, and that on creation image 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 |
| name |
string |
The name for your new image folder. |
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 |
Return values
This will return the newly updated image folder tree.
| id |
integer |
The identifier for the root image folder. |
| name |
string |
The name for the root image folder. |
| childFolders |
|
An array of APIImageFolder objects, each consisting of id, name and childFolders. If a folder has no children it will return <ChildFolders xsi:nil="true" />. |