sync tpa claims to nhance database: GWM

This commit is contained in:
Gowtham M 2025-12-24 18:47:16 +05:30
parent 6681d6eb98
commit 40cb975f63

View File

@ -547,20 +547,20 @@ class MediAssistApiController extends BaseController
// dd($body);
$body = [
"policyNo" => "97000063250400000031",
"startDate" => "01/11/2025",
"endDate" => "05/11/2025",
"employeeCode" => "",
"memberID" => "",
"claimNo" => "",
"claimRefNo" => ""
];
// $body = [
// "policyNo" => "97000063250400000031",
// "startDate" => "01/11/2025",
// "endDate" => "05/11/2025",
// "employeeCode" => "",
// "memberID" => "",
// "claimNo" => "",
// "claimRefNo" => ""
// ];
// CALL API
$response = call_third_party_api($url, $method, $headers, $body);
dd($response);
// dd($response);
if ($response['status'] != true || empty($response['data']['claimsData'][0])) {
log_message('error', 'CLAIM STATUS FAILED | for ticket ID: ' . $claimId.' | response: '.json_encode($response));