GET leads/configuration/priority_levels/list

Available from CRM.COM R9.0.0

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

name

String

The name of the retrieved lead priority level

label

String

The label of the retrieved lead priority level

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    [
        {
            "default": false,
            "label": "Low Priority",
            "id": "6D8A8517701B4AAB8B63A2BF08A5501F",
            "name": 1
        },
        {
            "default": false,
            "label": "Medium Priority",
            "id": "F47439E2D1DE4635A56837C9C99828D2",
            "name": 2
        },
        {
            "default": false,
            "label": "High Priority",
            "id": "64EC45054E444628B467CD863668B261",
            "name": 3
        },
        {
            "default": true,
            "label": null,
            "id": "C60160FEA1514FC0B4EC657140C712FC",
            "name": 4
        },
        {
            "default": false,
            "label": null,
            "id": "ACB307F841F64CC0838F4A0D960842C0",
            "name": 5
        },
        {
            "default": false,
            "label": null,
            "id": "70251AA5C4A64A9A89A263E1B295C210",
            "name": 6
        }
    ]
}