NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Currency → Get record

AI-generated

Summary

Retrieves a NetSuite Currency record by its internal ID.

Inputs

  • Debug Mode — Include the full HTTP request and response data in the output.
  • Id (required) — Internal identifier of the currency record to fetch.
  • Expand Sub Resources — Set to true to automatically expand all sublists, sublist lines, and subrecords on the record.
  • Fields — Comma‑separated list of field and sublist names to return in the response; only those are included.
  • Prefer — Server behavior requested by the client; for example, include "respond-async" to execute the request asynchronously.
  • Simple Enum Format — Set to true to return enumeration values as their internal ID values only.
  • X - Net Suite - Idempotency - Key — Unique idempotency key for asynchronous requests (ignored for synchronous calls).

Output shape

A single JSON object representing the currency record, optionally wrapped in debug information when Debug Mode is true.

If Expanded Sub Resources is true, the returned JSON will include expanded sublists. The Prefer header may cause the operation to be processed asynchronously, in which case the response will contain an asynchronous status. The simple enum format option alters how enumeration fields appear.

Examples

Example 1: Fetch a currency record with only selected fields

Id: 123, Additional Fields → Fields: "symbol,description"

Example 2: Retrieve a currency record and expand all subresources

Id: 456, Additional Fields → Expand Sub Resources: true

Example 3: Log full request and response for debugging

Id: 789, isDebugMode: true

Discussion