get
Description |
Defines the function that is executed when a get request is sent to a RESTlet. Typically used for retrieving, such as retrieving a NetSuite record. |
Returns |
An HTTP response body is returned with a string or Object.
|
Since |
Version 2015 Release 2 |
Parameters
The requestParams
parameter is a JavaScript object. It is automatically passed to the RESTlet script entry point by NetSuite.
Parameter |
Type |
Required / Optional |
Description |
Since |
---|---|---|---|---|
|
Object |
required, but automatically passed by NetSuite |
The parameters from the HTTP request URL. For all content types, parameters are passed as a JavaScript Object. |
Version 2015 Release 2 |