Documentation

Adding Activity

Scope: catalog Permissions to execute: for all

crm.activity.configurable.add(ownerTypeId: number, ownerId: number, fields: Object, layout: LayoutDto})

You can call this method only within the context of a Rest application.

Parameters

Parameter Description Available from version
ownerTypeId Entity type ID with the new associated activity.
ownerId This entity element ID with the new associated activity.
fields Associative array with activity fields.
layout Associative array with special structure, describing activity external appearance in timeline.
© «Bitrix24», 2001-2024
Up