"contactrelationdefinition" MDO List
Some tooltip text!
• 1 minute to read
• 1 minute to read
MDO list provider for contact/person relation definitions. This provider is a takes a mandatory additionalInfo parameter, that specifies what kind of relation should be fetched.
AdditionalInfo can be one of 'CC', 'CP', 'PC', 'PP', specifying contact or person on the source and destination sides
of the relation. A join is made to the relationTarget table to pick out the correct relation definitions to show.
The
The extraInfo field in the items contains the passive (reverse) text, useful for display.
Implemented by the
Additional Attributes
Description | Name | Example Value |
---|---|---|
RelationType enum value. CC=Contact-Contact relations | CC |
Sample Request
GET /api/v1/MDOList/contactrelationdefinition
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("contactrelationdefinition", 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 | eier | eies av | |
7 | kjenner | kjenner |
Related MDO Lists
- "contactrelationdefinitionheadings"
- "contactrelationdefinitionheadingswithallitem"
- "contactrelationdefinitionheadingswithallitemwithnoselection"
- "contactrelationdefinitionheadingswithnoselection"
- "contactrelationdefinitionwithallitem"
- "contactrelationdefinitionwithallitemwithnoselection"
- "contactrelationdefinitionwithnoselection"