Tag: Rest API
Workflow state that can impact REST Webservices.
After creating the Integration records and access tokens for connecting the NetSuite account, when we try to fetch a particular record data from the account an error is returned throwing a ‘Permission issue’.The REST API role has the required permissions added in the role section. If there is a workflow deployed to the record for… Continue reading Workflow state that can impact REST Webservices.
How to connect Service (Sale) Items via REST API
Create API Credentials: Log in to your NetSuite account as an administrator. Navigate to “Setup” > “Integration” > “Manage Integrations” > “New.” Create a new integration record and generate the API credentials (e.g., Consumer Key, Consumer Secret, Token ID, Token Secret). Take note of these credentials as they will be used to authenticate your API… Continue reading How to connect Service (Sale) Items via REST API
Proposal for BigCommerce- NetSuite integration via REST API
PROPOSAL SUMMARY This proposal covers the scope of BigCommerce – NetSuite Integration via REST API. REQUIREMENT A solution to sync the Items, customers, Orders, Shipments, Refund between Big Commerce and NetSuite. PREREQUSITES Need to create Account API prior to integration in Big Commerce. Only store owner account in Big Commerce can set up Account API. So, the… Continue reading Proposal for BigCommerce- NetSuite integration via REST API
How to fix a Restlet request error in Postman while testing
Check if the Restlet URL used is correct compared with the Restlet script record ‘External URL link’ field value. Check if the Request type is correct(GET/POST/PUT…) Check if correct values are used for consumer key, consumer secret, access token, and token secret.We can create a new integration in NetSuite through navigation: SetUp > Integration >… Continue reading How to fix a Restlet request error in Postman while testing
Passing the data in response to the next step in Rest API connection – Celigo
After the import step go to the response mapping and create a mapping for the _json field as the following The HTTP response looks like the following Then in the field mapping add the path to this value in HTTP response and map it with the field in which we need to add this data
Iterating through an array in the handlebar
If you have an array of objects, using the following way we can iterate through each object
How to generate Basic authentication headers for REST API in suitescript?
REST API supports only ‘Basic authentication’ and ‘OAuth 1.0a’ authentication methods.We can generate Basic authentication headers for REST API requests in suitescript using suitescript modules from the username and API token(password).Authentication header need to be passed as header with every request that require authentication. If we use Postman software we can see an authentication header… Continue reading How to generate Basic authentication headers for REST API in suitescript?
HOW TO: Use handlebars to pass the value of a variable in an array as part of the Relative URI
In this scenario, you need to pass the value of a variable in an array. You have 3 items in your array and would like to send the product as part of the Relative URI { “Data”: [ { “product”: “bikes” }, { “product”: “snowboards” }, { “product”: “skis” } ] } Choose Yes (Advanced) on the One… Continue reading HOW TO: Use handlebars to pass the value of a variable in an array as part of the Relative URI
Specifying Path to Records in Celigo
Celigo has a feature to add the path to records called Path to records in the HTTP response body under the Non-standard API response header in the export step. This optional field allows integrator.io to locate the resource (or set of resources) returned from an API call. If the HTTP response from an API contains… Continue reading Specifying Path to Records in Celigo