Documentation

calendar.section.update

Updates calendar. Hereinafter section will be referred to as Calendar.

Parameters

Parameter Description
type* Calendar type:
  • user;
  • group.
ownerId* Calendar owner ID.
id* Calendar ID.
name Calendar name.
description Calendar description.
color Calendar color.
text_color Calendar text color.
export List of parameters:
  • ALLOW - allow calendar export;
  • SET - set export period.
access Array of calendar access data.
* - required parameters

Returned values

Returns modified calendar IDs.

Example

BX24.callMethod("calendar.section.update",
   {
     id: 325,
     type: 'user',
     ownerId: '2',
     name: 'Changed Section Name',
     description: 'New description for section',
     color: '#9cbeAA',
     text_color: '#283099',
     export: [{ALLOW: false}]
     access: {
      'D114': 17,
      'G2': 13,
      'U2':15
     }
   });


© «Bitrix24», 2001-2024