Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

Available from CRM.COM R9.0.0

Excerpt

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 if no type is defined. Multiple lost reasons are returned by each call

...

Name

Type

Description

token

String

The token retrieved from the login method

lead_type_identifier

(optional)

Lead Type Identifier

The identifier of the type of the lead that will be using the lost reasons. The lost reasons are filtered against the allowed lost reasons of the specified type. The allowed lead type identifier fields are the following:

Include Page
v4:lead_type_identifier
v4:lead_type_identifier

Tip

Available from CRM.COM R14.0.0

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

...

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

 

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
       "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"
   }
Expand
titleExample 2

HTTP Method: GET

 

Request:

Response:

 

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
    "data": [
        {
            "alternative_code": "C",
            "name": "Competitors",
            "description": null,
            "id": "D4CB03A3D05A457AAC0854FFFAB0D20E"
        },
        {
            "alternative_code": "NI",
            "name": "Not Interested",
            "description": null,
            "id": "5ED5BBE85BE348D1B4F36235FBE55EA7"
        },
        {
            "alternative_code": "NI_1",
            "name": "Invalid Data",
            "description": null,
            "id": "00D3A96B7D5C436C9F4854C66BD9C5F9"
        },
        {
            "alternative_code": "C_1",
            "name": "Cost",
            "description": null,
            "id": "654D1D8B8CA8401FA818DD7A44B99BFF"
        }
    ],
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}