Creating a RESTlet Query Data Source

Published: Jan 29, 2025

Creating a RESTlet Query Data Source

Published: Jan 29, 2025

SmartConnect can query data out of NetSuite via a custom NetSuite RESTlet as a data source.

Retrieve RESTlet Parameters

Before you can interact with the RESTlet, you must get the Script ID and Deployment ID from the NetSuite script record.

  1. Log into NetSuite
  2. Navigate to Customization > Scripting Script Deployments
  3. Open your RESTlet script deployment
  4. Copy the Script Id and Deployment Id from the URL and save for later

Configure RESTlet Data Source

  1. Log into SmartConnect
  2. On the left side options column expand Data Sources > Bulk Sources > Query
  1. On the Query Data Sources page click Create Bulk Query buttonCreateBulkQueryButton 4
  2. Select NetSuite RESTlet Query Data Source
  3. Name – A friendly name for the data source
  4. Connection – Select the NetSuite connection to be used from the dropdown list
  5. Click Validate – this will enable the Parameter section
  6. Add required parameters
    • Query – Added as URL parameters.
    • Body – Added to the body of the request

The Query parameters script and deploy are always required.

  1. Click Save and close the data source
Content
Retrieve RESTlet Parameters Configure RESTlet Data Source

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

Reset Filters