calendar.event.get
Returns calendar event list.
Parameters
Parameter | Description |
---|---|
type* | Calendar type:
|
ownerId | Calendar owner ID. |
from | Selection start date.
By default - one month prior to current date. |
to | Selection end date.
By default - three months after the current date. |
section | Section array. |
* - required parameters |
Example
BX24.callMethod("calendar.event.get", { type: 'user', ownerId: '1', from: '2013-06-20', to: '2013-08-20', section: [21, 44] });
Get a company calendar event:
'type'=> 'company_calendar', 'ownerId' => '' // ownerid is not indicated when selecting company calendar events. It is empty for all events of this type.
When you need to select an event by ID:
'type'=> BX24.callMethod("calendar.event.getbyid", { id: 56056 });
© «Bitrix24», 2001-2024