Get Lead Type List

Get Lead Type List

POST [PlatformAddress]/api/1.0/crm?action=getLeadTypeList

Get a list of lead types.

{
    "meta": {
        "totalResults": 1,
        "start": 0,
        "perPage": 10,
        "count": 1
    },
    "results": [
        {
            "id": 1,
            "type": "Reseller",
            "subtypes": [
                {
                    "id": 1,
                    "name": "Reseller - subtypes"
                }
            ]
        },
        {
            "id": 2,
            "type": "Professional",
            "subtypes": []
        }
    ]
}

The result from this call will be a collection of all the lead types the user has access to. This call also accepts the pagination and filter properties.

Last updated