API

Entegrasyon otomasyon sistemi ayarlarını alın

GET/api/crm/v2/integration_automationsv2
operationId: integrationAutomations.default

Yetkilendirme

api-token + language + role

Sorgu parametreleri

branch_idinteger

Örnek: 8922

Yanıtlar

OK

object
statusstringzorunlu

Değerler:successerror

Örnek: success

dataobject
filtersobjectzorunlu
branch_idobject (FilterSelectInteger)
valueinteger

Örnek: 8920

typestringzorunlu

Örnek: select

optionarray of object
valueintegerzorunlu

Örnek: 8920

namestringzorunlu

Örnek: Green Basket | Kaliningrad

modestring (FilterMode)

Arayüzün filtreyi nasıl işlediği; standart bir filtrede mode yoktur. force_shown — her zaman gösterilir, gizlenemez. value_required — bölüme giriş noktasıdır: her zaman gösterilir, boş değeri yoktur (değer seçilene kadar liste boştur; "tümü" seçeneği yoktur), genel sıfırlama bunu temizlemez.

Değerler:force_shownvalue_required

Örnek: value_required

settingsobject
chain_idintegerzorunlu

Örnek: 1

automation_idintegerzorunlu

Örnek: 1

automation_enabledbooleanzorunlu

Örnek: true

automation_error_notifications_enabledbooleanzorunlu

Örnek: true

price_smsstringzorunlu

Örnek: 3.5

tokenstringzorunlu

Örnek: f20138c54eaaad6c00ac77d27b2f4cb4

project_name_shortstringzorunlu

Örnek: FS

phone_clean_enabledbooleanzorunlu

Örnek: true

phone_plus_delete_enabledbooleanzorunlu

Örnek: true

phone_space_delete_enabledbooleanzorunlu

Örnek: true

qr_bar_code_enabledbooleanzorunlu

Örnek: true

callback_api_enabledbooleanzorunlu

Örnek: true

import_once_catalog_enabledbooleanzorunlu

Örnek: true

import_once_description_enabledbooleanzorunlu

Örnek: true

import_once_image_enabledbooleanzorunlu

Örnek: true

import_once_labels_enabledbooleanzorunlu

Örnek: true

districts_settingsarray of object
idintegerzorunlu

Varsayılan ayarlar için id değeri 0'dır

Örnek: 0

terminalstring

Form alanı anahtarı district_data_${district_id}_terminal

Örnek: terminal1

deliverystring

Form alanı anahtarı district_data_${district_id}_delivery

Örnek: delivery1

pickups_settingsarray of object
idintegerzorunlu

Varsayılan ayarlarda id değeri 0'dır

Örnek: 0

terminalstring

Form alanı anahtarı pickup_data_${pickup_id}_terminal

Örnek: terminal1

listarray of object
idintegerzorunlu

Örnek: 1

namestringzorunlu

Örnek: FrontPad

fieldsarray of object
encryptedbooleanzorunlu

Şifrelenmiş alan; giriş için "parola" türünde bir alan kullanın

Örnek: true

namestringzorunlu

Örnek: api_key

valueoneOf
Seçeneklerden biri
string

URL, имя файла или токен — для type=radio/select/file

Örnek: secret

typestring

Değerler:switchradiocheckboxselectfile

Örnek: switch

valuesarray of string
districtsbooleanzorunlu

Örnek: true

pickupsbooleanzorunlu

Örnek: true

sitestring

Örnek: https://frontpad.ru/

wikistring

Örnek: https://wiki.foodsoul.pro/i/40

import_modestringzorunlu

Değerler:nomanualautomatic

Örnek: no

webhook_link_enabledbooleanzorunlu

Örnek: true

webhook_setup_enabledbooleanzorunlu

Örnek: true

system_namestring

Örnek: front_pad

webhookstring

Örnek: https://ru.foodsoul.test/webhook/automation/front_pad/?token=f20138c54eaaad6c00ac77d27b2f4cb4