You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
64 lines
1.3 KiB
Plaintext
Vendored
64 lines
1.3 KiB
Plaintext
Vendored
---
|
|
sidebar_position: 10
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
# Get calendar structure
|
|
Returns the structure of the calendar description fields
|
|
|
|
|
|
|
|
`Function GetCalendarStructure(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.GetCalendarStructure();
|
|
```
|
|
|
|
|
|
<Tabs>
|
|
|
|
<TabItem value="bash" label="Bash" default>
|
|
```bash
|
|
oint bitrix24 GetCalendarStructure \
|
|
--empty true
|
|
```
|
|
</TabItem>
|
|
|
|
<TabItem value="bat" label="CMD/Bat" default>
|
|
```batch
|
|
oint bitrix24 GetCalendarStructure ^
|
|
--empty true
|
|
```
|
|
</TabItem>
|
|
</Tabs>
|
|
|
|
|
|
```json title="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)>"
|
|
}
|
|
}
|
|
```
|