"pricelist" MDO List
Some tooltip text!
• 1 minute to read
• 1 minute to read
List of pricelists from the PriceList table.
Supported values in the AdditionalInfo:
Implemented by the
Additional Attributes
Description | Name | Example Value |
---|---|---|
Return all pricelists, not just the active ones | all | True |
Return only pricelists on the given connection | quoteconnectionid | 123 |
Separator: &
Sample Request
GET /api/v1/MDOList/pricelist
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("pricelist", 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 | 10 års priser (NOK) | NOK | |
9 | 10 års priser (NOK) | NOK | |
4 | Gammel prisliste (NOK) | NOK | |
3 | Julepriser (NOK) | NOK | |
8 | Old pricelist (USD) | USD | |
5 | Prices for 10 years (USD) | USD | |
7 | Xmas pricelist (USD) | USD |
Related MDO Lists
- "pricelistheadings"
- "pricelistheadingswithallitem"
- "pricelistheadingswithallitemwithnoselection"
- "pricelistheadingswithnoselection"
- "pricelistwithallitem"
- "pricelistwithallitemwithnoselection"
- "pricelistwithnoselection"