SuiteScript 2.x RESTlet Script Entry Points and API

Script Entry Point

Description

RESTlet Script get Entry Point

Lets you retrieve something (like a NetSuite record). Runs when a get request calls the RESTlet-like http.get. Returns an HTTP response body.

RESTlet Script delete Entry Point

Lets you delete something (like a NetSuite record). Runs when a delete request calls the RESTlet-like http.delete. Returns an HTTP response body.

RESTlet Script put Entry Point

Lets you insert or upsert something (like a NetSuite record). Runs when a put request calls the RESTlet-like http.put. Returns an HTTP response body.

RESTlet Script post Entry Point

Lets you create something (like a NetSuite record). Runs when a post request calls the RESTlet-like http.post. Returns an HTTP response body.

Related Topics

General Notices