NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Rev Rec Template → Insert or update record

AI-generated

Summary

Insert or update a Rev Rec Template record in NetSuite by specifying its external identifier and associated fields.

Inputs

  • id (required) — External identifier of the Rev Rec Template to insert or update.
  • authMethod — Authentication method to use, either OAuth1 or OAuth2 (default: OAuth1).
  • isDebugMode — Whether to include full request and response info in the output (default: false).
  • additionalFields — Collection of optional fields and subfields to set on the Rev Rec Template record, such as amortization type, amount, name, inactive status, recognition parameters, recurrence details, and validation preferences.
  • customFields — List of custom fields with field names, types, and values to include in the record.

Output shape

a JSON object containing the response from NetSuite after inserting or updating the Rev Rec Template record, optionally including full request and response info if debug mode is enabled.

The operation requires the 'id' input to specify the record to update; it supports both insert and update semantics via HTTP PUT to the /revRecTemplate/{id} endpoint. The response includes server data confirming the operation, and debug details if requested.

Links

Discussion