"saletypecategories" MDO List
Some tooltip text!
• 1 minute to read
• 1 minute to read
SaleTypeCategories creates a MDO list of sale type categories in the database.
Implemented by the
Additional Attributes
Description | Name | Example Value |
---|---|---|
add a blank line to list | addblankstring | 1 |
Sample Request
GET /api/v1/MDOList/saletypecategories
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("saletypecategories", 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 | General sales | ||
2 | Special Sales |
Related MDO Lists
- "saletypecategoriesheadings"
- "saletypecategoriesheadingswithallitem"
- "saletypecategoriesheadingswithallitemwithnoselection"
- "saletypecategoriesheadingswithnoselection"
- "saletypecategorieswithallitem"
- "saletypecategorieswithallitemwithnoselection"
- "saletypecategorieswithnoselection"