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

"targetyear" MDO List

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

Year MDO list. Includes the two coming years, this year, and previous 5 years

Implemented by the TargetYearProvider class. The name of the MDO list is 'targetyear'.

Sample Request

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

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("targetyear", 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
2027 2027
2026 2026
2025 2025
2024 2024
2023 2023
2022 2022
2021 2021
2020 2020

Related MDO Lists

  • "targetyearheadings"
  • "targetyearheadingswithallitem"
  • "targetyearheadingswithallitemwithnoselection"
  • "targetyearheadingswithnoselection"
  • "targetyearwithallitem"
  • "targetyearwithallitemwithnoselection"
  • "targetyearwithnoselection"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top