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

"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: alltrue|false. If true is specified, inactive items is also returned.QuoteConnectionIdGets items for a specific Quote connection. If not specified, only SuperOffice pricelists (where IsErpCopy=false) will be returned.AdditionalInfo string: "all=true&QuoteConnectionId=2"

Implemented by the PriceListProvider class. The name of the MDO list is 'pricelist'.

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"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top