SuiteScript 2.x RESTlet Script Entry Points

Script Entry Point

 

get

Entry point for retrieving, such as retrieving a NetSuite record. Executed when a get request is sent to the RESTlet. Similar to http.get.

delete

Entry point for deleting, such as deleting a NetSuite record. Executed when a delete request is sent to the RESTlet. Similar to http.delete.

put

Entry point for putting, such as inserting/upserting a NetSuite record. Executed when a put request is sent to the RESTlet. Similar to http.put.

post

Entry point for posting, such as creating a NetSuite record. Executed when a post request is set to the RESTlet. Similar to http.post.

Related Topics

SuiteScript 2.x RESTlet Script Type
SuiteScript 2.x RESTlet Reference
SuiteScript 2.x RESTlet Script and Request Examples

General Notices