NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Time Sheet → Insert or update record

AI-generated

Summary

Insert or update a Time Sheet record in NetSuite by specifying its unique external identifier and other optional fields.

Inputs

  • id (required) — The external identifier of the Time Sheet record to insert or update.
  • isDebugMode — Enable to include full request and response information in the output for debugging purposes.
  • additionalFields — Optional additional metadata and fields to set or update on the Time Sheet record, including approval status, employee, dates, hours, subsidiary, lock status, and other properties as well as entity references.
  • customFields — A collection of custom fields to set or update on the Time Sheet record, supporting various types such as boolean, dateTime, multiSelect, number, select, and string.

Output shape

A JSON object representing the inserted or updated Time Sheet record from NetSuite, optionally including full request and response info if Debug Mode is enabled.

The operation uses a PUT method with the specified external ID to insert a new or update an existing Time Sheet record. Custom fields and additional record fields can be supplied. The output conforms to NetSuite's REST API response format. No pagination applies.

Discussion