API

Mendapatkan pengaturan integrasi dengan sistem otomasi

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

Otorisasi

api-token + language + role

Parameter permintaan

branch_idinteger

Contoh: 8922

Tanggapan

OK

object
statusstringwajib

Nilai:successerror

Contoh: success

dataobject
filtersobjectwajib
branch_idobject (FilterSelectInteger)
valueinteger

Contoh: 8920

typestringwajib

Contoh: select

optionarray of object
valueintegerwajib

Contoh: 8920

namestringwajib

Contoh: Green Basket | Kaliningrad

modestring (FilterMode)

Bagaimana antarmuka memproses filter; filter biasa tidak memiliki mode. force_shown — selalu ditampilkan, tidak bisa disembunyikan. value_required — titik masuk ke bagian: selalu ditampilkan, tidak memiliki nilai kosong (selama nilai belum dipilih, daftar kosong; tidak ada opsi "semua"), reset umum tidak menghapusnya.

Nilai:force_shownvalue_required

Contoh: value_required

settingsobject
chain_idintegerwajib

Contoh: 1

automation_idintegerwajib

Contoh: 1

automation_enabledbooleanwajib

Contoh: true

automation_error_notifications_enabledbooleanwajib

Contoh: true

price_smsstringwajib

Contoh: 3.5

tokenstringwajib

Contoh: f20138c54eaaad6c00ac77d27b2f4cb4

project_name_shortstringwajib

Contoh: FS

phone_clean_enabledbooleanwajib

Contoh: true

phone_plus_delete_enabledbooleanwajib

Contoh: true

phone_space_delete_enabledbooleanwajib

Contoh: true

qr_bar_code_enabledbooleanwajib

Contoh: true

callback_api_enabledbooleanwajib

Contoh: true

import_once_catalog_enabledbooleanwajib

Contoh: true

import_once_description_enabledbooleanwajib

Contoh: true

import_once_image_enabledbooleanwajib

Contoh: true

import_once_labels_enabledbooleanwajib

Contoh: true

districts_settingsarray of object
idintegerwajib

Untuk pengaturan default, id sama dengan 0

Contoh: 0

terminalstring

Kunci field formulir district_data_${district_id}_terminal

Contoh: terminal1

deliverystring

Kunci bidang formulir district_data_${district_id}_delivery

Contoh: delivery1

pickups_settingsarray of object
idintegerwajib

Untuk pengaturan default, id sama dengan 0

Contoh: 0

terminalstring

Kunci bidang formulir pickup_data_${pickup_id}_terminal

Contoh: terminal1

listarray of object
idintegerwajib

Contoh: 1

namestringwajib

Contoh: FrontPad

fieldsarray of object
encryptedbooleanwajib

Field terenkripsi; gunakan field tipe "kata sandi" untuk input

Contoh: true

namestringwajib

Contoh: api_key

valueoneOf
Salah satu pilihan
string

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

Contoh: secret

typestring

Nilai:switchradiocheckboxselectfile

Contoh: switch

valuesarray of string
districtsbooleanwajib

Contoh: true

pickupsbooleanwajib

Contoh: true

sitestring

Contoh: https://frontpad.ru/

wikistring

Contoh: https://wiki.foodsoul.pro/i/40

import_modestringwajib

Nilai:nomanualautomatic

Contoh: no

webhook_link_enabledbooleanwajib

Contoh: true

webhook_setup_enabledbooleanwajib

Contoh: true

system_namestring

Contoh: front_pad

webhookstring

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