1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-08 23:56:33 +02:00
OpenIntegrations/docs/en/md/Bitrix24/Calendars-management/Get-calednar-custom-settings-structure.mdx

83 lines
2.1 KiB
Plaintext
Raw Normal View History

2025-01-19 15:35:14 +03:00
---
2025-01-26 13:33:10 +03:00
sidebar_position: 9
2025-01-19 15:35:14 +03:00
---
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
<br/>
```bsl title="1C:Enterprise/OneScript code example"
Result = OPI_Bitrix24.GetCalednarCustomSettingsStructure();
```
2025-02-10 12:36:30 +03:00
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
oint bitrix24 GetCalednarCustomSettingsStructure \
--empty true
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint bitrix24 GetCalednarCustomSettingsStructure ^
--empty true
```
</TabItem>
</Tabs>
2025-01-19 15:35:14 +03:00
2025-02-09 18:15:36 +03:00
```json title="Result"
{
"view": "<standard presentation: day, week, month, list>",
"meetSection": "<invitation calendar>",
"crmSection": "<calendar for CRM>",
"showDeclined": "<show rejected events>",
"denyBusyInvitation": "<disallow invitations to an event if the time is full>",
"collapseOffHours": "<hide off hours: Y,N>",
"showWeekNumbers": "<show week number: Y,N>",
"showTasks": "<display tasks: Y,N>",
"syncTasks": "<synchronise the task calendar: Y,N>",
"showCompletedTasks": "<display completed tasks: Y,N>",
"lastUsedSection": "<default event calendar>",
"sendFromEmail": "<E-mail for sending invitations>",
"defaultSections": "<preset calendar settings>",
"syncPeriodPast": "<number of months to synchronise in the past period>",
"syncPeriodFuture": "<number of months to synchronise in the future period>",
"defaultReminders": {
"fullDay": [
{
"type": "<reminder time type: min, hour, day>",
"count": "<numeric value of the time interval>"
}
],
"withTime": [
{
"type": "<reminder time type: min, hour, day>",
"count": "<numeric value of the time interval>"
}
]
}
}
```