anilv
7 years agoNew Contributor II
Netsuite Account Setup
Hi all,
How to get the Consumer Key and Consumer Secret from NetSuite.
we need to setup the Netsutie Rest API Account in snaplogic.
Any one have idea,please help me on this.
Thanks,
Anil
Hi all,
How to get the Consumer Key and Consumer Secret from NetSuite.
we need to setup the Netsutie Rest API Account in snaplogic.
Any one have idea,please help me on this.
Thanks,
Anil
Hi @ptaylor. Nice speaking with you today. Hereās the script weāre using, not really anything proprietary in there
ns_oauth_script.txt (8.3 KB)
Thanks! That will be a big help if/when we do our version.
Hi. Can you please help me understand exactly what youāre trying to accomplish? Iām not sure what you mean by the NetSuite Rest API Account. We have a NetSuite Credentials Account (now deprecated) a NetSuite Token Account. See the following documentation: https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438997/NetSuite+Account, and click on āKnow more about generating the Token IDā¦ā under Token ID.
Hi Ptaylor,
We are trying to create a Rest API Account in snaplogic using OAuth1.0 settings.
We are able to get the Successful connection and response in Postman
And are not sure what should we enter for the required field value for
Request Token Endpoint
Access Token Endpoint
Authorize Endpointā¦
Please find attached doc with screenshotSnaplogicCommunityReply26July.docx (152.0 KB)
Why are you trying to access NetSuite with our REST snaps? Why not use the NetSuite snaps?
Since our requirement is to consume custom Rest API which does not show up in NetSuite Snap.
Iāve never attempted to do that and am not sure whether it will work, but I would study this documentation from NetSuite if you havenāt yet:
Account Administration,
Authentication,
RESTlet Authentication,
Setting up Token-based Authentication for a RESTlet integration,
Using TBA for RESTlet Authentication (OAuth)
Hi ptaylor,
Thanks,I will follow the document.
Regards,
Anil
Hi,
Iām struggling with setting up the REST account for NetSuite (TBA). Iām not quite sure what I should enter for Oauth1 and Oauth2 when it comes to endpoints.
Have you had any luck with setting up the proper account for the REST ?
FYI - Iām trying to access a script that runs a specific saved search, the results of the saved search are not available via NetSuite search snap.
Regards,
Jarek
Can you please tell me more about that? It would be best to use the NetSuite Search snap instead of the REST snap, if possible. I assume youāve configured the NetSuite Search snap to run the saved search so exactly what is the issue with the response youāre getting from the snap?
NetSuiteās Token Based Authentication is similar to OAuth but not compatible with it, so you wonāt be able to use the REST account in that way to access NetSuite with TBA.
Hi ptaylor,
I prepared a saved search within NS that returns list of employees with access (roles assigned) and their login date.
When I tried to pass the info everything was there (using NS snap) except the last login date. I had to use the script that runs this search.
I was able to use the NL Authorization within header and obtain the data, but leaving the login and password within the REST GET snap is not the ideal approach. (please find enclosed print screen - acc ID is of course fake in the PS).
Best Regards,
Jarek
Hello Jarek and ptaylor. We are trying to get this to work again. Was wondering if anyone has had success?
We need to use the restlets as this is NetSuite preferred method of accessing transient data. We use a rest snap and attempted the āget nextā loop, however, the oauth signature for netsuite needs to be recalculated for each new batch of pages. as a result we were calling a child pipeline to do the pagination and signature algorithm.
Hi Brian,
It looks like this is your first post in this thread, so can you please give some more context for āWe are trying to get this working againā. The āagainā implies you had something working before. If so, do you know why that is no longer working/sufficient?
Patrick
first post in this thread but not regarding this issue. (How to deal with paging in post response is one example). we use saved searchs with the netsuite snaps and we use a restlet with credential nlauth authentication. we are trying to convert the restlet to oauth. we had a parent pipeline that calls a child to do each batch of calls. but there were issues where the pipelines would succeed but the reports were incomplete, for example.
priorities changed but now i am back on brushing off our solution and continue down the path. mainly was curious to know if any more stable solutions have been found.