Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

How to get the Primary contact id (3 Comments)

$
0
0

Topic by Mohana Gopal Selvam

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


Viewing all articles
Browse latest Browse all 2504

Trending Articles