NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Service Sale Item → Get record

AI-generated

Summary

Retrieve a Service Sale Item record from NetSuite by its internal identifier, with options to customize the fields returned and response behavior.

Inputs

  • Id (required) — The internal identifier of the Service Sale Item record to retrieve.
  • Debug Mode — Whether to include full HTTP request and response details in the output for debugging purposes.
  • Additional Fields — Optional parameters to refine the record retrieval, including: 'Expand Sub Resources' to include all sublists and subrecords; 'Fields' to specify particular fields and sublists to return; 'Prefer' header to request asynchronous response; 'Simple Enum Format' to simplify enumeration values; and 'X - Net Suite - Idempotency - Key' to ensure single execution for async calls.

Output shape

A single Service Sale Item record as returned by the NetSuite REST API, optionally augmented with debug information if enabled.

By default, the entire record is returned unless specific fields are set. Using the 'Prefer' parameter with 'respond-async' may trigger asynchronous execution, returning a header indicating the request status. Debug Mode, if enabled, adds detailed request and response information to the output.

Examples

Example 1: Fetch Service Sale Item with ID 123, returning all fields.

Set 'Id' to 123, keep 'Fields' empty, and 'Debug Mode' off.

Example 2: Fetch Service Sale Item with ID 456, returning only specified fields and expanded sub-resources.

Set 'Id' to 456, specify desired fields in 'Fields', set 'Expand Sub Resources' to true.

Discussion