Get calendar events filter structure
Gets the filter structure for the function GetCalendarEvents
Function GetCalendarEventsFilterStructure(Val Clear = False) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
Returns: Structure Of KeyAndValue - Fields structure
1C:Enterprise/OneScript code example
Result = OPI_Bitrix24.GetCalendarEventsFilterStructure();
- Bash
- CMD/Bat
oint bitrix24 GetCalendarEventsFilterStructure \
--empty true
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>"
}