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.

Rookie Asked on June 20, 2023 in Saved Searches.
Add Comment
1 Answer(s)

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:

https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_156577938018.html#subsect_159656262125

Thanks,

Chris

Intermediate Answered on June 23, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor