Documentation

crm.category.fields

crm.category.fields()

Passed category field data. Source field names from this method for input data.

Parameters

Parameter Description
entityTypeIdCRM entity type ID.

Response:

{
  "fields": {
    "id": {
      "type": "integer",
      "isRequired": false,
      "isReadOnly": true,
      "isImmutable": false,
      "isMultiple": false,
      "isDynamic": false,
      "title": "ID"
    },
    "name": {
      "type": "string",
      "isRequired": false,
      "isReadOnly": false,
      "isImmutable": false,
      "isMultiple": false,
      "isDynamic": false,
      "title": "NAME"
    },
    "sort": {
      "type": "integer",
      "isRequired": false,
      "isReadOnly": false,
      "isImmutable": false,
      "isMultiple": false,
      "isDynamic": false,
      "title": "SORT"
    },
    "entityTypeId": {
      "type": "integer",
      "isRequired": true,
      "isReadOnly": false,
      "isImmutable": false,
      "isMultiple": false,
      "isDynamic": false,
      "title": "ENTITY_TYPE_ID"
    },
    "isDefault": {
      "type": "boolean",
      "isRequired": false,
      "isReadOnly": false,
      "isImmutable": false,
      "isMultiple": false,
      "isDynamic": false,
      "title": "IS_DEFAULT"
    }
  }
}


© «Bitrix24», 2001-2022
Up