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

"quotedocuments" MDO List

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

MDO provider for the list of current / candidate "main document" for a given quote

We need those document rows that point to documents connected to the same sale as the quote record, with document template of type , and we'd like the id, header & long text please.

Pass in QuoteId=<id> to identify the quote you want documents for, in AdditionalInfo.

Implemented by the QuoteDocuments class. The name of the MDO list is 'quotedocuments'.

Additional Attributes

Description Name Example Value
Quote to get documents for. QuoteId 123

Sample Request

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

Sample Code

var listProvider = ClassFactory.CreateRequired<SuperOffice.CRM.Lists.ISoListProviderFactory>().Create("quotedocuments", 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
2 Example

Related MDO Lists

  • "quotedocumentsheadings"
  • "quotedocumentsheadingswithallitem"
  • "quotedocumentsheadingswithallitemwithnoselection"
  • "quotedocumentsheadingswithnoselection"
  • "quotedocumentswithallitem"
  • "quotedocumentswithallitemwithnoselection"
  • "quotedocumentswithnoselection"
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top