sync tpa correction : GWM
This commit is contained in:
parent
40cb975f63
commit
75b2c052fd
@ -484,7 +484,7 @@ class MediAssistApiController extends BaseController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ClaimDetail($claimId = 585) // 585 this id for test
|
public function ClaimDetail($claimId = null) // 585 this id for test
|
||||||
{
|
{
|
||||||
helper('api');
|
helper('api');
|
||||||
|
|
||||||
@ -545,7 +545,7 @@ class MediAssistApiController extends BaseController
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// dd($body);
|
|
||||||
|
|
||||||
// $body = [
|
// $body = [
|
||||||
// "policyNo" => "97000063250400000031",
|
// "policyNo" => "97000063250400000031",
|
||||||
@ -560,7 +560,7 @@ class MediAssistApiController extends BaseController
|
|||||||
// CALL API
|
// CALL API
|
||||||
$response = call_third_party_api($url, $method, $headers, $body);
|
$response = call_third_party_api($url, $method, $headers, $body);
|
||||||
|
|
||||||
// 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