How to get the Primary contact id
Content
Hi Gurus,
How to get the primary contact Id using connect php api. I tried the following code in CPM test harness block. It returns empty value.
$inc = RNCPHP\Incident::fetch(9090);
print("Incident Primary Contact: ".$inc->PrimaryContact->Contact->ID);
Thanks,
Mohan
0