Array
(
    [result] => Array
        (
            [result] => Array
                (
                    [user] => Array
                        (
                        )

                    [department] => Array
                        (
                            [0] => Array
                                (
                                    [ID] => 1
                                    [NAME] => RosCo | Consulting & audit
                                    [SORT] => 500
                                    [UF_HEAD] => 10
                                )

                            [1] => Array
                                (
                                    [ID] => 7
                                    [NAME] => IT
                                    [SORT] => 100
                                    [PARENT] => 1
                                    [UF_HEAD] => 14
                                )

                            [2] => Array
                                (
                                    [ID] => 56
                                    [NAME] => ОТДЕЛ КАДРОВ
                                    [SORT] => 200
                                    [PARENT] => 1
                                    [UF_HEAD] => 2672
                                )

                            [3] => Array
                                (
                                    [ID] => 5
                                    [NAME] => МЕНЕДЖЕРЫ
                                    [SORT] => 300
                                    [PARENT] => 56
                                )

                            [4] => Array
                                (
                                    [ID] => 118
                                    [NAME] => Руководство
                                    [SORT] => 400
                                    [PARENT] => 56
                                    [UF_HEAD] => 36
                                )

                            [5] => Array
                                (
                                    [ID] => 3
                                    [NAME] => БУХГАЛТЕРА
                                    [SORT] => 500
                                    [PARENT] => 118
                                    [UF_HEAD] => 26
                                )

                            [6] => Array
                                (
                                    [ID] => 100
                                    [NAME] => Бухгалтерия 1
                                    [SORT] => 500
                                    [PARENT] => 3
                                    [UF_HEAD] => 26
                                )

                            [7] => Array
                                (
                                    [ID] => 102
                                    [NAME] => Бухгалтерия 2
                                    [SORT] => 500
                                    [PARENT] => 3
                                    [UF_HEAD] => 3346
                                )

                            [8] => Array
                                (
                                    [ID] => 112
                                    [NAME] => Бухгалтерия 3
                                    [SORT] => 500
                                    [PARENT] => 3
                                    [UF_HEAD] => 13926
                                )

                            [9] => Array
                                (
                                    [ID] => 26
                                    [NAME] => СЕКРЕТАРИАТ
                                    [SORT] => 500
                                    [PARENT] => 56
                                )

                            [10] => Array
                                (
                                    [ID] => 9
                                    [NAME] => ЮРИСТЫ
                                    [SORT] => 600
                                    [PARENT] => 56
                                    [UF_HEAD] => 8472
                                )

                            [11] => Array
                                (
                                    [ID] => 78
                                    [NAME] => Помощники юристов
                                    [SORT] => 500
                                    [PARENT] => 9
                                    [UF_HEAD] => 38
                                )

                            [12] => Array
                                (
                                    [ID] => 76
                                    [NAME] => Чат-боты
                                    [SORT] => 700
                                    [PARENT] => 1
                                )

                        )

                )

            [result_error] => Array
                (
                    [task] => Array
                        (
                            [error] => ERROR_CORE
                            [error_description] => TASKS_ERROR_EXCEPTION_#256; 5dd82ff12585e6.38787133: Param #0 (taskId) expected by method ctaskitem::getdata(), but not given.; 256/TE/WRONG_ARGUMENTS
) ) [result_total] => Array ( [department] => 13 ) [result_next] => Array ( ) [result_time] => Array ( [user] => Array ( [start] => 1574449137.1539 [finish] => 1574449137.1663 [duration] => 0.01240086555481 [processing] => 0.0123450756073 [date_start] => 2019-11-22T21:58:57+03:00 [date_finish] => 2019-11-22T21:58:57+03:00 ) [department] => Array ( [start] => 1574449137.1664 [finish] => 1574449137.1724 [duration] => 0.0060570240020752 [processing] => 0.0059728622436523 [date_start] => 2019-11-22T21:58:57+03:00 [date_finish] => 2019-11-22T21:58:57+03:00 ) ) ) [time] => Array ( [start] => 1574449137.1261 [finish] => 1574449137.1725 [duration] => 0.046403884887695 [processing] => 0.019034147262573 [date_start] => 2019-11-22T21:58:57+03:00 [date_finish] => 2019-11-22T21:58:57+03:00 ) )
Array
(
    [result] => Array
        (
            [result] => Array
                (
                )

            [result_error] => Array
                (
                    [task2] => Array
                        (
                            [error] => ERROR_CORE
                            [error_description] => TASKS_ERROR_EXCEPTION_#256; 5dd82ff14b1875.06539379: Param #0 (taskId) expected by method ctaskitem::update(), but not given.; 256/TE/WRONG_ARGUMENTS
) ) [result_total] => Array ( ) [result_next] => Array ( ) [result_time] => Array ( ) ) [time] => Array ( [start] => 1574449137.281 [finish] => 1574449137.3077 [duration] => 0.02673602104187 [processing] => 0.00039196014404297 [date_start] => 2019-11-22T21:58:57+03:00 [date_finish] => 2019-11-22T21:58:57+03:00 ) )