NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Work Order → Insert record

AI-generated

Summary

Insert a new Work Order record in NetSuite by specifying required and optional fields, including detailed nested fields and custom fields, with options for debugging and asynchronous request handling.

Inputs

  • Debug Mode — Toggle to include full request and response details in the output for troubleshooting.
  • Additional Fields — Specify detailed properties for the Work Order including assembly item, items list, dates, status, location, subsidiary, memo, quantity, and other relevant attributes following NetSuite's Work Order schema.
  • Custom Fields — Include one or more custom fields with specified field names, types, and values to be set on the Work Order record.
  • Prefer — Request asynchronous execution of the insert operation by setting this to 'respond-async'.
  • X-NetSuite-Idempotency-Key — Provide a unique idempotency key (UUID) to ensure the operation executes only once when using asynchronous requests.
  • X-NetSuite-PropertyNameValidation — Set strictness level for property name validation: Error, Warning, or Ignore.
  • X-NetSuite-PropertyValueValidation — Set strictness level for property value validation: Error, Warning, or Ignore.

Output shape

a single record representing the created Work Order with its properties as returned by NetSuite, optionally enriched with full request and response info if Debug Mode is enabled

The output includes the inserted Work Order data returned by NetSuite. If Debug Mode is enabled, full request and response information is included. Asynchronous execution can be requested, in which case the response may indicate processing status. Custom fields and deeply nested object structures are supported; ensure correctness for successful insertion.

Discussion