Skip to end of banner
Go to start of banner

GET leads/configuration/competitors/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 4 Current »

Available from CRM.COM R9.0.0

This method returns the competitors that are allowed to be used by leads of any or all types. All Competitors defined in the active Lead Definitions are retrieved if no type is defined. Multiple competitors are returned by each call

Resource URL

Parameters

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 competitors. The competitors are filtered against the allowed competitors of the specified type. The allowed lead type identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the lead type

name

(semi-optional)

String

The name of the lead type

alternative_code

(semi-optional)

String

The alternative code of lead type

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

Response Data

Name

Type

Description

id

String

The ID of the retrieved lead competitor

name

String

The name of the retrieved lead competitor

website

String

The website of the retrieved competitor 

descriptionStringThe description of the retrieved lead competitor

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

 {
       "id": "F0EE8EDCD868415184CCAD6221E356B6",
       "name": "Chargify",
       "website": "www.chargify.com",
       "description": "Chargify: CRM"
   },
   {
       "id": "920ABF722D304B8890312E6C3241A062",
       "name": "Rewards Tool",
       "website": "www.competitor2.com",
       "description": "Rewards Tool: Rewards"
   }
 Example 2

HTTP Method: GET

 

Request:

Response:

 

{
    "data": [
        {
            "website": null,
            "name": "MagnaQuest",
            "description": null,
            "id": "640A12797E964BFC99F8AF0EA538EEEA"
        },
        {
            "website": "Zuora.com",
            "name": "Zuora",
            "description": null,
            "id": "0CC8A3BDCA7B41B78058D0A178390B06"
        },
        {
            "website": "Chargify.com",
            "name": "Chargify",
            "description": null,
            "id": "02376768970343738D736979A1DE0C52"
        },
        {
            "website": null,
            "name": "Competitor 2",
            "description": null,
            "id": "9A63A715C5174BD4B70FBE49EAC79815"
        }
    ],
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}
  • No labels