Versions Compared

Key

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

Available from CRM.COM R9.0.0

Table of Contents
maxLevel2

...

Name

Type

Description

token

String

The token retrieved from the login method

group_identifier

(optional)

Group Identifier

The identifier of the group that will be providing the lead type. The group is filtered against the lead types' allowed organisational units. The allowed group identifier fields are the following:

Include Page
V4:group_identifier
V4:group_identifier

unit_identifier

(optional)

Unit Identifier

The identifier of the unit that will be providing the lead type. The unit is filtered against the lead types' allowed organisational units. The allowed unit identifier fields are the following:

Include Page
V4:unit_identifier
V4:unit_identifier

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

...

Name

Type

Description

token

String

The token retrieved from the login method

lead_type_identifier

(mandatory)

Lead Type Identifier

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

Include Page
v4:lead_type_identifier
v4:lead_type_identifier

life_cycle_state

(optional)

Sting

The life cycle state that the status should have. If specified then only statuses related with the specified life cycle state will be retrieved. Life cycle state options are:

PENDING, IN PROGRESS, LOST and WON

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

...

Name

Type

Description

token

String

The token retrieved from the login method

lead_type_identifier

(mandatory)

Lead Type Identifier

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

Include Page
v4:lead_type_identifier
v4:lead_type_identifier

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

...

Name

Type

Description

token

String

The token retrieved from the login method

lead_type_identifier

(mandatory)

Lead Type Identifier

The identifier of the type of the lead that will be using the physical goods. The physical goods are filtered against the allowed physical goods of the specified type. The allowed lead request type identifier fields are the following:

Include Page
v4:lead_type_identifier
v4:lead_type_identifier

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

...

Name

Type

Description

token

String

The token retrieved from the login method

lead_type_identifier

(mandatory)

Lead Type Identifier

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

Include Page
v4:lead_type_identifier
v4:lead_type_identifier

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

...

Name

Type

Description

token

String

The token retrieved from the login method

lead_type_identifier

(mandatory)

Service Request Type Identifier

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

Include Page
v4:lead_type_identifier
v4:lead_type_identifier

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

...

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

...

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

...

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

...

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

 

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "labelmessage": "Advert Campaign",

      "iddescription": "F16E21C609DC4D5E9314E627D9335EF1",
       "namecode": "ADVERTISEMENTOK"
   },
  "data": [
    {

      "label": "NotificationsAdvert Campaign",
       "id": "ABEF7494701D49EFA1AA03DD0796414AF16E21C609DC4D5E9314E627D9335EF1",

      "name": "NOTIFICATIONSADVERTISEMENT"
    },
    {

      "label": null"Notifications Campaign",
       "id": "4DAAFB1B938A46BF831B1B265200F1D1ABEF7494701D49EFA1AA03DD0796414A",

      "name": "COMMUNICATIONSNOTIFICATIONS"
    },
    {

      "label": null"via Media",
       "id": "72535471E6D44C19B35490AD1B27AD9285D4D7B1CAE04AF58AE1692C3E5F593D",
       "name": "RECOMMENDEDBYCONTACTCUSTOM1"
    },
    {

      "label": null,
       "id": "7BBC9DA6AFB64F49B76FA363F32185D7",
       "name": "RECOMMENDEDBYEMPLOYEE"
   },
   {
       "label": null,
via SMS",
      "id": "07C1F8E5D978401481F264352DD8EF62EA29FE96D7154278B86DF2D384B0F137",
       "name": "RECOMMENDEDBYPARTNERCUSTOM3"
    },
   {
       "label": null,
       "id": "0E70C8A2B8EE43E6A30F592BF449DC79",
       "name": "WEBSITE"
   },
   {
       "label": null,
       "id": "2ADFC37761AF4FDA9791F252C88B6233",
       "name": "OTHER"
   },
   {
       "label": "via Media",
       "id": "85D4D7B1CAE04AF58AE1692C3E5F593D",
       "name": "CUSTOM1"
   },
   {
       "label": null,
       "id": "14779043AB744DF1889A937F48AFF790",
       "name": "CUSTOM2"
   },
   {
       "label": null,
       "id": "EA29FE96D7154278B86DF2D384B0F137",
       "name": "CUSTOM3"
   },
   {
       "label": null,
       "id": "6366EA7AF9784056B237336D4F129D54",
       "name": "CUSTOM4"
   },
   {
       "label": null,
       "id": "D7972B1EBAAD4CF6AA21718D8C280F74",
       "name": "CUSTOM5"
  
  ]
}

GET leads/configuration/lost_reasons/list

...

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

...

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

...