Documentation

entity.item.property.add

Adds additional storage element property. User must have storage Manage (X) permission.

Parameters

Parameter Description
ENTITY Required. Storage string ID.
PROPERTY Required. Property string ID.
NAME Required. Property name.
TYPE Required. Property type (S - string, N - number, F - file).

Example

Call

BX24.callMethod('entity.item.property.add', {ENTITY: 'menu_new', PROPERTY: 'new_prop', NAME: 'New Property', TYPE: 'S'});

Request

https://my.bitrix24.com/rest/entity.item.property.add.json?ENTITY=menu_new&NAME=New Property&PROPERTY=new_prop&TYPE=S&auth=e690b44d2b3827d2eb9d4dbe59406dbb

Response

{"result":true}



© «Bitrix24», 2001-2024