function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Durai MuruganDurai Murugan 

How to get the leads list with detailed from salesforce api using php code

Hi,

i need to get the leads list with detailed from salesforce api for particular user's account using php code? any reference links available? please share 

Thanks&Regards,
Durai
Best Answer chosen by Durai Murugan
Khan AnasKhan Anas (Salesforce Developers) 
Hi Durai,

I suggest you please refer to below links which might help you further with the above issue.

https://stackoverflow.com/questions/8167385/fields-get-unwantedly-concatenated-in-salesforce-soql-query-result-developer-ne

https://stackoverflow.com/questions/15698362/trouble-with-salesforce-query-results-php-toolkit

I hope it helps you.

Kindly mark this as solved if the information was helpful. It will help to keep this community clean.

Regards,
Khan Anas

All Answers

Khan AnasKhan Anas (Salesforce Developers) 
Hi Durai,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.

https://stackoverflow.com/questions/26624143/how-to-retrieve-all-lead-fields-from-salesforce

https://ahmeddirie.com/technology/web-development/getting-record-data-from-salesforce-soap-api-using-php/

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Durai MuruganDurai Murugan
Hi Khan Anas,

Thanks for your reply. I have got the result using your reference link.  https://ahmeddirie.com/technology/web-development/getting-record-data-from-salesforce-soap-api-using-php/  .  my soql is "SELECT, LastName, FirstName,Email, Website FROM Lead" . for example   LastName="demo" , FirstName = "User",Email="demo@yopmail.com".
Here i got out like "demouserdemo@yopmail.com". firstname, lastname and email showing with seperator. SOQL Query language have concodinate? please suggest

Thanks
Khan AnasKhan Anas (Salesforce Developers) 
Hi Durai,

I suggest you please refer to below links which might help you further with the above issue.

https://stackoverflow.com/questions/8167385/fields-get-unwantedly-concatenated-in-salesforce-soql-query-result-developer-ne

https://stackoverflow.com/questions/15698362/trouble-with-salesforce-query-results-php-toolkit

I hope it helps you.

Kindly mark this as solved if the information was helpful. It will help to keep this community clean.

Regards,
Khan Anas
This was selected as the best answer
Durai MuruganDurai Murugan
Hi Khan Anas,

i have tried with this link https://stackoverflow.com/questions/15698362/trouble-with-salesforce-query-results-php-toolkit , it is working fine. Thanks for your help.

Thanks&Regards,
Durai
Khan AnasKhan Anas (Salesforce Developers) 
Hi Durai, 

It's my pleasure. I’m glad I was able to help!

Kindly mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Regards,
Khan Anas