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
Soundhariyaa MSoundhariyaa M 

When to use SOAP/REST Standard API and SOAP/REST Web Service

Hi,

Could you please help me understand when to use SOAP/REST Standard API [<sandbox base URL>/services/Soap/c/56.0] and when to use SOAP/REST Web Services?

We can always go with Standard API, right? Why there is a need of creating a Web Service?

Thanks & Regards,
Soundhariyaa
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Soundhariyaa,

If you want to rerive some records or create some records in salesforce with out any maniplation you can use standard API.

If you want to call some external services or if you want some  custom logic to happen and then process creation or updation of the record then we generally use Web Services by writing the apex class and using them.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,