You need to sign in to do that
Don't have an account?

Salesforce Integration using REST API with an external application
Hi,
We are looking to create a record (Asset) as an appliance in an external system from Salesforce.
This would get triggered when a button is clicked upon on the Asset object
Can you please guide to some code samples that use REST APIs to connect to external systems and insert records in it and in return fetch a value which is created in the external system.
Requests:
Action |HTTP Method| URL|
Create | POST | http://xyz.com/sfapi/appliance/
Read GET http://rxyz.com/sfapi/appliance/:id
Update PUT http://xyz.com/sfapi/appliance/:id
Delete DELETE http://rmc.com/sfapi/appliance/:id
Check out tutorial 4 of the Force.com Integration workbook http://wiki.developerforce.com/page/Force.com_workbook#Force.com_Integration_Workbook - it shows how to send a message to an external service and write the response into a record in Force.com.
All Answers
Check out tutorial 4 of the Force.com Integration workbook http://wiki.developerforce.com/page/Force.com_workbook#Force.com_Integration_Workbook - it shows how to send a message to an external service and write the response into a record in Force.com.
Thank you very much Pat!
Appreciate the help.
I believe we will also be able to create a record in the external application using this.
Just have to add that logic of inserting a record from Salesforce into it using the JSON.
Thanks,
Rest api to create a record from one salesforce system to another salesforce system,
https://www.sfdc-lightning.com/2019/01/salesforce-rest-api-integration-to-create-a-record.html