{"__meta":{"id":"01KPCSPC009RQADEDCRXAQA865","datetime":"2026-04-17 04:02:57","utime":1776398577.664616,"method":"POST","uri":"\/srapi\/public\/api\/v1.0\/categoryNews","ip":"10.55.240.86"},"messages":{"count":1,"messages":[{"message":"[04:02:57] LOG.warning: trim(): Passing null to parameter #1 ($string) of type string is deprecated in \/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php on line 1542","message_html":null,"is_string":false,"label":"warning","time":1776398577.520153,"xdebug_link":null,"collector":"log"}]},"time":{"count":5,"start":1776398577.504241,"end":1776398577.66463,"duration":0.16038894653320312,"duration_str":"160ms","measures":[{"label":"Booting","start":1776398577.504241,"relative_start":0,"end":1776398577.516678,"relative_end":1776398577.516678,"duration":0.012437105178833008,"duration_str":"12.44ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1776398577.516692,"relative_start":0.012450933456420898,"end":1776398577.664633,"relative_end":3.0994415283203125e-6,"duration":0.14794111251831055,"duration_str":"148ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1776398577.518003,"relative_start":0.01376199722290039,"end":1776398577.518442,"relative_end":1776398577.518442,"duration":0.00043892860412597656,"duration_str":"439\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1776398577.664187,"relative_start":0.15994596481323242,"end":1776398577.66424,"relative_end":1776398577.66424,"duration":5.2928924560546875e-5,"duration_str":"53\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1776398577.664401,"relative_start":0.16016006469726562,"end":1776398577.664415,"relative_end":1776398577.664415,"duration":1.3828277587890625e-5,"duration_str":"14\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":1788656,"peak_usage_str":"2MB"},"exceptions":{"count":0,"exceptions":[]},"laravel":{"version":"11.x","tooltip":{"Laravel Version":"11.45.2","PHP Version":"8.3.16","Environment":"staging","Debug Mode":"Enabled","URL":"smartrisk-qa.tsclabs.in\/srapi\/public","Timezone":"UTC","Locale":"en"}},"views":{"count":0,"nb_templates":0,"templates":[]},"queries":{"count":10,"nb_statements":9,"nb_visible_statements":10,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.04884,"accumulated_duration_str":"48.84ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"Connection Established","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":268},{"index":14,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":29},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php","line":1004},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php","line":832},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Application.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Application.php","line":1078}],"start":1776398577.521344,"duration":0,"duration_str":"","memory":0,"memory_str":null,"filename":"Repository.php:268","source":{"index":13,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":268},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FRepositories%2FContracts%2FRepository.php&line=268","ajax":false,"filename":"Repository.php","line":"268"},"connection":"smartrisk_qa","explain":null,"start_percent":0,"width_percent":0},{"sql":"select * from `mst_user` where (`email` = 'ram.sengar@abx.com' and `is_active` = 1 and `is_api_user` = 1) limit 1","type":"query","params":[],"bindings":["ram.sengar@abx.com",1,1],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":166},{"index":18,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":1706},{"index":19,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2540},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":44}],"start":1776398577.521686,"duration":0.00231,"duration_str":"2.31ms","memory":0,"memory_str":null,"filename":"Repository.php:166","source":{"index":16,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":166},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FRepositories%2FContracts%2FRepository.php&line=166","ajax":false,"filename":"Repository.php","line":"166"},"connection":"smartrisk_qa","explain":null,"start_percent":0,"width_percent":4.73},{"sql":"select * from `mst_user` where (`email` = 'ram.sengar@abx.com' and `is_active` = 1 and `is_api_user` = 1) limit 1","type":"query","params":[],"bindings":["ram.sengar@abx.com",1,1],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":166},{"index":18,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2554},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":44},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":266}],"start":1776398577.612128,"duration":0.0007700000000000001,"duration_str":"770\u03bcs","memory":0,"memory_str":null,"filename":"Repository.php:166","source":{"index":16,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":166},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FRepositories%2FContracts%2FRepository.php&line=166","ajax":false,"filename":"Repository.php","line":"166"},"connection":"smartrisk_qa","explain":null,"start_percent":4.73,"width_percent":1.577},{"sql":"select count(*) as aggregate from `api_utility_log` where (`client_id` = 624 and `user_id` = 3158 and `api_method` = 'getCategoryNews') and DATE(called_at) =  DATE(now())","type":"query","params":[],"bindings":[624,3158,"getCategoryNews"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Repositories\/ApiUtilityLogRepository.php","file":"\/var\/www\/srapi\/app\/Repositories\/ApiUtilityLogRepository.php","line":41},{"index":18,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2565},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":44},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":266}],"start":1776398577.6139798,"duration":0.00725,"duration_str":"7.25ms","memory":0,"memory_str":null,"filename":"ApiUtilityLogRepository.php:41","source":{"index":16,"namespace":null,"name":"app\/Repositories\/ApiUtilityLogRepository.php","file":"\/var\/www\/srapi\/app\/Repositories\/ApiUtilityLogRepository.php","line":41},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FRepositories%2FApiUtilityLogRepository.php&line=41","ajax":false,"filename":"ApiUtilityLogRepository.php","line":"41"},"connection":"smartrisk_qa","explain":null,"start_percent":6.306,"width_percent":14.844},{"sql":"select * from `api_call_configuration` where (`is_active` = 1) limit 1","type":"query","params":[],"bindings":[1],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":166},{"index":18,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2567},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":44},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":266}],"start":1776398577.621755,"duration":0.00043,"duration_str":"430\u03bcs","memory":0,"memory_str":null,"filename":"Repository.php:166","source":{"index":16,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":166},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FRepositories%2FContracts%2FRepository.php&line=166","ajax":false,"filename":"Repository.php","line":"166"},"connection":"smartrisk_qa","explain":null,"start_percent":21.151,"width_percent":0.88},{"sql":"insert into `api_utility_log` (`client_id`, `user_id`, `api_method`) values (624, 3158, 'getCategoryNews')","type":"query","params":[],"bindings":[624,3158,"getCategoryNews"],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":74},{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2577},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":44},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":266}],"start":1776398577.622711,"duration":0.00511,"duration_str":"5.11ms","memory":0,"memory_str":null,"filename":"Repository.php:74","source":{"index":18,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":74},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FRepositories%2FContracts%2FRepository.php&line=74","ajax":false,"filename":"Repository.php","line":"74"},"connection":"smartrisk_qa","explain":null,"start_percent":22.031,"width_percent":10.463},{"sql":"select `id`, `title` from `mst_client_category` where `title` in ('Marketing') and (`is_active` = 1 and `client_id` = 624)","type":"query","params":[],"bindings":["Marketing",1,624],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":383},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2694},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":44},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":266}],"start":1776398577.628887,"duration":0.0005899999999999999,"duration_str":"590\u03bcs","memory":0,"memory_str":null,"filename":"Repository.php:383","source":{"index":15,"namespace":null,"name":"app\/Repositories\/Contracts\/Repository.php","file":"\/var\/www\/srapi\/app\/Repositories\/Contracts\/Repository.php","line":383},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FRepositories%2FContracts%2FRepository.php&line=383","ajax":false,"filename":"Repository.php","line":"383"},"connection":"smartrisk_qa","explain":null,"start_percent":32.494,"width_percent":1.208},{"sql":"select distinct `mst_client_category`.`title` as `category_name`, `client_supplier`.`client_category_id` as `category_id`, `mst_tsc_category`.`title` as `tsc_category_name`, `client_supplier`.`tsc_category_id` as `tsc_category_id`, `mst_risk`.`title` as `risk_title`, `mst_sub_risk`.`title` as `sub_risk_title`, `mst_theme`.`theme`, `category_news`.`topic`, `category_news`.`news_date`, `category_news`.`news_title`, `category_news`.`news_type`, `category_news`.`link`, `category_news`.`content`, `category_news`.`score`, `category_news`.`tag` as `news_tag` from `client_supplier` inner join `category_news` on (`category_news`.`client_category_id` = `client_supplier`.`client_category_id` or `category_news`.`tsc_category_id` = `client_supplier`.`tsc_category_id`) inner join `mst_client` on `client_supplier`.`client_id` = `mst_client`.`id` and `mst_client`.`is_active` = 1 left join `mst_client_category` on `client_supplier`.`client_id` = `mst_client_category`.`client_id` and `client_supplier`.`client_category_id` = `mst_client_category`.`id` and `mst_client_category`.`is_active` = 1 left join `mst_tsc_category` on `client_supplier`.`tsc_category_id` = `mst_tsc_category`.`id` and `mst_tsc_category`.`is_active` = 1 left join `mst_risk` on `category_news`.`risk_id` = `mst_risk`.`id` and `mst_risk`.`is_active` = 1 left join `mst_sub_risk` on `category_news`.`sub_risk_id` = `mst_sub_risk`.`id` and `mst_sub_risk`.`is_active` = 1 left join `mst_theme` on `category_news`.`theme_id` = `mst_theme`.`id` and `mst_theme`.`is_active` = 1 where DATE(category_news.news_date) = \"2026-04-17\" and `client_supplier`.`client_category_id` in (4690) and `category_news`.`is_active` = 1 group by `category_news`.`id` order by `category_news`.`news_date` desc","type":"query","params":[],"bindings":[1,1,1,1,1,1,4690,1],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2719},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":44},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":266},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":212}],"start":1776398577.6303692,"duration":0.03032,"duration_str":"30.32ms","memory":0,"memory_str":null,"filename":"ApiController.php:2719","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2719},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FHttp%2FControllers%2FApiController.php&line=2719","ajax":false,"filename":"ApiController.php","line":"2719"},"connection":"smartrisk_qa","explain":null,"start_percent":33.702,"width_percent":62.08},{"sql":"select distinct `mst_client_category`.`title` as `category_name`, `client_supplier`.`client_category_id` as `category_id`, `mst_tsc_category`.`title` as `tsc_category_name`, `client_supplier`.`tsc_category_id` as `tsc_category_id`, `mst_risk`.`title` as `risk_title`, `mst_sub_risk`.`title` as `sub_risk_title`, `mst_theme`.`theme`, `category_news`.`topic`, `category_news`.`news_date`, `category_news`.`news_title`, `category_news`.`news_type`, `category_news`.`link`, `category_news`.`content`, `category_news`.`score`, `category_news`.`tag` as `news_tag` from `client_supplier` inner join `category_news` on (`category_news`.`client_category_id` = `client_supplier`.`client_category_id` or `category_news`.`tsc_category_id` = `client_supplier`.`tsc_category_id`) inner join `mst_client` on `client_supplier`.`client_id` = `mst_client`.`id` and `mst_client`.`is_active` = 1 left join `mst_client_category` on `client_supplier`.`client_id` = `mst_client_category`.`client_id` and `client_supplier`.`client_category_id` = `mst_client_category`.`id` and `mst_client_category`.`is_active` = 1 left join `mst_tsc_category` on `client_supplier`.`tsc_category_id` = `mst_tsc_category`.`id` and `mst_tsc_category`.`is_active` = 1 left join `mst_risk` on `category_news`.`risk_id` = `mst_risk`.`id` and `mst_risk`.`is_active` = 1 left join `mst_sub_risk` on `category_news`.`sub_risk_id` = `mst_sub_risk`.`id` and `mst_sub_risk`.`is_active` = 1 left join `mst_theme` on `category_news`.`theme_id` = `mst_theme`.`id` and `mst_theme`.`is_active` = 1 where DATE(category_news.news_date) = \"2026-04-17\" and `client_supplier`.`client_category_id` in (4690) and `category_news`.`is_active` = 1 group by `category_news`.`id` order by `category_news`.`news_date` desc limit 200 offset 0","type":"query","params":[],"bindings":[1,1,1,1,1,1,4690,1],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2722},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":44},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":266},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":212}],"start":1776398577.6611629,"duration":0.00109,"duration_str":"1.09ms","memory":0,"memory_str":null,"filename":"ApiController.php:2722","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2722},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FHttp%2FControllers%2FApiController.php&line=2722","ajax":false,"filename":"ApiController.php","line":"2722"},"connection":"smartrisk_qa","explain":null,"start_percent":95.782,"width_percent":2.232},{"sql":"select distinct `mst_client_category`.`title` as `category_name`, `client_supplier`.`client_category_id` as `category_id`, `mst_tsc_category`.`title` as `tsc_category_name`, `client_supplier`.`tsc_category_id` as `tsc_category_id`, `mst_risk`.`title` as `risk_title`, `mst_sub_risk`.`title` as `sub_risk_title`, `mst_theme`.`theme`, `category_news`.`topic`, `category_news`.`news_date`, `category_news`.`news_title`, `category_news`.`news_type`, `category_news`.`link`, `category_news`.`content`, `category_news`.`score`, `category_news`.`tag` as `news_tag` from `client_supplier` inner join `category_news` on (`category_news`.`client_category_id` = `client_supplier`.`client_category_id` or `category_news`.`tsc_category_id` = `client_supplier`.`tsc_category_id`) inner join `mst_client` on `client_supplier`.`client_id` = `mst_client`.`id` and `mst_client`.`is_active` = 1 left join `mst_client_category` on `client_supplier`.`client_id` = `mst_client_category`.`client_id` and `client_supplier`.`client_category_id` = `mst_client_category`.`id` and `mst_client_category`.`is_active` = 1 left join `mst_tsc_category` on `client_supplier`.`tsc_category_id` = `mst_tsc_category`.`id` and `mst_tsc_category`.`is_active` = 1 left join `mst_risk` on `category_news`.`risk_id` = `mst_risk`.`id` and `mst_risk`.`is_active` = 1 left join `mst_sub_risk` on `category_news`.`sub_risk_id` = `mst_sub_risk`.`id` and `mst_sub_risk`.`is_active` = 1 left join `mst_theme` on `category_news`.`theme_id` = `mst_theme`.`id` and `mst_theme`.`is_active` = 1 where DATE(category_news.news_date) = \"2026-04-17\" and `client_supplier`.`client_category_id` in (4690) and `category_news`.`is_active` = 1 group by `category_news`.`id` order by `category_news`.`news_date` desc limit 200 offset 0","type":"query","params":[],"bindings":[1,1,1,1,1,1,4690,1],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2728},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":44},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":266},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/srapi\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":212}],"start":1776398577.662713,"duration":0.0009699999999999999,"duration_str":"970\u03bcs","memory":0,"memory_str":null,"filename":"ApiController.php:2728","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/ApiController.php","file":"\/var\/www\/srapi\/app\/Http\/Controllers\/ApiController.php","line":2728},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FHttp%2FControllers%2FApiController.php&line=2728","ajax":false,"filename":"ApiController.php","line":"2728"},"connection":"smartrisk_qa","explain":null,"start_percent":98.014,"width_percent":1.986}]},"models":{"data":{"App\\Models\\User":{"retrieved":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}},"App\\Models\\ApiConfig":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FModels%2FApiConfig.php&line=1","ajax":false,"filename":"ApiConfig.php","line":"?"}},"App\\Models\\ApiUtilityLog":{"created":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FModels%2FApiUtilityLog.php&line=1","ajax":false,"filename":"ApiUtilityLog.php","line":"?"}},"App\\Models\\ClientCategory":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FModels%2FClientCategory.php&line=1","ajax":false,"filename":"ClientCategory.php","line":"?"}}},"count":5,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":{"retrieved":4,"created":1}},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"request":{"data":{"status":"200 OK","full_url":"http:\/\/smartrisk-qa.tsclabs.in\/srapi\/public\/api\/v1.0\/categoryNews","action_name":"getCategoryNews","controller_action":"App\\Http\\Controllers\\ApiController@getCategoryNews","uri":"POST api\/v1.0\/categoryNews","controller":"App\\Http\\Controllers\\ApiController@getCategoryNews<a href=\"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FHttp%2FControllers%2FApiController.php&line=2535\" class=\"phpdebugbar-widgets-editor-link\"><\/a>","prefix":"api\/v1.0","file":"<a href=\"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fsrapi%2Fapp%2FHttp%2FControllers%2FApiController.php&line=2535\" onclick=\"\" class=\"phpdebugbar-widgets-editor-link\">app\/Http\/Controllers\/ApiController.php:2535-2789<\/a>","middleware":"api, token_or_header","duration":"161ms","peak_memory":"2MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-1292251323 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1292251323\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-179470074 data-indent-pad=\"  \"><span class=sf-dump-note>array:2<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>category<\/span>\" => \"<span class=sf-dump-str title=\"9 characters\">Marketing<\/span>\"\n  \"<span class=sf-dump-key>offset<\/span>\" => <span class=sf-dump-num>0<\/span>\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-179470074\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1979191499 data-indent-pad=\"  \"><span class=sf-dump-note>array:12<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>password<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"9 characters\">Login@123<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>username<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"18 characters\">ram.sengar@abx.com<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">*\/*<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-encoding<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"13 characters\">gzip, deflate<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>user-agent<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"22 characters\">python-requests\/2.33.1<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-length<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">38<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-amzn-trace-id<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"40 characters\">Root=1-69e1b0f2-320522010780686a616c04d4<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>host<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"23 characters\">smartrisk-qa.tsclabs.in<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-forwarded-port<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">443<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-forwarded-proto<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"5 characters\">https<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-forwarded-for<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"30 characters\">223.190.86.109, 136.226.251.13<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1979191499\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-924088687 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-924088687\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-466715904 data-indent-pad=\"  \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>cache-control<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"17 characters\">no-cache, private<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>date<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"29 characters\">Fri, 17 Apr 2026 04:02:57 GMT<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-limit<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">60<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-remaining<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">47<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-466715904\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-1176185470 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1176185470\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"http:\/\/smartrisk-qa.tsclabs.in\/srapi\/public\/api\/v1.0\/categoryNews","action_name":"getCategoryNews","controller_action":"App\\Http\\Controllers\\ApiController@getCategoryNews"},"badge":null}}