Download file using API

Hi All,

I have a webpage below screenshot where I need to Type the susbcription number and press enter to download file in csv format . The problem is the webpage takes lot of time to load as there are many datas. If I want to make faster via API connection and download file how should I proceed ?


@marina.dutta

You need to contact your internal netsuite team to provide the api to you…you cannot create an api yourself…

Cheers

Hi @marina.dutta ,

For example if your link to download is
www.google.com/1234.xlsx
and if 1234 is your subscription no
then u can just modify the link accordingly

U can Try getting the Link And Update the endpoint in the below file
Download_Via_API.zip (3.0 KB)

Hope it helps you out!

@Vikas_M
This is my url given below. it navigates to below page then I need to enter the susbcription number and download .

https://3822968.app.netsuite.com/app/common/search/searchresults.nl?searchid=3384&whence=

Check the URL , after entering the subscription Id or after submitting it

There will be a Slight change in the URL where the Subscription ID will be embed to it

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.