How to Get Opportunity Data from Salesforce Through API in PHP

To access opportunities data from Salesforce via soap api call get security token, Username and Password.

Also need force Soapclient library files. You can get these files from this link https://github.com/developerforce/Force.com-Toolkit-for-PHP/tree/master/soapclient

You can get opportunities data through query string for example Select Name, Opportunity_ID__c From Opportunity. Select required parameter data as per you need.

Use below sample code to execute the salesforce api in php:

Recommended Posts For You

About Harish

I am professional web developer and blogger. Use this blog to share own api and other web development experience with you. I do accept paid work. Write to me at - [email protected]

View all posts by Harish

3 thoughts on “How to Get Opportunity Data from Salesforce Through API in PHP”

Leave a Comment

Your email address will not be published. Required fields are marked *