Documentation

crm.category.fields

Scope: catalog Permissions to execute: for all

crm.category.fields({entityTypeId: number})

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-2024