NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Cost Revaluation → Get record

AI-generated

Summary

Retrieve an Inventory Cost Revaluation record by its internal ID from NetSuite, optionally expanding sublists, selecting fields, and receiving debugging information.

Inputs

  • Debug Mode — Include full HTTP request and response data in the output when set to true.
  • Id (required) — Internal NetSuite identifier for the Inventory Cost Revaluation record to fetch.
  • Expand Sub Resources — If true, automatically expands all sublists, sublist lines, and subrecords on the record.
  • Fields — Comma‑separated list of field and sublist names to return; if omitted, all fields are returned.
  • Prefer — Client‑requested server behavior. Set to "respond-async" to execute the request asynchronously.
  • Simple Enum Format — If true, enumeration values are returned only as their internal ID.
  • X - Net Suite - Idempotency - Key — Unique key to ensure idempotency for asynchronous requests; ignored for synchronous calls.

Output shape

a single Inventory Cost Revaluation record object, or a record wrapped in debug metadata when Debug Mode is enabled

If the Prefer option is set to "respond-async" the call is executed asynchronously; the response will contain a "Preference-applied: respond-async" header and a job ID. Pagination does not apply to a single‑record GET.

Examples

Example 1: Retrieve a record by ID

Id: 12345
Debug Mode: false
All other options omitted

Example 2: Retrieve only selected fields and expand sublists

Id: 67890
Expand Sub Resources: true
Fields: "cost", "quantity"
Debug Mode: false

Example 3: Execute asynchronously with idempotency key

Id: 101112
Prefer: respond-async
X - Net Suite - Idempotency - Key: "123e4567-e89b-12d3-a456-426614174000"
Debug Mode: true

Discussion