Hi ,How to to use the NetSuite SuiteTalk REST Web ...
# general
k
Hi ,How to to use the NetSuite SuiteTalk REST Web Services to access NetSuite data with postman or dotnet client application(c#) with an example ,If possible please give me in steps … as i searched in google i come across many documents its helpless. As i have seen in Suite Answers that NetSuite supports two mechanisms that increases overall system security. 1.Token-based authentication(TBA) 2.OAuth 2.0, a robust, industry standard-based mechanisms. Can you please provide me an example with above mechanism’s.Thank you
b
first step is to setup TBA, which is basically OAuth 1.0
First step are the administrator tasks
k
what exactly Three-Step TBA Authorization Flow and how to implement below steps Step 1: Obtain An Unauthorized Request Token Step 2: Authorize the Request Token Step 3: Exchange the Request Token for an Access Token
b
thats for when you want a server you control to ask for tokens
the alternative is getting a user to generate tokens for you
if you have access to the netsuite account, then i recommend Manage TBA Tokens in the NetSuite UI
k
how to test this using postman
b
do you have all 4 tokens?
k
yes i have cosumer key ,consumer secret ,token id,token secret
b
do you have the account id and the url for the rest webservices?
b
k
yes
iam getting this error
b
what url are you using
k
message has been deleted
to get employee record from netsuite data
using SuiteTalk REST WebServices
b
id double check that the realm matches the account id
k
i checked its correct setup-->integrations-->soap webservices preferences
b
whats the url
b
doesnt appear to be a vaild url
b
your error looks weird, its the kind of error id expect to see from an account that does not have the web services setup
k
message has been deleted
b
what netsuite version is the account using
k
2019.2
message has been deleted
b
probably should try it on an account on 2020.1
or contact support to get the feature setup
k
please check this snapshot is this correct
message has been deleted
b
there is no webservice behind your url
thats probably a feature related problem
for 2019.2, you would want to contact support first
k
ya finally found it its a version problem as one of my colleague is working with 2020.1 there its working but in 2019.2 its not Thank you so much battk.
how to update netsuite account
b
you dont really control that
you can take a look at the new release portlet to see your targeted update date
otherwise ask netsuite support for a leading development account for your account to be the first to be upgraded
k
As in my home page its showing
b
that suggests that you were upgraded today
check the netsuite version at the bottom of your dashboard
k
hoo kk ya i checked its showing 2019.2 battk
b
that portlet is supposed to tell you when your upgrade date is
that date is in the past, so you might want to check with netsuite support
k
can't we check the up gradation details with current logged-in account battk
planning for Product Design- Is SuiteTalk REST web services is the best approach to go among SOAP web services and restlets...? we are planning for a portel design for our Client.
b
rest web services is beta
not entirely safe
k
then which should i go for battk
mainly we are focused on vendor portal development
b
i prefer restlets since im familiar with suitescript
a more traditional method is the soap webservice
k
but if we go for restlets we need to write the script manually right
b
yes
k
but compare to soap json is faster naaa
message has been deleted
b
cant really give you performance comparisons
k
hooo kk
b
if you know suitescript well enough a restlet is an option
otherwise soap is the standard integration option
rest web service is too new and beta to really be an option
k
thats means (beta) it will get any problem if we go with rest webservices
i am good with suitescript
Hi battk Thanks a lot for your help 🙂 finally account got updated successfully to 2020.1 now i checked the url in postman its working perfect.