Skip to main content

Get calendar events filter structure

Gets the filter structure for the function GetCalendarEvents

Function GetCalendarEventsFilterStructure(Val Clear = False) Export

ParameterCLI optionTypeRequiredDescription
Clear--emptyBooleanTrue > structure with empty valuse, False > field descriptions at values

Returns: Structure Of KeyAndValue - Fields structure


1C:Enterprise/OneScript code example
    Result = OPI_Bitrix24.GetCalendarEventsFilterStructure();
    oint bitrix24 GetCalendarEventsFilterStructure \
--empty true
Result
{
"from": "<selection start date. 3 months before the current default>",
"to": "<selection end date. 3 months after the current default>",
"section": "<array of calendar identifiers>"
}