We can write get and post method in API using node js. We rae using Postman for testing here. We can write API’s in node JS for send and recieving the requests. By using this code we can get the values in postman as well as in server. First we need to install the Express… Continue reading How to send get and post request in API using Node JS & using Postman
Tag: api
Automating NetSuite Sales Order Record Creation with Postman
Understanding Netsuite API Netsuite provides a robust SuiteTalk API that allows developers to interact with Netsuite functionalities programmatically. To create a Sales Order record, you’ll need to make a POST request to the appropriate endpoint with the necessary data in the request body. This is where Postman comes into play. Setting Up Postman Postman: https://www.postman.com/… Continue reading Automating NetSuite Sales Order Record Creation with Postman
APIs for POS sales and sales return data
APIs for POS sales and sales return data
Restrict the items based on subsidiary for all the global searches including plp page without getting issue in pagination and total items.
using this Methode we can restrict the items for the Seach using Api based on subsider in the profile model we can get the API using that Api we can restrict the items on the search and PLP if we are using the Custome field then we also we need to add that fields in… Continue reading Restrict the items based on subsidiary for all the global searches including plp page without getting issue in pagination and total items.
Execution of API in Postman
New – This is where you will create a new request, collection, or environment. Import – This is used to import a collection or environment. There are options such as importing from a file, folder, link, or pasting the raw text. Runner – Automation tests can be executed through the Collection Runner. This will be… Continue reading Execution of API in Postman
Postman For API Testing
Postman is a widely used tool for testing APIs, allowing developers to easily send requests and receive responses from APIs. It provides a user-friendly interface for making HTTP requests, which simplifies the process of testing APIs and reduces the time needed to fix errors. Postman supports a variety of HTTP methods, including GET, POST, PUT,… Continue reading Postman For API Testing
Custom module for API Configuration of NetSuite-TrackTraceRX Integration.
Custom module for API Configuration of NetSuite-TrackTraceRX Integration.
Sending, Deleting SO data: Third party Integration
When a SO is created the Sales order data is pushed to a third party called NUMERIK using API. And wen the same SO is deleted, the same will be deleted from NUMERIK
Converting credentials to base 64 formats for the API call (Access token retrieval)
The function converts the string combining the username and password to base 64 format and apply in the API call for generating the access token. Sample API request code snippet let accessTokenresponse = https.post({ url: AUTH_URL, headers: { ‘Content-Type’: ‘application/x-www-form-urlencoded’, ‘Authorization’: ‘Basic ‘ + getBasicAuthorisation(credentialFetch), }, body: { ‘grant_type’: ‘client_credentials’, } }); /** * @description… Continue reading Converting credentials to base 64 formats for the API call (Access token retrieval)
Suitelet API to create RMa record in NetSuite
Suitelet API to create RMa record in NetSuite