-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi,
I didn't understand how to clear dynamic fields when adding (multiple times) recipients to a group. Our purpose is to update the recipient.
Ruby:
group.add_recipients [{ Email: 'cesidio@example.com', Name: 'C', Fields: [{Id: 3, Value: 'Nature'}, {Id: 4, Value: 'London'}]}]
group.add_recipients [{ Email: 'cesidio@example.com', Name: 'C', Fields: [{Id: 3, Value: 'Nature'}, {Id: 4, Value: ''}]}]Results
> y group.recipients
---
IsPaginated: false
Items:
- Email: cesidio@example.com
Fields:
- Description: azienda
Id: 3
Value: Nature
- Description: città
Id: 4
Value: London
> group.add_recipients [{ Email: 'cesidio@example.com', Name: 'C', Fields: [{Id: 3, Value: 'Nature'}, {Id: 4, Value: ''}]}]
> y group.recipients
---
IsPaginated: false
Items:
- Email: cesidio@example.com
Fields:
- Description: azienda
Id: 3
Value: Nature
- Description: città
Id: 4
Value: LondonI also tried { Id: 4, Value: nil }, { Id: 4 } (this one doesn't work at all), { Id: 4, Value: ' ' }. An example would be great
Metadata
Metadata
Assignees
Labels
No labels