"documenttypes" MDO List
Some tooltip text!
• 1 minute to read
• 1 minute to read
List of document types for the given plugin. ExtraInfo = document plugin-id.
Implemented by the
Additional Attributes
Description | Name | Example Value |
---|---|---|
Document plugin id to get types from | 0 |
Sample Request
GET /api/v1/MDOList/documenttypes
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("documenttypes", 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
- "documenttypesheadings"
- "documenttypesheadingswithallitem"
- "documenttypesheadingswithallitemwithnoselection"
- "documenttypesheadingswithnoselection"
- "documenttypeswithallitem"
- "documenttypeswithallitemwithnoselection"
- "documenttypeswithnoselection"