Win/Loss Reason

This record:

All elements on this record are accessible through REST web services.

The REST API Browser includes information about the field names and field types of the win/loss reason record and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser's win/loss reason reference page.

Record IDs

The record ID for a win/loss REST record is winLossReason.

Prerequisites

You must enable the Sales Force Automation feature to use this record with REST web services.

Actions

The following actions are available on this record:

Code Samples

Retrieving Win/Loss Reason Metadata

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

            

Updating a Win/Loss Reason Using a PATCH Request

              PATCH https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/winlossreason/5
{ "name": "Reason updated" } 

            

Deleting a Win/Loss Reason Using a DELETE Request

              DELETE https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/winlossreason/5 

            

Related Topics

General Notices