"periods" MDO List
•
Environment: onsite, online
    
    Some tooltip text!
  
 • 1 minute  to read
     • 1 minute  to read
Period values: Day, Week, Month, Quarter, Year
Implemented by the 
Sample Request
GET /api/v1/MDOList/periods
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = ClassFactory.CreateRequired<SuperOffice.CRM.Lists.ISoListProviderFactory>().Create("periods", 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 | Day(s) | ||
| 2 | Week(s) | ||
| 3 | Month(s) | ||
| 4 | Quarter(s) | ||
| 5 | Half year(s) | ||
| 6 | Year(s) | 
Related MDO Lists
- "periodsheadings"
 - "periodsheadingswithallitem"
 - "periodsheadingswithallitemwithnoselection"
 - "periodsheadingswithnoselection"
 - "periodswithallitem"
 - "periodswithallitemwithnoselection"
 - "periodswithnoselection"