Someone on the architecture team asked me if Netsu...
# suitescript
c
Someone on the architecture team asked me if Netsuite support "standard webhooks"? I told them about Suitescript with restlets and user events. Is there anything else that could support standard webhooks?
b
in general suitescript is inconvenient for webhooks
restlets require a rare form of authentication
c
I think that's there thought
b
suitelets require setting headers to pretend to be a browser
c
so does Netsuite support standard webhooks? Im not a developer myself so I wasn't sure exactly what that could mean
b
webhooks are generally endpoints that you post data to
c
the explanation I got was Webhooks are more "low-code" where you can hook on to predefined events and the app would do a simple post to the configured webhook url.
They were concerned about the high LOE of configuring a suitescript
b
the options available in suitescript are nonstandard enough that they dont work with most tools
and are not low code
you typically need another server to service the webservice requests and have that send the data to netsuite instead
c
So how is the connection made from Netsuite? Is it Suitescript or SOAP?
b
what direction is the data going in
c
I believe From Netsuite to an internal system
Would webhooks be handled through SuiteTalk?
b
either way suiteltalk is not going to be an option
c
I need to find out the exact use case they are looking for, but why would Suitetalk not be an option?
b
because its an api, your server makes a request to netsuite and receives back a response
a webhook starting from netsuite to the receiving server's webhok url would be triggered by some event in netsuite
the other server has no control over the event, unlike an api where the other server starts the process by making a request
if you wanted netsuite to be receiving webhook events, then you want to use a suitelet or restlet
if you wanted netsuite to be sending the webhook events, you can use a user event script
mostly because webhooks are usually 'realtime
c
ok so it sounds like there really aren't any options for "standard webhooks". Suitescript seems to be the best option to send and receive information from NS. Why would SuiteTalk not be an option in you wanted Netsuite to receive the event from our internal server? Like if they performed an action in another system and had it create a record in NS. (Currently I am testing a Restlet to do this, but I was wondering why Suitetalk isn't an option)
b
suitetalk is an api
lookup the differences between an api and a webhook
c
ok thank you for your help. I think you answer like 90% of my suitescript questions