iblock.Element.get
iblock.Element.get(iblockId, elementId, select)
Method gets iblock element by its ID.
Parameters
Parameter | Description |
---|---|
iblockId | Iblock ID. Required parameter. |
elementId | Element ID. Required parameter. |
select | Set of fields and properties for retrieval. You can get the fields 'ID', 'NAME', 'IBLOCK_SECTION_ID' from the method getElementEntityAllowedList and all iblock properties.
Note If you need to get other fields, you can create a custom controller. |
Result format
{ "result": { "element": { "ID":123, "NAME":"...", "SOME_PROPERTY": [ { "ID"quot;:456, "VALUE":"...", "DESCRIPTION":"" }, ] } } }
© «Bitrix24», 2001-2024