Would you be able to point to any examples of resl...
# suitescript
p
Would you be able to point to any examples of reslet calling the 3rd Party API?
t
You want a restlet to make an outbound call to a 3rd party api?
m
You can make calls from a script with the 'N/http' or 'N/https' modules. Suitescript docs have some basic examples.
p
Not sure if that is the ideal approach. I have a restlet that returns information that I need to then send to a 3rd party API. I was going to create a separate program that calls the RestLet and then pass it to a 3rd Party API outside of NetSuite. Just curious if there is a way to do it all in NetSuite on a reoccurring schedule instead of having to manage a separate app that runs on a scheduler
b
your choices are a scheduled or map/reduce script that runs on a schedule and uses N/https to directly call the 3rd party api
👍 1
or your separate program
p
ok ty