NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Employee → Get record

AI-generated

Summary

Retrieves an Employee record from NetSuite.

Inputs

  • isDebugMode — Whether to include full request and response details in the output.
  • authMethod — Authentication method to use; 'oauth1' or 'oauth2'.
  • id (required) — Internal identifier of the employee to retrieve; required.
  • additionalFields — Container for extra selection options such as expand, fields, Prefer, etc.
  • expandSubResources — When true, automatically expands all sublists, sublist lines, and subrecords.
  • fields — Names of fields and sublists to include in the response.
  • Prefer — Server behavior preference; set to 'respond-async' for asynchronous execution.
  • simpleEnumFormat — When true, enumeration values are returned as internal IDs only.
  • X-NetSuite-Idempotency-Key — Unique idempotency key for asynchronous requests; ignored for synchronous calls.

Output shape

a single Employee record

Returns the employee data; only fields selected via additionalFields are included and may be empty if none are specified.

Examples

Example 1: Fetch employee 12345 using OAuth2 and expand subresources

authMethod: oauth2; id: 12345; additionalFields.expandSubResources: true

Example 2: Retrieve employee 9876 with debug mode enabled

authMethod: oauth1; id: 9876; isDebugMode: true

Links

Discussion