put
Description |
Defines the function that is executed when a PUT request is sent to a RESTlet. Typically used for putting, such as inserting/upserting a NetSuite record. |
Returns |
An HTTP response body is returned with a string or Object.
|
Since |
Version 2015 Release 2 |
Parameters
The requestBody
parameter is a JavaScript object. It is automatically passed to the RESTlet script entry point by NetSuite.
Parameter |
Type |
Required / Optional |
Description |
Since |
---|---|---|---|---|
|
string | Object |
required, but automatically passed by NetSuite |
The HTTP request body.
|
Version 2015 Release 2 |