NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Cost Category → Get record

AI-generated

Summary

Retrieve a Cost Category record by internal identifier from NetSuite.

Inputs

  • id (required) — Internal identifier of the Cost Category record.
  • authMethod — Authentication method for the request. Defaults to OAuth1. Options: OAuth1, OAuth2.
  • isDebugMode — Whether to include full request and response information in the output.
  • additionalFields — Control which fields and sub-resources are returned in the record response.

Output shape

The NetSuite Cost Category record object. If 'isDebugMode' is enabled, the output includes full request and response details.

The 'additionalFields' collection supports: 'expandSubResources' (boolean) to expand all sublists/sublines/subrecords; 'fields' (string) to specify comma-separated field names; 'Prefer' (options) with value 'respond-async' for asynchronous execution and idempotency key support; 'simpleEnumFormat' (boolean) to return enumeration values as internal IDs only; and 'X-NetSuite-Idempotency-Key' (string) for unique async request keys per RFC 4122.

Examples

Example 1: Fetch a single Cost Category record with ID 123 using OAuth2, expanding subresources and returning only selected fields.

Set 'id' to 123, 'authMethod' to 'oauth2', 'additionalFields.expandSubResources' to true, and 'additionalFields.fields' to a comma-separated list of desired fields.

Links

Discussion