NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Task → Get record

AI-generated

Summary

Retrieve a Task record from NetSuite by its internal identifier (Id), optionally customizing the response fields, expanding nested subresources, and controlling server behavior via preferences.

Inputs

  • Id (required) — The internal identifier of the Task record to retrieve.
  • Debug Mode — If enabled, includes detailed request and response information in the output.
  • Additional Fields — Optional settings including: whether to expand all sublists and subrecords (Expand Sub Resources); specific fields or sublists to return (Fields); server-side execution preference (Prefer), e.g., asynchronous execution; simple enumeration formatting (Simple Enum Format); and an idempotency key for asynchronous requests (X - Net Suite - Idempotency - Key).

Output shape

a JSON object representing the requested Task record with requested fields and subresources, or asynchronous request info if requested.

Output includes full request and response details if Debug Mode is enabled. Response fields can be limited by the 'Fields' parameter. Asynchronous execution uses the 'Prefer' header; if 'respond-async' is set, response indicates asynchronous operation status. Idempotency key applies only to asynchronous requests.

Discussion