The variable $res returning this response below
{"Status":"Success","Message":{"Id":"9235948e-5469-450e-8aaf-551772da9c6a"}}
How do i access this id inside message?
$res = $leadsquared->create_lead($data);
print_r($res);
The variable $res returning this response below
{"Status":"Success","Message":{"Id":"9235948e-5469-450e-8aaf-551772da9c6a"}}
How do i access this id inside message?
$res = $leadsquared->create_lead($data);
print_r($res);
Try this :
$result = json_decode($res,true);<br/>
$id = $result['Message']['Id']