Документация SMARTCALLBACK API
Метод StatusesGetList
Получение всех возможных статусов заявок. Входных параметров нет.
Важно: список статусов может дополняться, или переставать использоваться.
UPD 02.02.18: Статус "Нет ответа" более использоваться не будет - он разделяется на 2 новых: "Посетитель не ответил" и "Оператор не ответил"
Важно: список статусов может дополняться, или переставать использоваться.
UPD 02.02.18: Статус "Нет ответа" более использоваться не будет - он разделяется на 2 новых: "Посетитель не ответил" и "Оператор не ответил"
Входные данные
Результирующие данные
JSON:
{"result":1,"response":{"0":{"id":"0","title":"\u041d\u043e\u0432\u0430\u044f","color":"#b0ce60","color2":"#9CFF96"},"1":{"id":"1","title":"\u041f\u0440\u0438\u043d\u044f\u0442\u0430","color":"#5cb0e3","color2":"#C6EFFB"},"2":{"id":"2","title":"\u041d\u0435\u0442 \u043e\u0442\u0432\u0435\u0442\u0430","color":"#dd656e","color2":"#FFE4E1"},"3":{"id":"3","title":"\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430","color":"#8ba2d4","color2":"#C3D5FF"},"5":{"id":"5","title":"MobileDirect","color":"#F69834","color2":"#FFEBB3"},"6":{"id":"6","title":"\u0412\u044b\u0437\u043e\u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430","color":"#9fc886","color2":"#9CFF96"},"7":{"id":"7","title":"\u0412\u044b\u0437\u043e\u0432 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044f","color":"#55c693","color2":"#9CFF96"},"8":{"id":"8","title":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0430 \u043b\u0438\u043d\u0438\u0438","color":"#e29eb7","color2":"#FFE4E1"},"9":{"id":"9","title":"\u041f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044c \u043d\u0430 \u043b\u0438\u043d\u0438\u0438","color":"#b485c1","color2":"#E73867"},"10":{"id":"10","title":"\u0418\u0434\u0435\u0442 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440","color":"#7fbece","color2":"#36941C"},"11":{"id":"11","title":"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c","color":"#fdcb5d","color2":"#36941C"},"12":{"id":"12","title":"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u0435\u043c","color":"#e19959","color2":"#36941C"},"13":{"id":"13","title":"\u041e\u0431\u0440\u044b\u0432 \u0441\u0432\u044f\u0437\u0438","color":"#9895c9","color2":"#36941C"},"14":{"id":"14","title":"Email","color":"#7ac8cf","color2":"#36941C"},"15":{"id":"15","title":"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0437\u0432\u043e\u043d\u043a\u0430","color":"#d7cb93","color2":"#FFE4E1"},"16":{"id":"16","title":"\u041f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442","color":"#eb8b7d","color2":"#fc6552"},"17":{"id":"17","title":"\u0414\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b","color":"#a7a793","color2":"#bfbfbf"},"18":{"id":"18","title":"\u041e\u0436\u0438\u0434\u0430\u0435\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430","color":"#b5878a","color2":"#C3D5FF"},"22":{"id":"22","title":"\u041f\u043e\u043c\u0435\u0447\u0435\u043d\u043e \u043a\u0430\u043a \u0441\u043f\u0430\u043c","color":"#53d6f7","color2":"#E0E0E0"},"24":{"id":"24","title":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430","color":"#b2e0bc","color2":"#ffffff"},"26":{"id":"26","title":"Viber","color":"#665cac","color2":"#665cac"},"27":{"id":"27","title":"WhatsApp","color":"#01E675","color2":"#01E675"},"28":{"id":"28","title":"\u041d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443","color":"#7a93ae","color2":"#FFE4E1"},"35":{"id":"35","title":"\u041d\u043e\u0432\u044b\u0439 \u0434\u0438\u0430\u043b\u043e\u0433","color":"#5bac94","color2":""},"36":{"id":"36","title":"\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0447\u0430\u0442","color":"#e4bd94","color2":""},"37":{"id":"37","title":"\u0418\u0434\u0435\u0442 \u043e\u0431\u0449\u0435\u043d\u0438\u0435","color":"#00aadc","color2":""},"38":{"id":"38","title":"\u0414\u0438\u0430\u043b\u043e\u0433 \u0437\u0430\u043a\u0440\u044b\u0442","color":"#7a8585","color2":""},"39":{"id":"39","title":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0435 \u043e\u0442\u0432\u0435\u0442\u0438\u043b","color":"#ee754f","color2":""},"40":{"id":"40","title":"\u041f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044c \u043d\u0435 \u043e\u0442\u0432\u0435\u0442\u0438\u043b","color":"#ec5f76","color2":""}}}
{"result":1,"response":{"0":{"id":"0","title":"\u041d\u043e\u0432\u0430\u044f","color":"#b0ce60","color2":"#9CFF96"},"1":{"id":"1","title":"\u041f\u0440\u0438\u043d\u044f\u0442\u0430","color":"#5cb0e3","color2":"#C6EFFB"},"2":{"id":"2","title":"\u041d\u0435\u0442 \u043e\u0442\u0432\u0435\u0442\u0430","color":"#dd656e","color2":"#FFE4E1"},"3":{"id":"3","title":"\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430","color":"#8ba2d4","color2":"#C3D5FF"},"5":{"id":"5","title":"MobileDirect","color":"#F69834","color2":"#FFEBB3"},"6":{"id":"6","title":"\u0412\u044b\u0437\u043e\u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430","color":"#9fc886","color2":"#9CFF96"},"7":{"id":"7","title":"\u0412\u044b\u0437\u043e\u0432 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044f","color":"#55c693","color2":"#9CFF96"},"8":{"id":"8","title":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0430 \u043b\u0438\u043d\u0438\u0438","color":"#e29eb7","color2":"#FFE4E1"},"9":{"id":"9","title":"\u041f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044c \u043d\u0430 \u043b\u0438\u043d\u0438\u0438","color":"#b485c1","color2":"#E73867"},"10":{"id":"10","title":"\u0418\u0434\u0435\u0442 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440","color":"#7fbece","color2":"#36941C"},"11":{"id":"11","title":"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c","color":"#fdcb5d","color2":"#36941C"},"12":{"id":"12","title":"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u0435\u043c","color":"#e19959","color2":"#36941C"},"13":{"id":"13","title":"\u041e\u0431\u0440\u044b\u0432 \u0441\u0432\u044f\u0437\u0438","color":"#9895c9","color2":"#36941C"},"14":{"id":"14","title":"Email","color":"#7ac8cf","color2":"#36941C"},"15":{"id":"15","title":"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0437\u0432\u043e\u043d\u043a\u0430","color":"#d7cb93","color2":"#FFE4E1"},"16":{"id":"16","title":"\u041f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442","color":"#eb8b7d","color2":"#fc6552"},"17":{"id":"17","title":"\u0414\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b","color":"#a7a793","color2":"#bfbfbf"},"18":{"id":"18","title":"\u041e\u0436\u0438\u0434\u0430\u0435\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430","color":"#b5878a","color2":"#C3D5FF"},"22":{"id":"22","title":"\u041f\u043e\u043c\u0435\u0447\u0435\u043d\u043e \u043a\u0430\u043a \u0441\u043f\u0430\u043c","color":"#53d6f7","color2":"#E0E0E0"},"24":{"id":"24","title":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430","color":"#b2e0bc","color2":"#ffffff"},"26":{"id":"26","title":"Viber","color":"#665cac","color2":"#665cac"},"27":{"id":"27","title":"WhatsApp","color":"#01E675","color2":"#01E675"},"28":{"id":"28","title":"\u041d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443","color":"#7a93ae","color2":"#FFE4E1"},"35":{"id":"35","title":"\u041d\u043e\u0432\u044b\u0439 \u0434\u0438\u0430\u043b\u043e\u0433","color":"#5bac94","color2":""},"36":{"id":"36","title":"\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0447\u0430\u0442","color":"#e4bd94","color2":""},"37":{"id":"37","title":"\u0418\u0434\u0435\u0442 \u043e\u0431\u0449\u0435\u043d\u0438\u0435","color":"#00aadc","color2":""},"38":{"id":"38","title":"\u0414\u0438\u0430\u043b\u043e\u0433 \u0437\u0430\u043a\u0440\u044b\u0442","color":"#7a8585","color2":""},"39":{"id":"39","title":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0435 \u043e\u0442\u0432\u0435\u0442\u0438\u043b","color":"#ee754f","color2":""},"40":{"id":"40","title":"\u041f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044c \u043d\u0435 \u043e\u0442\u0432\u0435\u0442\u0438\u043b","color":"#ec5f76","color2":""}}}
Array ( [result] => 1 [response] => Array ( [0] => Array ( [id] => 0 [title] => Новая [color] => #b0ce60 [color2] => #9CFF96 ) [1] => Array ( [id] => 1 [title] => Принята [color] => #5cb0e3 [color2] => #C6EFFB ) [2] => Array ( [id] => 2 [title] => Нет ответа [color] => #dd656e [color2] => #FFE4E1 ) [3] => Array ( [id] => 3 [title] => Обработана [color] => #8ba2d4 [color2] => #C3D5FF ) [5] => Array ( [id] => 5 [title] => MobileDirect [color] => #F69834 [color2] => #FFEBB3 ) [6] => Array ( [id] => 6 [title] => Вызов оператора [color] => #9fc886 [color2] => #9CFF96 ) [7] => Array ( [id] => 7 [title] => Вызов посетителя [color] => #55c693 [color2] => #9CFF96 ) [8] => Array ( [id] => 8 [title] => Оператор на линии [color] => #e29eb7 [color2] => #FFE4E1 ) [9] => Array ( [id] => 9 [title] => Посетитель на линии [color] => #b485c1 [color2] => #E73867 ) [10] => Array ( [id] => 10 [title] => Идет разговор [color] => #7fbece [color2] => #36941C ) [11] => Array ( [id] => 11 [title] => Завершено оператором [color] => #fdcb5d [color2] => #36941C ) [12] => Array ( [id] => 12 [title] => Завершено посетителем [color] => #e19959 [color2] => #36941C ) [13] => Array ( [id] => 13 [title] => Обрыв связи [color] => #9895c9 [color2] => #36941C ) [14] => Array ( [id] => 14 [title] => Email [color] => #7ac8cf [color2] => #36941C ) [15] => Array ( [id] => 15 [title] => Ожидание повторного звонка [color] => #d7cb93 [color2] => #FFE4E1 ) [16] => Array ( [id] => 16 [title] => Потенциальный клиент [color] => #eb8b7d [color2] => #fc6552 ) [17] => Array ( [id] => 17 [title] => Диагностика системы [color] => #a7a793 [color2] => #bfbfbf ) [18] => Array ( [id] => 18 [title] => Ожидаем действие оператора [color] => #b5878a [color2] => #C3D5FF ) [22] => Array ( [id] => 22 [title] => Помечено как спам [color] => #53d6f7 [color2] => #E0E0E0 ) [24] => Array ( [id] => 24 [title] => Подписка [color] => #b2e0bc [color2] => #ffffff ) [26] => Array ( [id] => 26 [title] => Viber [color] => #665cac [color2] => #665cac ) [27] => Array ( [id] => 27 [title] => WhatsApp [color] => #01E675 [color2] => #01E675 ) [28] => Array ( [id] => 28 [title] => На обработку [color] => #7a93ae [color2] => #FFE4E1 ) [35] => Array ( [id] => 35 [title] => Новый диалог [color] => #5bac94 [color2] => ) [36] => Array ( [id] => 36 [title] => Запрос на чат [color] => #e4bd94 [color2] => ) [37] => Array ( [id] => 37 [title] => Идет общение [color] => #00aadc [color2] => ) [38] => Array ( [id] => 38 [title] => Диалог закрыт [color] => #7a8585 [color2] => ) [39] => Array ( [id] => 39 [title] => Оператор не ответил [color] => #ee754f [color2] => ) [40] => Array ( [id] => 40 [title] => Посетитель не ответил [color] => #ec5f76 [color2] => ) ) )