Barcha turlar json turdagi ma'lumotlar bo'lib object yoki array bo'lishi mumkin.
UserTypeList
json
[
{
"number": 1,
"name": "ADMIN"
},
{
"number": 2,
"name": "USER"
}
]CallHistorySortList
json
[
"id",
"date_time",
"src",
"dst",
"external_number",
"duration",
"conversation",
"type",
"status"
]CallHistoryFilterTypeList
json
[
1, // "INCOMING",
2, // "OUTGOING",
3 // "INTERNAL"
]CallHistoryFilterStatusList
json
[
1, // ANSWERED
2 // NOT ANSWERED
]QueueTypeList
json
[
{ "name": "Ring all", "value": 1 },
{ "name": "Linear", "value": 2 },
{ "name": "Least recent", "value": 3 },
{ "name": "Random", "value": 4 }
]QueueLanguageList
Queue say_position maydoni uchun mumkin bo'lgan qiymatlar:
json
[
{ "value": 1, "name": "O'zbekcha" },
{ "value": 2, "name": "Ruscha" },
{ "value": 3, "name": "Inglizcha" }
]ExtensionRangeList
Har bir modul uchun modul (extension) raqamlari diapazoni:
json
[
{ "module": "Foydalanuvchilar", "from": 100, "to": 4999 },
{ "module": "IVR", "from": 5000, "to": 5199 },
{ "module": "Guruh", "from": 5200, "to": 5399 },
{ "module": "Queue", "from": 5400, "to": 5599 },
{ "module": "Ish vaqti", "from": 5600, "to": 5799 },
{ "module": "Voicemail", "from": 5800, "to": 5999 },
{ "module": "Smart redirect", "from": 6000, "to": 6199 }
]SmartRedirectSelectIfMultipleList
Smart redirect sources.amocrm.select_if_multiple_leads_exists qiymatlari:
json
[
"first_lead", // Birinchi lid
"last_lead", // Oxirgi lid
"contact", // Kontaktga bog'liq
"default_user" // Standart foydalanuvchi
]