2025-01-18 20:04:47 +03:00
|
|
|
---
|
2025-01-26 13:33:10 +03:00
|
|
|
sidebar_position: 8
|
2025-01-18 20:04:47 +03:00
|
|
|
---
|
|
|
|
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
|
|
|
|
# Get calendar settings structure
|
|
|
|
Gets the structure of the default calendar settings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`Function GetCalendarSettingsStructure(Val URL, Val Token = "") Export`
|
|
|
|
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|
|
|-|-|-|-|-|
|
|
|
|
| URL | --url | String | ✔ | URL of webhook or a Bitrix24 domain, when token used |
|
|
|
|
| Token | --token | String | ✖ | Access token, when app auth method used |
|
|
|
|
|
|
|
|
|
|
|
|
Returns: Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
:::tip
|
|
|
|
Method at API documentation: [calendar.settings.get](https://apidocs.bitrix24.ru/api-reference/calendar/calendar-settings-get.html)
|
|
|
|
:::
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
|
|
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
|
|
|
|
|
|
|
Result = OPI_Bitrix24.GetCalendarSettingsStructure(URL);
|
|
|
|
|
|
|
|
URL = "b24-ar17wx.bitrix24.by";
|
2025-01-27 21:50:57 +03:00
|
|
|
Token = "b4c59767006e9f06006b12e400000001000...";
|
2025-01-18 20:04:47 +03:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.GetCalendarSettingsStructure(URL, Token);
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|