Skip to main content

Get calendar structure

Returns the structure of the calendar description fields

Function GetCalendarStructure(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.GetCalendarStructure();
    oint bitrix24 GetCalendarStructure \
--empty true
Result
{
"type": "<calendar type: user, group)>",
"ownerId": "<owner identifier>",
"name": "<calendars name>",
"description": "<calendar description>",
"color": "<calendar color>",
"text_color": "<calendar text color>",
"export": {
"ALLOW": "<calendar export permission (bool)>",
"SET": "<export period: all, 3_9 (example: 3 months before and 9 after)>"
}
}