NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Department → Get list of records

AI-generated

Summary

Fetch a paginated list of NetSuite department records with optional filtering, offset, limit, and idempotency key support.

Inputs

  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication method for the API request
  • additionalFields — Optional collection of query and pagination parameters

Output shape

Returns the NetSuite API response for the department list request, including any debug info if isDebugMode is enabled.

All parameters map directly to NetSuite REST API query parameters. The authMethod defaults to OAuth1 but can be switched to OAuth2. The q parameter supports search-based filtering. The X-NetSuite-Idempotency-Key ensures asynchronous request deduplication per RFC 4122.

Examples

Example 1: Retrieve up to 50 departments filtered by a search query.

Set q to the desired filter, limit to 50, and use default authentication.

Links

Discussion