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

"periods" MDO List

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

Period values: Day, Week, Month, Quarter, Year

Implemented by the PeriodsProvider class. The name of the MDO list is 'periods'.

Sample Request

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

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.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"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top