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

"ticketrelationdefinition" MDO List

•
Environment: onsite, online
Some tooltip text!
• 1 minute to read
 • 1 minute to read

MDO list provider for ticket relation definitions.

Implemented by the TicketRelationDefinitionProvider class. The name of the MDO list is 'ticketrelationdefinition'.

Sample Request

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

Sample Code

var listProvider = ClassFactory.CreateRequired<SuperOffice.CRM.Lists.ISoListProviderFactory>().Create("ticketrelationdefinition", 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 Related description=[SR_TICKETREL_RELDEF_TOOLTIP1]&relationType=0&isParentMandatory=0&isCloseParentWithChild=0&isPreventClosingParent=0&isCloseWithParent=0&isBuiltIn=1
2 Parent description=[SR_TICKETREL_RELDEF_TOOLTIP2]&relationType=1&isParentMandatory=0&isCloseParentWithChild=0&isPreventClosingParent=0&isCloseWithParent=0&isBuiltIn=1
3 Child description=[SR_TICKETREL_RELDEF_TOOLTIP3]&relationType=2&isParentMandatory=0&isCloseParentWithChild=0&isPreventClosingParent=0&isCloseWithParent=0&isBuiltIn=1

Related MDO Lists

  • "ticketrelationdefinitionheadings"
  • "ticketrelationdefinitionheadingswithallitem"
  • "ticketrelationdefinitionheadingswithallitemwithnoselection"
  • "ticketrelationdefinitionheadingswithnoselection"
  • "ticketrelationdefinitionwithallitem"
  • "ticketrelationdefinitionwithallitemwithnoselection"
  • "ticketrelationdefinitionwithnoselection"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top