SuiteScript 2.x RESTlet Script Entry Points
Script Entry Point |
|
---|---|
Entry point for retrieving, such as retrieving a NetSuite record. Executed when a get request is sent to the RESTlet. Similar to http.get. |
|
Entry point for deleting, such as deleting a NetSuite record. Executed when a delete request is sent to the RESTlet. Similar to http.delete. |
|
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. |
|
Entry point for posting, such as creating a NetSuite record. Executed when a post request is set to the RESTlet. Similar to http.post. |