Documentation

crm.timeline.note.delete

crm.timeline.note.delete(
 {
   ownerTypeId: number,
   ownerId: number,
   itemType: number,
   itemId: number
 }
)

This method deletes a note

Parameter

Parameter Description
ownerTypeId Item type ID (list with available types).
ownerId Item ID
itemType Item type to delete the note from:
  1. history entry
  2. activity
itemId Item ID to delete a note from.
In case of itemType=1, its ID for timeline history entry,
In case of itemType=2, its activity ID.

Example

Use case

crm.timeline.note.delete?ownerTypeId=1&ownerId=1&itemId=1&itemType=2

Successful result:

{
  "result": true
}


© «Bitrix24», 2001-2024