NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Sales Role → Get record

AI-generated

Summary

Retrieve a Sales Role record from NetSuite using its internal identifier.

Inputs

  • Id (required) — Internal identifier of the Sales Role record to retrieve.
  • Debug Mode — Optionally include full request and response information in the output for debugging.
  • Authentication Method — Specify the authentication method to use: OAuth1 or OAuth2.
  • Expand Sub Resources — Set to true to automatically expand all sublists, sublist lines, and subrecords on this Sales Role record.
  • Fields — Comma-separated names of the fields and sublists on the record to be returned, limiting response to only these.
  • Prefer — Request asynchronous execution of the retrieval by setting to 'respond-async', causing the server to process the request asynchronously.
  • Simple Enum Format — Return enumeration values using only their internal ID value if set to true.
  • X - Net Suite - Idempotency - Key — A unique UUID string to ensure idempotent asynchronous requests; ignored for synchronous requests.

Output shape

a single Sales Role record object containing the requested fields and sublists, optionally including expanded sub-resources and debug information

The response shape depends on the additional fields specified; full debug info is included only if Debug Mode is enabled; asynchronous requests return a 202 status and require polling; enumeration formats vary with the Simple Enum Format option.

Examples

Example 1: Basic retrieval

Provide the Sales Role internal ID to get the full record.

Example 2: Selective fields retrieval

Specify certain fields and sublists to limit response size.

Example 3: Async request

Use 'Prefer: respond-async' to handle large retrievals asynchronously with an idempotency key.

Links

Discussion