Documentation

entity.section.add

Adds storage section. User must have at least storage Write permission (W).

Parameters

Parameter Description
ENTITY Required. Storage string ID.
NAME Required. Section name.
DESCRIPTION Section description.
ACTIVE Section activity flag (Y|N).
SORT Section sorting parameter.
PICTURE Section image.
DETAIL_PICTURE Detailed section image.
SECTION Parent section ID.

Example

Call

BX24.callMethod('entity.section.add', {ENTITY: 'menu_new', 'NAME': 'Test Section'});

Request

https://my.bitrix24.com/rest/entity.section.add.json?ENTITY=menu_new&NAME=Test Section&auth=9affe382af74d9c5caa588e28096e872

Response

{"result":220}



© «Bitrix24», 2001-2024
Up