GET leads/configuration/importance_levels/list

Available from CRM.COM R9.0.0

This method returns the importance levels that are allowed to be used by leads of any type. Only importance levels defined in the active Lead Definitions and set as Supported are retrieved. Multiple importance levels 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 importance level

name

String

The name of the retrieved lead importance level

label

String

The label of the retrieved lead importance level

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    [
        {
            "default": false,
            "label": "Very Low Importance",
            "id": "A3392F780B4547B890B18F323AE068E3",
            "name": "IMPORTANCE1"
        },
        {
            "default": false,
            "label": "Low Importance",
            "id": "6945CE2D48BD419C89815FC02DFA26BF",
            "name": "IMPORTANCE2"
        },
        {
            "default": true,
            "label": "Medium Importance",
            "id": "F155686AEACA47928C021055E56F5BB1",
            "name": "IMPORTANCE3"
        },
        {
            "default": false,
            "label": "Extremely High Importance",
            "id": "73486AC4CAB24C63BB42F117EA022BF0",
            "name": "CUSTOM1"
        }
    ]
}