Documentation

iblock.element.get

iblock.element.get(iblockId, elementId, select)

Method gets iblock element by its ID.

Parameters

ParameterDescription
iblockIdIblock ID. Required parameter.
elementIdElement ID. Required parameter.
selectSet of fields and properties available for selection. Fields listed in the controller method getElementEntityAllowedList are selected by default. Specifying select, chooses fields/properties and ID in the method.

Result format

{
    "result":
    {
        "element":
        {
            "ID":123,
            "NAME":"...",
            "SOME_PROPERTY":
            [
                {
                    "ID"quot;:456,
                    "VALUE":"...",
                    "DESCRIPTION":""
                },
            ]
        }
    }
}


© «Bitrix24», 2001-2024