NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Employee → Get list of records

AI-generated

Summary

Retrieve a paginated list of Employee records from the NetSuite REST API, optionally filtering results by a search query and customizing request behavior.

Inputs

  • Authentication Method (required) — Select OAuth1 or OAuth2 for API authentication.
  • Debug Mode — Enable to include full request and response details in the output for debugging.
  • Limit — Specify the maximum number of Employee records to return per page.
  • Offset — Specify the offset to select a specific page of results.
  • Prefer — Use 'respond-async' to execute the request asynchronously; otherwise synchronous.
  • Q — Search query string to filter Employee records based on criteria.
  • X-NetSuite-Idempotency-Key — A UUID string to ensure idempotency of asynchronous requests; ignored for synchronous requests.

Output shape

A list of Employee records retrieved from NetSuite, potentially paginated based on limit and offset parameters.

If Debug Mode is enabled, the output includes full request and response information along with the records. The 'Prefer' header controls asynchronous execution; 'X-NetSuite-Idempotency-Key' applies only for async calls. Pagination is controlled via Limit and Offset fields. Errors or partial responses are included in the output with debugging info if enabled.

Examples

Example 1: Fetch first 50 employees

Set Limit to 50; leave Offset blank for first page; select authentication method; optionally enable Debug Mode.

Example 2: Perform asynchronous fetch with idempotency

Set Prefer to 'respond-async', provide a UUID for 'X-NetSuite-Idempotency-Key' to ensure single execution, and configure authentication.

Links

Discussion