NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Issue → Get record

AI-generated

Summary

Retrieve a NetSuite Issue record by its internal ID, optionally filtering selected fields, expanding subresources, and adjusting response formatting; optionally include full request/response debug data.

Inputs

  • Debug Mode — Toggle to include full HTTP request and response information in the output for troubleshooting.
  • Id (required) — Internal numeric identifier of the Issue record to retrieve.
  • Expand Sub Resources — When true, NetSuite automatically expands all sublists, sublist lines, and subrecords on the returned record.
  • Fields — Comma‑separated list of field or sublist names to return; if omitted, all available fields are returned.
  • Prefer — Client preference header; set to "respond‑async" to execute the request asynchronously.
  • Simple Enum Format — When true, enumeration field values are returned only as their internal ID instead of the full enum object.
  • X‑NetSuite‑Idempotency‑Key — Unique UUID provided for asynchronous requests to ensure the request executes only once; ignored for synchronous calls.

Output shape

a single Issue record object (JSON) returned by NetSuite, optionally wrapped with debug request/response details when Debug Mode is true

If "Expand Sub Resources" is true, sublists and subrecords are fully expanded; otherwise they appear as references. Specifying a non-empty "Fields" string limits the returned data to those field names. With "Prefer: respond‑async", the node returns an immediate status object and the actual record is available only later; the output will contain a "Preference‑applied: respond‑async" header in the debug information.

Examples

Example 1: Fetch complete Issue record by ID

Id: 123456 ; Debug Mode: false; Additional Fields: none

Example 2: Fetch only specific fields and request async processing

Id: 123456 ; Additional Fields: Fields=title, status ; Prefer: respond-async ; X-NetSuite-Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000

Example 3: Debug the underlying call and expand subresources

Id: 123456 ; Debug Mode: true ; Expand Sub Resources: true

Discussion