NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Sales Role → Insert record

AI-generated

Summary

Insert a new Sales Role record into NetSuite using specified fields and optional custom attributes.

Inputs

  • Debug Mode — Include full request and response details in the output for debugging.
  • Additional Fields — Optional fields such as Description, External ID, Inactive status, Internal ID, Prefer header for async execution, Reference Name, Replace sublist names, Role Name, Sales Rep flag, Idempotency Key for async requests, and validation strictness options.
  • Custom Fields — Define one or more custom fields with specified field name, type, and corresponding value to include in the Sales Role record.

Output shape

A single JSON object representing the created Sales Role record as returned from NetSuite REST API.

If Debug Mode is enabled, the output includes full request and response information. The operation supports asynchronous execution via the 'Prefer' option and idempotent request handling via the 'X-NetSuite-Idempotency-Key'. Custom fields are accepted if defined and loaded from the NetSuite schema.

Discussion