1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Yandex_Metrika/Counters-management/Get-counter-structure.mdx
T
Vitaly the Alpaca (bot) c2daedf58d Main build (Jenkins)
2024-11-10 00:21:33 +03:00

38 lines
782 B
Plaintext

---
sidebar_position: 1
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get counter structure
Gets the structure of standard fields for counter creation
`Function GetCounterStructure(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 - Counter field structure
<br/>
:::tip
Description in the API documentation: [Creating a counter](https://yandex.ru/dev/metrika/en/management/openapi/counter/addCounter)
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
Result = OPI_YandexMetrika.GetCounterStructure();
```