NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Subscription Plan → Get record

AI-generated

Summary

Retrieve a Subscription Plan record by its internal identifier from NetSuite, optionally including expanded sub-resources and specific fields, with support for asynchronous request execution and debug output.

Inputs

  • Id (required) — The internal identifier of the Subscription Plan record to retrieve.
  • Debug Mode — Whether to include full request and response details in the output for debugging purposes.
  • Additional Fields — Optional parameters to customize the retrieval, including expanding sub-resources, selecting specific fields, requesting asynchronous execution, formatting enums simply, and providing an idempotency key for async requests.

Output shape

a single Subscription Plan record object, optionally including expanded sublists, selected fields, and additional debug information if enabled

The output shape depends on selected Additional Fields such as 'expandSubResources' and 'fields'. If 'Debug Mode' is enabled, full request and response info is included in the output. Asynchronous execution can be requested via 'Prefer' with 'respond-async', causing the operation to return a 202 Accepted response with async processing details.

Examples

Example 1: Retrieve a Subscription Plan record with id 123, expanding all sub-resources and including debug info.

Set 'Id' to 123, 'Additional Fields.expandSubResources' to true, and 'Debug Mode' to true.

Example 2: Retrieve only select fields from a Subscription Plan with id 456, executing the request asynchronously.

Set 'Id' to 456, 'Additional Fields.fields' to a comma-separated list of desired fields, and 'Additional Fields.Prefer' to 'respond-async'.

Discussion