Skip to end of banner
Go to start of banner

GET leads/configuration/lost_reasons/list

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Available from CRM.COM R9.0.0

This method returns the lost reasons that are allowed to be used by leads of any type. All Lost Reasons defined in the active Lead Definitions are retrieved. Multiple lost reasons are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Response Data

Name

Type

Description

id

String

The ID of the retrieved lead lost reason

name

String

The name of the retrieved lead lost reason

alternative_code

String

The alternative code of the retrieved lead lost reason

descriptionStringThe description of the retrieved lead lost reason

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

 {
       "id": "2CCA640BAB9C49B2B057380380809BAA",
       "name": "No Requirements Mapping",
       "alternative_code": "NRM"
   },
   {
       "id": "F0FE0C78A9FE4BB9BDD1B1DACF6D910C",
       "name": "Not Interested",
       "alternative_code": "NI"
   },
   {
       "id": "0D41B1B5E3B4498E87E74051BD7D7711",
       "name": "Competitor",
       "alternative_code": "C_1"
   }
  • No labels