+ Start a Discussion
SandrineSandrine 

Expose the custom object to external API

Hello,

I have created a connected app.
How can i expose a custom object for web service ?

thank you for suggestion
Best Answer chosen by Sandrine
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

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

https://stackoverflow.com/questions/6922833/sales-force-exposing-custom-objects-via-rest-api

https://salesforce.stackexchange.com/questions/201194/expose-data-to-external-system

https://engineering.gosquared.com/salesforce-rest-api-integration

https://www.greytrix.com/blogs/salesforce/2018/06/04/creating-an-endpoint-in-salesforce-and-using-rest-api-to-externally-access-it/

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

All Answers

Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

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

https://stackoverflow.com/questions/6922833/sales-force-exposing-custom-objects-via-rest-api

https://salesforce.stackexchange.com/questions/201194/expose-data-to-external-system

https://engineering.gosquared.com/salesforce-rest-api-integration

https://www.greytrix.com/blogs/salesforce/2018/06/04/creating-an-endpoint-in-salesforce-and-using-rest-api-to-externally-access-it/

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
This was selected as the best answer
Ajay K DubediAjay K Dubedi
Hi Sandrine,

You want to use your salesforce connected app as web services, Great!.
There are two solutions to your problem. You can choose-

1. OOB Rest API
2. Develop custom rest API

Here is the link to get a solution to your problem in detail.

   https://salesforce.stackexchange.com/questions/201194/expose-data-to-external-system



I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com