crm.timeline.note.save
crm.timeline.note.save( { ownerTypeId: number, ownerId: number, itemType: number, itemId: number, text: string } )
This method saves a note.
Parameters
Parameter | Description |
---|---|
ownerTypeId | Item type ID (list with available types) |
ownerId | Item ID |
itemType | Item type to apply the note:
|
itemId | Item ID to apply the note. In case of itemType=1, its the ID for timeline history entry, In case of itemType=2, its the activity ID. |
text | Note text |
Example
Use case
crm.timeline.note.save?ownerTypeId=1&ownerId=1&itemId=1&itemType=2&text=discount offer
Successful result:
{ "result": true }
© «Bitrix24», 2001-2024