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

"saleguidestage" MDO List

Some tooltip text!
• 2 minutes to read
 • 2 minutes to read

MDO provider for the stage list, customized for the sale guide stage button row

AdditionalInfo is a name/value string, and can be either sale_id=<id> or saletype_id=<id>. If sale_id is given, then you get back all the stages valid for this sale, with stylehint currentStage for the current one; if saletype_id is given, you get back all stages valid for this sale type, but (obviously) with no current indication.
If no additionalInfo is given, all stages are returned. The 'special' stages Open, Lost and Sold are not included in this provider; use the SaleStage provider for those.

Implemented by the SaleGuideStage class. The name of the MDO list is 'saleguidestage'.

Additional Attributes

Description Name Example Value
Sale to get stages for sale_id 1234
Sale Type to get stages for saletype_id 234
Sale Stage id prob_id 234

Separator: &

Sample Request

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

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("saleguidestage", 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 Første møte
1 Sendt tilbud
5 Andre møte
2 Sluttforhandlinger
3 Muntlig aksept

Related MDO Lists

  • "saleguidestageheadings"
  • "saleguidestageheadingswithallitem"
  • "saleguidestageheadingswithallitemwithnoselection"
  • "saleguidestageheadingswithnoselection"
  • "saleguidestagewithallitem"
  • "saleguidestagewithallitemwithnoselection"
  • "saleguidestagewithnoselection"
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top