Forum Discussion

anilv's avatar
anilv
New Contributor II
6 years ago

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

24 Replies

    • ptaylor's avatar
      ptaylor
      Employee

      Thanks! That will be a big help if/when we do our version.

    • Sombit's avatar
      Sombit
      New Contributor

      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?

    • Sombit's avatar
      Sombit
      New Contributor

      Since our requirement is to consume custom Rest API which does not show up in NetSuite Snap.

      • ptaylor's avatar
        ptaylor
        Employee

        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)

  • anilv's avatar
    anilv
    New Contributor II

    Hi ptaylor,

    Thanks,I will follow the document.

    Regards,
    Anil

  • Jarek's avatar
    Jarek
    New Contributor

    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

    • ptaylor's avatar
      ptaylor
      Employee

      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.

      • Jarek's avatar
        Jarek
        New Contributor

        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

  • brianrandolph's avatar
    brianrandolph
    New Contributor III

    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.

    • ptaylor's avatar
      ptaylor
      Employee

      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

      • brianrandolph's avatar
        brianrandolph
        New Contributor III

        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.