dms.AddPortfolio
This job creates a new folder. Via the 'objtype' attribute, the object type can also be specified to which this folder should be restricted.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Currently not supported → pass 0 |
|
BASE64 |
Yes |
Description of the folder in XML format |
|
INT |
Yes |
0 (Default)=Searches for existing folders based on recipient or subject. If one or more folders exist, these are used or the first folder. 1=Creates a new folder. |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
INT |
— |
ID of the new folder (-1 = Job failed) |
3. Return Value
(INT): 0 = Job successful, otherwise error code
Complete error list
Building PortfolioXML (Description: see Portfolio XML Format)
<Portfolios>
<Portfolio>
</Portfolio>
</Portfolios>