How to run restlet external url using postman with...
# ask-stanley-ai
v
How to run restlet external url using postman without NLAUTH?
c
AI generated answer (using internal Slack threads):
To run a RESTlet external URL using Postman without NLAuth, you need to use Token-Based Authentication (TBA). Here are the steps: 1. First, you need to create an Integration record in NetSuite. Go to Setup > Integration > Manage Integrations > New. Make sure to check the 'Token-Based Authentication' box. After saving, you will get a Consumer Key and Consumer Secret. Make sure to save these as they will not be shown again. 2. Assign the necessary permissions to your role for TBA. Go to Setup > Users/Roles > Manage Roles > Edit your role. Under Permissions > Setup, add 'Access Token Management' and 'User Access Tokens'. 3. Generate a Token for your user. Go to Setup > Users/Roles > Access Tokens > New. Select the Application Name (the integration you created), User and Role. After saving, you will get a Token ID and Token Secret. Again, save these as they will not be shown again. 4. In Postman, select the 'OAuth 1.0' option in the 'Authorization' tab. Fill in the following fields: - Consumer Key: The Consumer Key from step 1. - Consumer Secret: The Consumer Secret from step 1. - Token: The Token ID from step 3. - Token Secret: The Token Secret from step 3. - Signature Method: HMAC-SHA1 - Version: 1.0 - Realm: Your NetSuite Account ID (in uppercase) 5. In the 'Headers' tab, add a key 'Content-Type' with value 'application/json'. 6. Now you can make requests to your RESTlet URL. Remember, the 'Realm' value should be your NetSuite Account ID in uppercase. Also, make sure that the role used has the necessary permissions. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.862596869
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849904776
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849648893
Please provide your feedback on this answer.