RE: Invoking Restlet from Postman
I have a saved search that I’d like to call from Postman. I tried using Tim’s script as a Restlet and called it from Postman with a HTTP POST to https://{netsuiteAccount}.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script={scriptId}&deploy=1 and sending { “searchID”: “mySavedSearchId” } in the body. Postman says could not get response.
Any thoughts how to make this work? Or perhaps even use Netsuite Rest API to execute a query? I could try SuiteQL but idk enough about querying the NS database. Thanks for you help in advance.
Hi,
What exact message do you get? Could you send us some screenshots from Postman?
You can’t run a Saved Search with REST and I appreciate that SuiteQL might not be your thing but… You can run a SuiteAnalytics Dataset:
Thanks,
Chris