+ Start a Discussion
subba reddy 4subba reddy 4 

what is the need of custom web services?

using force.com standard rest api's we can achieve all the functionality then what is the need of custom web services?
JitendraJitendra
Using Standard REST API you can directly perform CRUD operations. However, what if you need to perfrom some logics before inserting records, or sending custom emails to someone or perform some other operations than just simple CRUD operations and there you will need Custom WebService. 
 
subba reddy 4subba reddy 4
Hi Jitendra,

Thanks for your reply, I think all the data operations and other actions can be done througu before and after insert tiggers. the main reasons i see for custom web services are 1.custom response back to them rather than complete object 2.for callout we need to have custom web services.

Please correct me if i am wrong.