sync tpa claims to nhance database: GWM
This commit is contained in:
parent
6681d6eb98
commit
40cb975f63
@ -547,20 +547,20 @@ class MediAssistApiController extends BaseController
|
|||||||
|
|
||||||
// dd($body);
|
// dd($body);
|
||||||
|
|
||||||
$body = [
|
// $body = [
|
||||||
"policyNo" => "97000063250400000031",
|
// "policyNo" => "97000063250400000031",
|
||||||
"startDate" => "01/11/2025",
|
// "startDate" => "01/11/2025",
|
||||||
"endDate" => "05/11/2025",
|
// "endDate" => "05/11/2025",
|
||||||
"employeeCode" => "",
|
// "employeeCode" => "",
|
||||||
"memberID" => "",
|
// "memberID" => "",
|
||||||
"claimNo" => "",
|
// "claimNo" => "",
|
||||||
"claimRefNo" => ""
|
// "claimRefNo" => ""
|
||||||
];
|
// ];
|
||||||
|
|
||||||
// CALL API
|
// CALL API
|
||||||
$response = call_third_party_api($url, $method, $headers, $body);
|
$response = call_third_party_api($url, $method, $headers, $body);
|
||||||
|
|
||||||
dd($response);
|
// dd($response);
|
||||||
|
|
||||||
if ($response['status'] != true || empty($response['data']['claimsData'][0])) {
|
if ($response['status'] != true || empty($response['data']['claimsData'][0])) {
|
||||||
log_message('error', 'CLAIM STATUS FAILED | for ticket ID: ' . $claimId.' | response: '.json_encode($response));
|
log_message('error', 'CLAIM STATUS FAILED | for ticket ID: ' . $claimId.' | response: '.json_encode($response));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user