We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

get the Primary Contact Id from the Opportunity Event Handler

Received Response
7
Views
2
Comments
edited Aug 8, 2017 2:13PM in Integrations and APIs 2 comments

Content

Hi,

I am trying to set a Rest integration from the Opportunity object event handler (PHP code).

I need to get the Primary Contact ID.

I have tried using:

 $obj->Contact->Id

 $obj->PrimaryContact->Id

 $obj->PrimaryContact->Contact->Id

With no success.

Some one knows how can i get this ID?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!