RESTlet Script Setup
SuiteAPI Overview
SuiteAPI is an open source, alternative Web API for the NetSuite platform. It makes it easy for developers to integrate with NetSuite, regardless of the type of application that they're developing or the technology they're developing it with.
SharpSync has developed its own script based on the SuiteAPI open source code. You can follow the below steps to setup your NetSuite instance to use the SharpSync RESTlet script:
Step: Save The SharpSync Script Locally
Step: Upload Script File To NetSuite
In NetSuite Navigate to
Documents>Files>File Cabinet, select the system folder calledSuiteScriptsClick on the
New Folderbutton againFolder name:
SharpSyncSubfolder of:
SuiteScriptsType
Documents and FilesClick
Save
With the
SharpSyncfolder selected in NetSuite, clickAdd FileSelect the
sharpsync-restlet-script.jsfile saved from the previous step
Step: Create Script Deployment Record
Navigate to
Setup>Customization>Scripts>New
or
Navigate to
Customization>Scripting>Scripts>NewIn the Script file entry, enter
sharpsync-restlet-script.jsClick
Create Script RecordOn the new form enter the values:
Name:
SharpSyncRESTletScriptID:
sharpsync-restlet-scriptDescription:
Restlet for uploading files and thumbnails for SharpSync and creating items for advanced BOMS
Click on the
Deploymentstab at the bottom and in the first row setTitle:
SharpSyncRESTletScriptDeploymentID:
harpsync-restlet-script-deploymentDeployed:
YesStatus: Change from
TestingtoReleased
Click
SaveClick the Deployments tab
Click on the title of the deployment (
SharpSyncRESTletScriptDeployment)Click
Editto edit the deploymentMake sure you have checked the following audiences:
Audience-->Roles-->All RolesAudience-->Roles-->All Employees
Click
SaveTake note of the External URL. It will look something like this:
https://{companyId}.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=925&deploy=1
Make sure to save the
scriptIdanddeploymentIdin the above url for later use
You are now done configuring the script in NetSuite.
Original Source
SharpSync's script was developed based on the original work by Tim Dietrich.
See Also SuiteAPI
If for some reason the website below is unavailable, a copy of the Suite API zip file can be found here: SuiteAPI-v2022.1.zip
Last updated