+ Start a Discussion

update third party after a record is created in SF

Hi ,
I have to create a new web service using REST API to update third party.  Whenever an account gets created/updated in SF it should get created/updated in third party application.  

I am planning to create an after save trigger which will call an apex class.  This apex class will be having all the logic related to API call.

I am new to API's and would like to have sample API code that pulls the data related to the account created and then sends over to the third party.

Thanks in advance for the help.