NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Resource Group → Get list of records

AI-generated

Summary

Retrieve a list of Resource Group records from NetSuite according to optional filtering, pagination, and asynchronous execution preferences.

Inputs

  • authMethod (required) — Select authentication method for the API request, either OAuth1 or OAuth2.
  • isDebugMode — Toggle to include detailed request and response information in the output for debugging purposes.
  • limit — Specify the maximum number of records to return in one page.
  • offset — Specify the starting point in the list of results for pagination.
  • Prefer — Request server behavior; use 'respond-async' to execute the request asynchronously.
  • q — Provide a search query string to filter the returned Resource Group records.
  • X-NetSuite-Idempotency-Key — A UUID string to uniquely identify asynchronous requests ensuring single execution; ignored if running synchronously.

Output shape

a JSON object containing an array of Resource Group records matching the query and pagination parameters, along with optional debug details when enabled

The list response may include full request and response info if Debug Mode is enabled. Pagination is controlled with 'limit' and 'offset'. Asynchronous behavior can be requested with the 'Prefer' header setting 'respond-async', using the idempotency key for request uniqueness.

Examples

Example 1: Retrieve up to 50 Resource Group records filtered by a search query with OAuth2 authentication

Set authMethod to 'OAuth2', provide a search query under 'q', set 'limit' to 50, and leave offset empty to start from the first record.

Links

Discussion