NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Work Order → Get record

AI-generated

Summary

Retrieve a specific Work Order record by its internal identifier from NetSuite, optionally including expanded sub-resources and customized fields.

Inputs

  • Id (required) — Specify the internal identifier of the Work Order record to retrieve.
  • Debug Mode — Select whether to include the full request and response information in the output for debugging purposes.
  • Additional Fields — Optional parameters to customize the response, including expanding all sub-resources, selecting specific fields and sublists to return, choosing asynchronous execution, returning enumeration values as internal IDs only, and setting an idempotency key for asynchronous requests.

Output shape

a single Work Order record object with fields as specified, optionally including expanded sublists and subrecords, along with optional debug metadata if enabled.

The output shape depends on 'Additional Fields' parameters such as 'fields' and 'expandSubResources' which filter or expand the returned data. If 'Debug Mode' is enabled, the output includes full request and response details. When 'Prefer' is set to 'respond-async', the response may be asynchronous, and the idempotency key applies.

Examples

Example 1: Get Work Order with all sub-resources expanded and debug information

Set Id to the Work Order internal ID, enable 'Expand Sub Resources' and 'Debug Mode'.

Discussion