NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Other Charge Purchase Item → Get record

AI-generated

Summary

Retrieve a specific Other Charge Purchase Item record from NetSuite using its internal ID.

Inputs

  • id (required) — Internal identifier of the Other Charge Purchase Item to retrieve.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method to use, either OAuth1 or OAuth2.
  • additionalFields — Optional settings to customize the response, including expanding sub-resources, selecting specific fields, asynchronous request preference, simple enum formatting, and providing an idempotency key for async requests.

Output shape

a JSON object representing the Other Charge Purchase Item record as returned by the NetSuite REST API, potentially including expanded sublists and selected fields depending on parameters; may include debug info if Debug Mode is enabled.

Response fields and sublists returned depend on 'Fields' and 'Expand Sub Resources' additionalFields options. Setting 'respond-async' in 'Prefer' triggers asynchronous processing where a unique idempotency key can be supplied. If Debug Mode is enabled, detailed request and response data are included in the output.

Examples

Example 1: Retrieve an Other Charge Purchase Item by its internal ID, returning all default fields.

Set the 'Id' parameter to the target record's internal identifier and execute the operation without additional fields or debug mode enabled.

Example 2: Retrieve an Other Charge Purchase Item with all sublists expanded for detailed information.

Set 'Id' to the record's internal identifier and under 'Additional Fields', enable 'Expand Sub Resources' to true.

Links

Discussion