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

"country2" MDO List

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

Same as CountryProvider, but with icon hints based on the countrys name.

Implemented by the Country2Provider class. The name of the MDO list is 'country2'.

Sample Request

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

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("country2", 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
4 Afghanistan
248 Åland
8 Albania
12 Algeria
16 American Samoa
20 Andorra
24 Angola
660 Anguilla
10 Antarctica
28 Antigua and Barbuda
32 Argentina
51 Armenia
533 Aruba
36 Australia
40 Austria
31 Azerbaijan
44 Bahamas
48 Bahrain
50 Bangladesh
52 Barbados
112 Belarus

Related MDO Lists

  • "country2headings"
  • "country2headingswithallitem"
  • "country2headingswithallitemwithnoselection"
  • "country2headingswithnoselection"
  • "country2withallitem"
  • "country2withallitemwithnoselection"
  • "country2withnoselection"
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top