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

salesforce url

Hi I want to insert a account into salesforce when a customer is created in netsuite for this i need to build a url that would be invoked when a customer is created in netsuite  and insert a account in salesforce.



How can i build the url


please help


You can use the REST API for this, it should do everything you want. Take a moment to read through the documentation so you have a good understanding of it's potential.


If you have more custom requirements, you can also build your own REST api, using the apex:








Thank u for u r valuable information but as i have a bit urgency i saw the create record in the pdf


it gave a uri


so is this the link that i can gcall from netsuite so a account will be inserted in salesforce


curl https://instance -H "Content-Type: application/json" -d @newaccount.json -H "Authorization: Bearer token" -H "X-PrettyPrint:1"

I haven't got that much experience with the REST api myself, but that's basicly how it would work. I do think that you do still need to submit the account info in json in the message body. All the information should be in the documentation, I personally use SOAPUI to test api's, which I prefer over cURL.