---
sidebar_position: 9
description: "Get calednar custom settings structure" and other functions to work with Bitrix24 in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Bitrix24]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get calednar custom settings structure
Gets an empty structure for setting custom calendar settings
`Function GetCalednarCustomSettingsStructure(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
```bsl title="1C:Enterprise/OneScript code example"
Result = OPI_Bitrix24.GetCalednarCustomSettingsStructure();
```
```bash
oint bitrix24 GetCalednarCustomSettingsStructure \
--empty true
```
```batch
oint bitrix24 GetCalednarCustomSettingsStructure ^
--empty true
```
```json title="Result"
{
"view": "",
"meetSection": "",
"crmSection": "",
"showDeclined": "",
"denyBusyInvitation": "",
"collapseOffHours": "",
"showWeekNumbers": "",
"showTasks": "",
"syncTasks": "",
"showCompletedTasks": "",
"lastUsedSection": "",
"sendFromEmail": "",
"defaultSections": "",
"syncPeriodPast": "",
"syncPeriodFuture": "",
"defaultReminders": {
"fullDay": [
{
"type": "",
"count": ""
}
],
"withTime": [
{
"type": "",
"count": ""
}
]
}
}
```