Would you be able to point to any examples of reslet calling the 3rd Party API?
t
The Usual Suspect
10/13/2020, 9:59 PM
You want a restlet to make an outbound call to a 3rd party api?
m
mdr
10/13/2020, 10:33 PM
You can make calls from a script with the 'N/http' or 'N/https' modules. Suitescript docs have some basic examples.
p
profwolfe
10/13/2020, 11:29 PM
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
battk
10/14/2020, 12:24 AM
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