• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

"mailtemplate" MDO List

Some tooltip text!
• 1 minute to read
 • 1 minute to read

List provider for the Mailtemplates.

Implemented by the MailTemplateProvider class. The name of the MDO list is 'mailtemplate'.

Sample Request

GET /api/v1/MDOList/mailtemplate
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("mailtemplate", 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
-1 mail.htm
6 E-post
7 E-post SV:
8 E-post VS:
9 Send dok.pr E-post
10 Send dok.pr Faks
17 Quote e-mail
19 Order confirmation e-mail
20 Confirmation - Contact added

Related MDO Lists

  • "mailtemplateheadings"
  • "mailtemplateheadingswithallitem"
  • "mailtemplateheadingswithallitemwithnoselection"
  • "mailtemplateheadingswithnoselection"
  • "mailtemplatewithallitem"
  • "mailtemplatewithallitemwithnoselection"
  • "mailtemplatewithnoselection"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top