Документация SMARTCALLBACK API


Метод StatusesGetList

Получение всех возможных статусов заявок. Входных параметров нет.

Входные данные

Результирующие данные

JSON:
{"result":1,"response":{"0":{"title":"\u041d\u043e\u0432\u0430\u044f","color":"#60FF64","color2":"#9CFF96"},"2":{"title":"\u041d\u0435\u0442 \u043e\u0442\u0432\u0435\u0442\u0430","color":"#7e0000","color2":"#FFE4E1"},"1":{"title":"\u041f\u0440\u0438\u043d\u044f\u0442\u0430","color":"#2b88b0","color2":"#C6EFFB"},"3":{"title":"\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430","color":"#022e5f","color2":"#C3D5FF"},"4":{"title":"\u0410\u0440\u0445\u0438\u0432","color":"#555555","color2":"#BFBFBF"},"5":{"title":"MobileDirect","color":"#F69834","color2":"#FFEBB3"},"6":{"title":"\u0412\u044b\u0437\u043e\u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430","color":"#60FF64","color2":"#9CFF96"},"7":{"title":"\u0412\u044b\u0437\u043e\u0432 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044f","color":"#60FF64","color2":"#9CFF96"},"8":{"title":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0430 \u043b\u0438\u043d\u0438\u0438","color":"#E73867","color2":"#E73867"},"9":{"title":"\u041f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044c \u043d\u0430 \u043b\u0438\u043d\u0438\u0438","color":"#E73867","color2":"#E73867"},"10":{"title":"\u0418\u0434\u0435\u0442 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440","color":"#36941C","color2":"#36941C"},"11":{"title":"\u0420\u0430\u0437\u0433\u043e\u0432\u043e\u0440 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d","color":"#36941C","color2":"#36941C"}}}

Array
(
    [result] => 1
    [response] => Array
        (
            [0] => Array
                (
                    [title] => Новая
                    [color] => #60FF64
                    [color2] => #9CFF96
                )

            [2] => Array
                (
                    [title] => Нет ответа
                    [color] => #7e0000
                    [color2] => #FFE4E1
                )

            [1] => Array
                (
                    [title] => Принята
                    [color] => #2b88b0
                    [color2] => #C6EFFB
                )

            [3] => Array
                (
                    [title] => Обработана
                    [color] => #022e5f
                    [color2] => #C3D5FF
                )

            [4] => Array
                (
                    [title] => Архив
                    [color] => #555555
                    [color2] => #BFBFBF
                )

            [5] => Array
                (
                    [title] => MobileDirect
                    [color] => #F69834
                    [color2] => #FFEBB3
                )

            [6] => Array
                (
                    [title] => Вызов оператора
                    [color] => #60FF64
                    [color2] => #9CFF96
                )

            [7] => Array
                (
                    [title] => Вызов посетителя
                    [color] => #60FF64
                    [color2] => #9CFF96
                )

            [8] => Array
                (
                    [title] => Оператор на линии
                    [color] => #E73867
                    [color2] => #E73867
                )

            [9] => Array
                (
                    [title] => Посетитель на линии
                    [color] => #E73867
                    [color2] => #E73867
                )

            [10] => Array
                (
                    [title] => Идет разговор
                    [color] => #36941C
                    [color2] => #36941C
                )

            [11] => Array
                (
                    [title] => Разговор завершен
                    [color] => #36941C
                    [color2] => #36941C
                )

        )

)