Sales Role

A sales role record exposes a sales role to REST web services.

For more information about sales roles and how they function in the user interface, see NetSuite Roles Overview.

To access this record in NetSuite, go to Setup > Users/Roles > Manage Roles.

This record:

The REST API Browser includes information about the field names and field types of the sales role record, and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s sales role reference page.

For information about using the REST API Browser, see The REST API Browser.

Record ID

The record ID for the sales role REST record is salesrole.

Prerequisites

You must enable the Team Selling feature before you can use this record through REST web services. For more information, see Team Selling.

Code Sample

The following samples show common use cases for a sales role record. The example ID is 6.

Retrieving Sales Role Metadata

              GET https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/metadata-catalog/salesrole 

            

Deleting a Sales Role Using a DELETE Request

              DELETE https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/salesrole/6 

            

Related Topics

REST Web Services Supported Records
SuiteTalk REST Web Services Overview and Setup
Working with Records
NetSuite Record Structure
The REST API Browser

General Notices