Participant Calendrier
Gere les participants d'un evenement calendrier : ajouter, retirer ou mettre a jour le statut de participation.
Parametres
| Parametre | Type | Requis | Variable | Description |
|---|---|---|---|---|
eventId | texte | Oui | Oui | Identifiant de l'evenement calendrier sur lequel gerer les participants. |
action | choix (add, remove, update_status, list) | Non | Non | Action a effectuer : ajouter, supprimer, mettre a jour le statut ou lister les participants. (Defaut: "list") |
email | texte | Non | Oui | Adresse e-mail du participant a ajouter (requis pour l'action 'add'). |
displayName | texte | Non | Oui | Nom d'affichage du participant. |
isOptional | oui/non | Non | Non | Marquer le participant comme optionnel. (Defaut: false) |
attendeeId | texte | Non | Oui | Identifiant du participant (requis pour 'remove' et 'update_status'). |
responseStatus | texte | Non | Oui | Statut de reponse du participant (requis pour 'update_status'). Ex. accepted, declined, tentative. |
Les parametres marques Variable = Oui acceptent la syntaxe
{{nomBloc.champ}}.
Sortie
Variable de sortie : attendeeResult
{
"action": "...",
"attendee": {}
}
Exemple
Ajouter un participant a un evenement.
Entree :
{"eventId": "evt-123", "email": "jean@example.com"}
Sortie :
{"success": true, "attendee": {"email": "jean@example.com", "status": "pending"}}
Astuce
Statuts possibles : pending, accepted, declined. Requiert l'ID de l'evenement cible.