Documentation

crm.type.list

Scope: catalog Permissions to execute: administrator

crm.type.list({order: ?{} = null, filter: ?{} = null, start: ?number = 0})

Method returns array with SPA settings

{
    "types": []
}

where each array item is a structure similar to the response to query crm.type.get, except for bound data.


This method returns only its own SPA settings fields.


Parameters

Parameter Description
orderList for sorting, where key - field and the value - ASC or DESC.
filterList for filtering. Filter examples are below.
startStart for page navigation.

Query examples

Find all items with enabled "Client" field with sorting by name.


{
    "order": {
        "title": "ASC"
    },
	"filter": {	      
        "isClientEnabled": "Y"
    }
}

Filter support complex logic.



© «Bitrix24», 2001-2024
Up