"emailfolder" MDO List
Some tooltip text!
• 1 minute to read
• 1 minute to read
EmailFolderProvider gives you the folder hierarchy of a given mail account
Implemented by the
Additional Attributes
Description | Name | Example Value |
---|---|---|
Id of the account for which you want the folders | accountId | 0 |
Use hierarchy | hierarchy | true |
Separator: &
Sample Request
GET /api/v1/MDOList/emailfolder
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("emailfolder", forceFlatList: true);
foreach (var item in listProvider.RootItems) {
Console.WriteLine("{0} {1} {2} {3}",
item.Id, ResourceManager.ParseInlineResources(item.Name), item.StyleHint, item.ExtraInfo);
}
Sample Output
Id | Name | StyleHint | ExtraInfo |
---|---|---|---|
2 | Example |
Related MDO Lists
- "emailfolderheadings"
- "emailfolderheadingswithallitem"
- "emailfolderheadingswithallitemwithnoselection"
- "emailfolderheadingswithnoselection"
- "emailfolderwithallitem"
- "emailfolderwithallitemwithnoselection"
- "emailfolderwithnoselection"