You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Result = OPI_YandexMetrika.GetCounterStructure();
|
||||
@@ -0,0 +1,37 @@
|
||||
---
|
||||
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();
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Counters management",
|
||||
"position": "3"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Результат = OPI_YandexMetrika.ПолучитьСтруктуруСчетчика();
|
||||
@@ -0,0 +1,37 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Получить структуру счетчика
|
||||
Получает структуру стандартных полей для создания счетчика
|
||||
|
||||
|
||||
|
||||
`Функция ПолучитьСтруктуруСчетчика(Знач Пустая = Ложь) Экспорт`
|
||||
|
||||
| Параметр | CLI опция | Тип | Обяз. | Назначение |
|
||||
|-|-|-|-|-|
|
||||
| Пустая | --empty | Булево | ✖ | Истина > структура с пустыми значениями, Ложь > в значениях будут описания полей |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение - Структура полей счетчика
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Описание в документации API: [Создание счетчика](https://yandex.ru/dev/metrika/ru/management/openapi/counter/addCounter)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Результат = OPI_YandexMetrika.ПолучитьСтруктуруСчетчика();
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Управление счетчиками",
|
||||
"position": "3"
|
||||
}
|
||||
Reference in New Issue
Block a user