API

Kullanıcı verilerini al

GET/api/crm/v2/application.user_infov2
operationId: application.userInfo

Hesap verilerini döndürür.

Yetkilendirme

api-token + language + role

Yanıtlar

OK

object
statusstringzorunlu

Değerler:successerror

Örnek: success

dataobject
user_idnumberzorunlu

Örnek: 1

user_namestring

Örnek: Juan Carlos II | Pizza

namestring

Örnek: John Smith

emailstring

Kullanıcının e-posta adresi, aynı zamanda giriş bilgisi

Örnek: user@example.com

confirmedboolean

Kullanıcının e-posta adresi onaylandı mı

Örnek: true

timezonestringzorunlu

Örnek: Europe/Kaliningrad

languagestringzorunlu

Örnek: ru

photostring

Örnek: https://cdn.foodsoul.dev/users/images/5f90d2fced4d461aea09e1cd41787d9d.jpg?v1755515629

confirmation_of_actions_enabledboolean

Örnek: true

otp_enabledbooleanzorunlu

Örnek: true

ios_account_infoboolean

Örnek: true

translator_settingsobject
section_enabledboolean

Örnek: true

language_available_filesarray of string
language_not_available_filesarray of string
language_codesarray of string
language_platformsarray of string
edit_actions_enabledbooleanzorunlu

Örnek: true

compilation_action_enabledbooleanzorunlu

Örnek: true

permissionsarray of stringzorunlu

Kullanıcının tüm rol adları; erişim, en az bir rol izin veriyorsa sağlanır

metadataobjectnull olabilir

Kullanıcının CRM'deki kişisel ayarları; null — hiçbir şey kaydedilmedi

themestring

Değerler:darklight

Örnek: dark

menustring

Değerler:horizontalvertical

Örnek: horizontal

pinned_sectionsarray of integer
permission_role_idsarray of integer

Kullanıcının rol kimlikleri; sırası permissions ile aynıdır

has_operator_settingsboolean

Kullanıcıya operatör ayarları bağlı mı

Örnek: false

chains_switch_enabledboolean

Ağ geçişi etkin mi (bağlı operatörde ağ şube tarafından belirlenir; sahibi için kısıtlama yok)

Örnek: true

has_courier_settingsboolean

Kullanıcıya kurye ayarları bağlı mı

Örnek: false

balancenumber

Örnek: 1

chain_idinteger

Örnek: 9999

blocking_statusstring

Değerler:activatedblockedfrozen

Örnek: activated

contract_concludedboolean

Örnek: false

contractor_filledboolean

Örnek: false

botsobject
telegrambooleanzorunlu

Örnek: true

maxboolean

Örnek: true

tokenstringzorunlu

Örnek: ba1c25347b6b74c400cb72a66ddea335

ratesobject
mobile_appsinteger

Örnek: 4

social_appsinteger

Örnek: 2

sitesinteger

Örnek: 2

socialobject
free_pushobjectzorunlu
activebooleanzorunlu

Örnek: false

linkstringzorunlu

Örnek: push_notifications

sitesobjectzorunlu
activebooleanzorunlu

Örnek: false

linkstringzorunlu

Örnek: sites_domains

vkobject
activebooleanzorunlu

Örnek: false

linkstringzorunlu

Harici bir bağlantı olabilir

Örnek: social_apps

fbobject
activebooleanzorunlu

Örnek: false

linkstringzorunlu

Harici bir bağlantı olabilir

Örnek: social_apps

iosobjectzorunlu
activebooleanzorunlu

Örnek: false

linkstringzorunlu

Harici bir bağlantı olabilir

Örnek: https://app

androidobjectzorunlu
activebooleanzorunlu

Örnek: false

linkstringzorunlu

Harici bir bağlantı olabilir

Örnek: https://app

huaweiobjectzorunlu
activebooleanzorunlu

Örnek: false

linkstringzorunlu

Harici bir bağlantı olabilir

Örnek: https://app

hierarchyobject
chainsobject
idsarray of integer
branchesobject
idsarray of integer
citiesobject
idsarray of integer