NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Estimate → Get record

AI-generated

Summary

Retrieve a NetSuite Estimate record by ID, optionally selecting fields, expanding subresources, requesting asynchronous execution, and including debug details.

Inputs

  • isDebugMode — Include the raw HTTP request and response in the output for troubleshooting.
  • id (required) — Internal identifier of the estimate record to fetch.
  • expandSubResources — Set to true to automatically expand all sublists, sublist lines, and subrecords on the estimate.
  • fields — Comma‑separated list of field and sublist names to return; only these are included if specified.
  • Prefer — Set to 'respond-async' to execute the request asynchronously; the response will contain a status URL.
  • simpleEnumFormat — Return enumeration values as only the internal ID, omitting labels.
  • X-NetSuite-Idempotency-Key — Unique key for idempotent asynchronous requests; ignored for synchronous calls.

Output shape

returns a single Estimate object (or the async status) and, if Debug Mode is enabled, includes headers, request and response bodies.

If Prefer is 'respond-async', the node returns immediately with a 202 status and a link to poll the operation. When expandSubResources is true, all subrecords are expanded in the response. Enumeration fields can be simplified with simpleEnumFormat.

Examples

Example 1: Retrieve a full estimate by ID

Set Resource: Estimate, Operation: Get record, Id: 12345, Leave all options at defaults.

Example 2: Get only specific fields

Set Id: 67890, Additional Fields → Fields: "tranid,entity,amount", leave expandSubResources false.

Example 3: Debug request and response

Enable Debug Mode; the output will contain the full HTTP request and raw response in addition to the estimate data.

Discussion