NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Work Order Close → Insert record

AI-generated

Summary

Insert a new Work Order Close record in NetSuite using specified fields, supporting detailed customization and custom fields.

Inputs

  • Authentication Method — Choose authentication method: OAuth1 (default) or OAuth2.
  • Additional Fields — Specify optional properties of the Work Order Close record such as Class, Component items, Created From references, Currency Precision, Custom Form, Dates, Department, External ID, Item, Location, Memo, Posting Period, Quantity details, Revision, Scrap Amount, Subsidiary, Work Order Quantity, Reference Name, and more. Supports complex nested structures like multiple Component items.
  • Custom Fields — Add custom fields to the Work Order Close record by selecting field name, type (Boolean, Date Time, Multi Select, Number, Select, String), and providing values accordingly.
  • Debug Mode — Enable to include full request and response information in the output for troubleshooting.

Output shape

a JSON object representing the newly created Work Order Close record with response details; includes full HTTP request and response data if Debug Mode is enabled.

Supports asynchronous request execution if 'Prefer' header is set to 'respond-async'. Custom fields are fully supported and must be specified within the provided structure. The output includes error information in debug mode. Pagination is not applicable as this operation inserts a single record.

Examples

Example 1: Insert a Work Order Close record with required and additional fields including Class and Component items

Authentication via OAuth1; Additional Fields set with Class id and multiple Component items with item IDs and quantities; Debug Mode off; no custom fields.

Example 2: Insert a Work Order Close record with custom fields and debug enabled

Authentication via OAuth2; Additional Fields set minimally; Custom Fields specifying Boolean and String types; Debug Mode enabled to capture detailed request and response data.

Links

Discussion