NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Contact Category → Get record

AI-generated

Summary

Retrieve a specific Contact Category record from NetSuite using its internal identifier.

Inputs

  • id (required) — The internal identifier of the Contact Category record to retrieve.
  • isDebugMode — Set to 'true' to include full request and response information in the output.
  • additionalFields.expandSubResources — Set to 'true' to automatically expand all sublists, sublist lines, and subrecords on the returned record.
  • additionalFields.fields — A comma-separated list of field names and sublists to return. Only the specified fields and sublists will be included in the response.
  • additionalFields.Prefer — Specify 'respond-async' to execute the request asynchronously. If asynchronous, the response will include 'Preference-applied: respond-async'.
  • additionalFields.simpleEnumFormat — Set to 'true' to return enumeration values using only their internal ID format.
  • additionalFields.X-NetSuite-Idempotency-Key — A unique, user-defined UUID (RFC 4122) idempotency key for asynchronous requests to ensure the request is executed only once. This is ignored for synchronous requests.

Output shape

a single Contact Category record object

If 'Debug Mode' is enabled, the output will also include the full request and response details. If 'Additional Fields > Fields' are specified, only those fields will be present. If 'Additional Fields > Expand Sub Resources' is enabled, related sublists and subrecords will be expanded.

Examples

Example 1: Retrieve a contact category by its internal ID

Set 'Id' to the numeric internal ID of the contact category (e.g., '123').

Example 2: Retrieve a contact category and include only specific fields

Set 'Id' to the contact category's ID and provide a comma-separated list of field names in 'Additional Fields > Fields' (e.g., 'name,description').

Discussion