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

"ticket" MDO List

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

Provider for selecting a ticket. Supported additionalInfo: nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.

Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.

Implemented by the TicketListProvider class. The name of the MDO list is 'ticket'.

Additional Attributes

Description Name Example Value
Indicates how to format item name nameformat includePersonAndCompany

Sample Request

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

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("ticket", 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 SoapUI was here (Frode Freestad: statezerodatabase)
2 ATD Process Improvement - invitasjon til å redigere (Arne Arnesen: Amadeus AS, AAvdeling)
3 Timeplan møter RnD 2016 - invitasjon til å redigere (Arne Arnesen: Amadeus AS, AAvdeling)
4 Hei (Arnt Arntsen: Amadeus AS, AAvdeling)
5 Hei (Arnt Arntsen: Amadeus AS, AAvdeling)
6 Mailing coming up (Arnt Arntsen: Amadeus AS, AAvdeling)
7 Stian Andre, a few Google+ posts you may like (Arnhild Arvestad: Arne'S Kebab, AAvdeling)
8 Email from my Outlook (Arnt Arntsen: Amadeus AS, AAvdeling)
9 The second email (Arnt Arntsen: Amadeus AS, AAvdeling)
10 Stian Andre, a few Google+ posts you may like (Arnhild Arvestad: Arne'S Kebab, AAvdeling)
13 Test FAQ relation ()

Related MDO Lists

  • "ticketheadings"
  • "ticketheadingswithallitem"
  • "ticketheadingswithallitemwithnoselection"
  • "ticketheadingswithnoselection"
  • "ticketwithallitem"
  • "ticketwithallitemwithnoselection"
  • "ticketwithnoselection"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top