"projecttypeflatlist" MDO List
•
Environment: onsite, online
Some tooltip text!
• 1 minute to read
• 1 minute to read
Project type list. Encodes Default project duration in extra info.
Implemented by the
Sample Request
GET /api/v1/MDOList/projecttypeflatlist
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("projecttypeflatlist", 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 |
---|---|---|---|
3 | Annet | duration=0&unit=0 | |
1 | DM/Kampanje | duration=0&unit=0 | |
4 | Guided project | duration=3&unit=6 | |
2 | Internt | duration=0&unit=0 |
Related MDO Lists
- "projecttypeflatlistheadings"
- "projecttypeflatlistheadingswithallitem"
- "projecttypeflatlistheadingswithallitemwithnoselection"
- "projecttypeflatlistheadingswithnoselection"
- "projecttypeflatlistwithallitem"
- "projecttypeflatlistwithallitemwithnoselection"
- "projecttypeflatlistwithnoselection"