1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/md/Bitrix24/Comments-and-results-management/Get-comment-structure.mdx
Vitaly the Alpaca (bot) 61cb22a266 Main build (Jenkins)
2025-10-07 19:27:04 +03:00

62 lines
1.6 KiB
Plaintext
Vendored

---
sidebar_position: 9
description: Get comment 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 comment structure
Get comment fields structure
`Function GetCommentStructure(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"
Clear = False;
Result = OPI_Bitrix24.GetCommentStructure(Clear);
```
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
oint bitrix24 GetCommentStructure \
--empty false
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint bitrix24 GetCommentStructure ^
--empty false
```
</TabItem>
</Tabs>
```json title="Result"
{
"AUTHOR_ID": "<comment author identifier>",
"AUTHOR_NAME": "<Users name (optional)>",
"AUTHOR_EMAIL": "<Users email (optional)>",
"USE_SMILES": "<(Y|N) - parse comments for emoticons or not>",
"POST_MESSAGE": "<Message text>",
"UF_FORUM_MESSAGE_DOC": "<Array of files from disk to attach>"
}
```