Description Usage Arguments Value
This function creates an UserCalendarPreference
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29  | createUserCalendarPreference(
  ApprovedTimeOffEventBackgroundColor = NULL,
  BirthdayEventBackgroundColor = NULL,
  CalendarCommentsBackgroundColor = NULL,
  CalendarEventBackgroundColor = NULL,
  CalendarType = NULL,
  DistrictActivityEventBackgroundColor = NULL,
  PayDayEventBackgroundColor = NULL,
  SelectedView = NULL,
  ShowAllMyEmployeesTimeOff = NULL,
  ShowAllocatedTimeOff = NULL,
  ShowBirthdays = NULL,
  ShowCalendarComments = NULL,
  ShowCalendarEvents = NULL,
  ShowDistrictActivityEvents = NULL,
  ShowMyDirectEmployeesTimeOff = NULL,
  ShowMyTimeOff = NULL,
  ShowTransactionsIHadASubFor = NULL,
  ShowTransactionsISubbedFor = NULL,
  ShowWeekends = NULL,
  TransactionsIHadASubForEventBackgroundColor = NULL,
  TransactionsISubbedForEventBackgroundColor = NULL,
  UnapprovedTimeOffEventBackgroundColor = NULL,
  UserIDOwner = NULL,
  entityId = 1,
  query = NULL,
  flatten = T,
  returnResponse = F
)
 | 
entityId | 
 The id of the entity (school). Run   | 
query | 
 Queries to be added to the request. Ex. list(SchoolYearID = 1). Defaults to NULL.  | 
flatten | 
 Whether to flatten result into a dataframe or return the json object. Default is TRUE (flatten to dataframe).  | 
returnResponse | 
 Whether to return the server response instead of the results. Useful for debugging. Default is FALSE.  | 
fieldNames | 
 The field values to give the created UserCalendarPreference. Each defaults to NULL.  | 
A newly created UserCalendarPreference Skyward's Knowledge Hub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.