+ Start a Discussion
Flight PlanFlight Plan 

Integration with external system



I am integrating external system with Salesforce.As external application exposed REST API.

So what would be the best practice to store the end points of this external systems in salesforce.


The approach I knows is

1 . Create a Interface and put all end point as interface variable i.e static final

2. Store all end point in custom setting


Anyone has a good idea on the above scenario or other approach please share with me.


Thanks in adavance

Happy Holiday


The better approach is to put in custom settings becuase, if there are any changes to the end point URLs , it can be easily updated in the custom settings by an Administrator.

If its hard coded in the code, a developer need to come into picture.


Also, as this is REST, the chance of URL changes is more often.