NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Phone Call → Get list of records

AI-generated

Summary

Retrieve a paginated list of Phone Call records from the NetSuite REST API, optionally filtered by a search query and controlled with limits, offsets, and asynchronous execution preferences.

Inputs

  • Debug Mode — Whether to include full request and response info in the output (boolean, default false) — Set to true to include detailed request and response data for debugging.
  • Authentication Method — OAuth1 or OAuth2 (default OAuth1) — Select which authentication mechanism to use for the API request.
  • Limit — Number of records to return on a single page (optional number) — Controls the maximum number of Phone Call records returned in one call.
  • Offset — Offset for paging through results (optional number) — Sets the starting point within the complete list of results for pagination.
  • Prefer — Server behavior preference (options: none or respond-async) — Specify 'respond-async' to have the server execute the request asynchronously.
  • Q — Search query string to filter results (optional string) — Defines a filter expression to limit which Phone Call records are returned.
  • X - Net Suite - Idempotency - Key — Unique idempotency key for async requests (optional string) — A UUID string to ensure asynchronous requests are executed only once. Ignored for synchronous requests.

Output shape

a list of Phone Call record objects potentially accompanied by full request/response debug information if debug mode is enabled

Results support pagination via 'limit' and 'offset'. If 'Prefer' is set to 'respond-async', the response includes headers indicating asynchronous execution. The output will include full HTTP details only if debug mode is enabled; otherwise, it returns only the record data.

Examples

Example 1: Retrieve the first 50 Phone Call records synchronously, filtered by a query, with no debug info.

Set Limit=50, Q='status:open', Debug Mode=false, Prefer=''. Use default OAuth1 authentication.

Example 2: Asynchronously request Phone Call records with idempotency key to avoid duplicate execution.

Set Prefer='respond-async', provide a UUID in X - Net Suite - Idempotency - Key, enable Debug Mode=true to capture full async request/response cycle.

Links

Discussion