How to Set Up and Integrate Rest APIs in NetSuite

Поделиться
HTML-код
  • Опубликовано: 21 янв 2025

Комментарии • 58

  • @jobethhuzainadjaluddin3298
    @jobethhuzainadjaluddin3298 3 года назад +6

    I am also getting status 500 on the first GET(login attempt). Anyone experiencing this and how you fix it?

  • @mdfaizi9864
    @mdfaizi9864 Год назад

    00:02 Setting up NetSuite for REST API connections
    02:15 Setting up Rest APIs in NetSuite
    04:15 Authorization process and using Postman for Rest API
    06:20 Setting up Rest APIs in NetSuite to ensure security and successful request handling.
    08:27 Setting up authorization for Rest APIs in NetSuite
    11:04 Obtaining and refreshing access tokens in NetSuite Rest API integration.
    13:48 Setting up Rest APIs in NetSuite for querying data and limiting responses to 5.
    16:11 Setting up Rest API in NetSuite allows easy access and management of tokens for developers

  • @stalinathavan1043
    @stalinathavan1043 3 года назад +1

    same for RESTlet Scripts ?

  • @EthanSierra48
    @EthanSierra48 3 года назад +1

    Thanks a lot for this! How would you populate a multi select field when creating a customer?

  • @manthansoni8900
    @manthansoni8900 3 года назад

    Is Netsuite SOAP API supports Formula Text column from Saved Search ? because when I fetch the SOAP API saved search Data it does not return Formula text column

  • @jz4379
    @jz4379 3 года назад

    Where I can find other POST request example beside the SQL query and token

  • @humzariaz7345
    @humzariaz7345 4 года назад +2

    How you resolve invalid_grant error at 10:46 ?

    • @TheSlampor
      @TheSlampor 4 года назад +4

      Try redoing the previous step and then quickly copying the authorization code over to the post request. I was stumped on this for a while. It appears to expire after a short time.

    • @adamstrauss3155
      @adamstrauss3155 4 года назад

      There was some white space in his request that is why he get invalid_grant

  • @mshparber
    @mshparber 4 года назад

    Does code in 10:19 ever expire?
    I am building queries in Power BI. It doesn't have the ability to show login screen to user or to do redirect.
    It does successfully passes headers and body, but it needs this code. So is it changing or can I get it once manually and don't worry about it?

    • @eidebaillytechnology3915
      @eidebaillytechnology3915  4 года назад +1

      Hi Michael! Great question.The code referenced does change each time it is requested, and it expires as it is only supposed to last long enough to generate the access and refresh tokens. If you are trying to directly connect Power BI to NetSuite, you may need to use Power BI desktop to create a custom connector that can manage the token refresh process. You may also be able to use Postman or another tool to generate the access and refresh tokens to pass to your queries. Hope that helps!

    • @jakechamberlain6023
      @jakechamberlain6023 2 года назад

      @Michael Shparber - hey man, just curious whether you were able to figure out a connection using Power BI. I'm plagued by the lack of visibility to our netsuite data without a direct connection. My NetSuite knowledge is limited but I live in Power BI, so it'd be a huge lift if I could at least see the data as I trial & error my way through this integration project. Anything helps!

  • @anujraj4736
    @anujraj4736 3 года назад +1

    I'm getting invalid grant issue. How you solved this issue ? I've not added any extra white spaces which you mentioned.

  • @ntmq1986
    @ntmq1986 3 года назад

    Is there a way to use client_credentials grant type?

  • @MayankRaja0
    @MayankRaja0 3 года назад +1

    This is a great help, thank you. Is there also an example for oauth1 authorization which uses tokens pre-generated in Netsuite?

  • @vikashrawat2954
    @vikashrawat2954 3 года назад

    How to integrate netsuite with Zycus can you pls let me know about it

  • @poonamnodiya128
    @poonamnodiya128 2 года назад

    Can we demerge duplicate customer?

  • @mbasaffar
    @mbasaffar 4 года назад

    Hello
    Can i use it to pull out all inventory database and tranaction “ creat table query” to local access db?
    I want to to move to netsuite, however, i will need to keep using my self developed little software by access that i have been using since many years🤯. Untill netsuite has all data nessary in 2-3 years
    Thanks

  • @johnhohn6207
    @johnhohn6207 3 года назад +1

    Once I complete all the steps as you show here and I get the refresh_token value, can it be used forever? I,e. Can I get a new useable token next week or next year by doing a “refresh_token”authorization call using this value in the refresh_token parm?

    • @shafiqhossain6333
      @shafiqhossain6333 2 года назад +1

      Hi John. Did you ever find a way to retrieve another Refresh token without going to a manual process (Step 1)?

    • @satyamchourey6120
      @satyamchourey6120 2 года назад +1

      @@shafiqhossain6333 I am kinda looking for the same, it Expires in a week and I have to reset it manually every week. Not able to automate this as well !!

  • @אבירןיוספי
    @אבירןיוספי 3 года назад +2

    First of all thank you very much for the video.
    I get status 500 in the first GET (in the login attempt).
    know why?

    • @n317
      @n317 3 года назад

      i'm getting the same thing. Have you resolved this one?

    • @אבירןיוספי
      @אבירןיוספי 3 года назад

      @@n317 No

    • @n317
      @n317 3 года назад +5

      I have figured it out. I typed in redirect_url (L) instead of redirect_uri (i). I also got the mistake of typing in 'clientid' instead of 'client_id'

    • @אבירןיוספי
      @אבירןיוספי 3 года назад

      @@n317tnx, i will try

    • @jobethhuzainadjaluddin3298
      @jobethhuzainadjaluddin3298 3 года назад

      @@אבירןיוספי Hey, just curious if you fixed this error on your end?

  • @albertsugianto2340
    @albertsugianto2340 2 года назад +2

    if you have invalid grant problem, make sure that the body is written as "redirect_uri" not "redirect_url". Emphasis on the i vs l

    • @JBFromOZ
      @JBFromOZ 2 года назад

      YOU HELPED ME THANK YOU!!!!

  • @Weeeegeee
    @Weeeegeee 3 года назад

    What would you recommend for a "scope_mismatch" error after logging in on the local host?

  • @ngocthien9416
    @ngocthien9416 3 года назад

    At the second steps where we use code (from oauth consent screen) to post to token endpoint to get access/refresh tokens, i always got 401 Invalid login attempt message. Not sure what happened ?

  • @mycloud1976
    @mycloud1976 4 года назад +6

    If you get stuck at the POST at 10:35, repeat the previous GET request and execute the POST immediately after.

    • @mshparber
      @mshparber 4 года назад +1

      Thanks! You saved me a couple of hours!

    • @aamir0077
      @aamir0077 3 года назад

      Spent hours but eventually saw this comment. Thanks!

  • @pradeeppol4281
    @pradeeppol4281 4 года назад

    Can we generate the code in the script which we generates by copy and pasting url in the browser?

    • @eidebaillytechnology3915
      @eidebaillytechnology3915  3 года назад

      Hello Pradeep! You can retrieve the code needed to get the tokens from with your own programming code, if you wish. You just need to capture the full redirect URL with query parameters that NetSuite sends you to after logging in. The methods shown here were selected to be easy to show to mixed programmer and NetSuite admin audiences.

    • @stalinathavan1043
      @stalinathavan1043 3 года назад

      @@eidebaillytechnology3915 same video apply for REStlet scripts ??

  • @salimhossain2192
    @salimhossain2192 Год назад

    I am doing exactly same. its always returning `invalid_grant`

  • @vikassinghal8478
    @vikassinghal8478 4 года назад

    you have make my day

  • @mshparber
    @mshparber 4 года назад

    When I use "SELECT * FROM customer" - it works, but when I use "SELECT * FROM journalentry" - it gives Bad Request 400 error:
    "title": "Invalid search query Search error occurred: Record 'journalentry' was not found.."
    I do see this record in my RecordsBrowser. I also am able to get results if I call "/record/v1/journalEntry". So why my "/query/v1/suiteql" doesn't work with journalentries?

    • @anchitaggarwal3206
      @anchitaggarwal3206 2 года назад

      Hi, I am stuck with /record/v1/journalEntry could you help me with the same

  • @mshparber
    @mshparber 4 года назад +1

    Thanks a lot! Where can I find the documentations of ERD objects available to query? For example, I want to get journal entries data. How do I know what select to write? Thanks!

    • @eidebaillytechnology3915
      @eidebaillytechnology3915  4 года назад +1

      Hi Michale! Oracle does not make an ERD diagram available to users, but there are several documents you could reference to help find the records you want. If the records are available in the REST web services directly (as Journal Entries is) you can find them in the REST API browser here: system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2020.2/index.html
      There is also the instance-specific schema/record/ analytics browser at: .app.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2020_1/analytics/record/account.html
      You should be able to use the internal ID names in your FROM clauses.

      And within NetSuite, you can go to Setup > Records Catalog to see the records catalog. Hope this helps!

    • @mshparber
      @mshparber 4 года назад

      @@eidebaillytechnology3915 It helps very much! Thank you!!!

    • @mshparber
      @mshparber 4 года назад

      @@eidebaillytechnology3915 Thanks a lot!

  • @Kmeg12
    @Kmeg12 3 года назад

    Is this apart of the bundle in NetSuite? The application name in the video and the bundle in NS have the same name.

  • @jankool01
    @jankool01 4 года назад

    Very good.

  • @joycejacob3561
    @joycejacob3561 4 года назад

    Thanks a lot!

  • @xbots4196
    @xbots4196 4 года назад

    Thank you very much for this video. It was really helpful. I am following same steps as mentioned in the video, but when I am trying to construct the link, I am always getting 401 unauthorized error. Appreciate if anyone could help me out here.

  • @vishal00764
    @vishal00764 3 года назад +1

    How to create INVOICE in NetSuite using API's

  • @yashdas2531
    @yashdas2531 4 года назад

    Amazing... Thanks for sharing.

  • @taufeeqahmad9813
    @taufeeqahmad9813 4 года назад

    nice

  • @ezequielfernandez3119
    @ezequielfernandez3119 4 года назад

    I wonder why oracle did this real SHITT service..