hi everybody, quick question... What is the best ...
# suitescript
f
hi everybody, quick question... What is the best way to push data out of netsuite to a third party REST service? (for example....Everytime an invoice is created, i want to connect to a REST service using user and pass auth, and post some information) i was thinking using https.post module ....however not sure how to authenticate
b
an integration platform is always a nice choice if you want a consistent interface
otherwise the authentication has more to do with the service, rarely do you have a choice
if you are writing this yourself, the primary choices are a user event script or a map/reduce/scheduled script
user event scripts affects performance greatly, so determine if they are appropiate
r
If its not time critical (real time) use a SS/MR else UE. OR pist info from to a log record and then process it so you can retry if it fails
c
I usually look to do this via Celigo
👍 1
You can do this purely in SS but you don't get the benefit of middleware to 'guarantee' delivery, provide queueing etc.