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

"addressformat" MDO List

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

MDO list provider for AddressFormats Id returned is the layout_id, not the addressformat_id.

Implemented by the AddressFormatListProvider class. The name of the MDO list is 'addressformat'.

Sample Request

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

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("addressformat", 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
13 Australian 13
5 Canadian 5
10 Caribbean 10
15 Denmark 15
1 European 1
9 European no postprefix 9
4 German 4
11 German small 11
12 German with title 12
6 Japanese 6
14 Netherlands 14
7 Other 7
8 Spain 8
3 United Kingdom 3
2 United States 2
16 United States street and postal 16

Related MDO Lists

  • "addressformatheadings"
  • "addressformatheadingswithallitem"
  • "addressformatheadingswithallitemwithnoselection"
  • "addressformatheadingswithnoselection"
  • "addressformatwithallitem"
  • "addressformatwithallitemwithnoselection"
  • "addressformatwithnoselection"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top