NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Accounting Period → Get record

AI-generated

Summary

Retrieve a specific Accounting Period record from NetSuite by its internal identifier (Id) with optional customization of returned fields and response behavior.

Inputs

  • Id (required) — The internal identifier of the Accounting Period record to retrieve.
  • Debug Mode — Whether to include the full request and response information in the output for debugging purposes.
  • Additional Fields — Optional settings to customize the returned record such as expanding sub-resources, selecting specific fields or sublists, defining async response preference, formatting enums simply, and setting an idempotency key for async requests.

Output shape

a single Accounting Period record object including the requested fields, sublists, and subrecords as specified or full record by default

Output includes the requested Accounting Period record data. If Debug Mode is enabled, the response also contains the full request and response details. If 'respond-async' is preferred, the server may process the request asynchronously. Optional fields in the response depend on Additional Fields parameters.

Examples

Example 1: Retrieve Accounting Period record with id 123

Specify 'Id' as 123, leave optional fields at defaults. Result is the Accounting Period record with id 123.

Example 2: Retrieve Accounting Period record with expanded sub-resources and only selected fields

Set 'Additional Fields > Expand Sub Resources' to true and specify desired 'Fields' names to limit response content.

Discussion