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

"appointmenttype" MDO List

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

List of AppointmentType values: inDiary, inChecklist, Note, Document, SavedReport, BookingForDiary, BookingForChecklist

Implemented by the AppointmentTypeProvider class. The name of the MDO list is 'appointmenttype'.

Sample Request

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

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("appointmenttype", 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 Has start time
2 Has no start time
3 Note
4 Document
5 Saved Report
6 Booking has start time
7 Booking has no start time

Related MDO Lists

  • "appointmenttypeheadings"
  • "appointmenttypeheadingswithallitem"
  • "appointmenttypeheadingswithallitemwithnoselection"
  • "appointmenttypeheadingswithnoselection"
  • "appointmenttypewithallitem"
  • "appointmenttypewithallitemwithnoselection"
  • "appointmenttypewithnoselection"
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top