NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Subscription Line → Get record

AI-generated

Summary

Retrieve a subscription line record from NetSuite by its internal identifier, with options to customize the returned data including field selection, subresource expansion, and request execution preferences.

Inputs

  • Id (required) — The internal identifier of the subscription line record to fetch.
  • Authentication Method — Method of authentication to use, either OAuth1 or OAuth2; defaults to OAuth1.
  • Debug Mode — Enable to include full request and response information in the output.
  • Additional Fields — Optional settings to control the response, such as expanding sub-resources, specifying which fields to retrieve, asynchronous request preference, returning simple enumeration formats, and providing an idempotency key for asynchronous requests.

Output shape

A single subscription line record object, containing only the requested fields and expanded subresources if specified.

If 'Debug Mode' is enabled, the output includes detailed HTTP request and response information. Using the 'Prefer' option with 'respond-async' executes the request asynchronously, returning a corresponding response header. The idempotency key is only applied for asynchronous requests. Fields returned can be limited to those specified, and enumeration fields can be simplified.

Examples

Example 1: Fetch subscription line record by Id with default fields.

Set 'Id' to the desired record's internal identifier; use default authentication and no additional fields.

Example 2: Fetch record including all sublists and subrecords expanded.

Set 'Expand Sub Resources' to true in Additional Fields to retrieve all sublists and subrecords within the subscription line record.

Example 3: Perform asynchronous request for retrieval.

Set 'Prefer' to 'respond-async' and provide a unique idempotency key in Additional Fields for safe, single execution of the async request.

Links

Discussion