Mettre à jour un événement avec l'API Outlook Calendar

Modifie un événement et le renvoie. Seuls les champs envoyés changent. Sur une réunion organisée par l'utilisateur, Outlook envoie la modification par e-mail aux participants. N'envoyez pas de nouveau body pour une réunion en ligne : les informations de connexion sont dans le corps et seraient perdues.

Identifiant
outlook_calendar_update_event

L'appel

POST https://connect.reportei.com/api/tools/outlook_calendar_update_event/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json

{
  "customer_toolkit": "<connection UUID>",
  "arguments": {
    "event_id": "<event_id>"
  }
}

Votre système envoie l'id de la connexion de votre client et les arguments de la tool. Les headers sont les mêmes que pour toute l'API Connect : le token de votre produit et celui de votre client.

Paramètres

Les descriptions des paramètres suivent la documentation officielle de l'app, en anglais.

ParamètreTypeObligatoireDescription
event_idstringOuiEvent id from List events. The id of an occurrence acts on that occurrence; its seriesMasterId acts on the whole series.
subjectstringNonTitle of the event.
bodyobjectNonDescription of the event. contentType is text or html.
startobjectNonWhen the event starts. An all-day event starts at midnight.
endobjectNonWhen the event ends. An all-day event ends at midnight of the next day, in the same time zone as start.
isAllDaybooleanNontrue for an all-day event, with start and end at midnight.
locationobjectNonWhere the event happens.
attendeesarrayNonPeople, rooms or equipment invited. Outlook emails them the invitation.
isOnlineMeetingbooleanNontrue adds an online meeting, together with onlineMeetingProvider.
onlineMeetingProviderstringNonteamsForBusiness adds a Microsoft Teams link. It needs a work or school account.Valeurs : teamsForBusiness
showAsstringNonHow the time shows in the calendar. oof is out of office.Valeurs : free, tentative, busy, oof, workingElsewhere
importancestringNonImportance of the event.Valeurs : low, normal, high
sensitivitystringNonPrivacy of the event.Valeurs : normal, personal, private, confidential
isReminderOnbooleanNontrue sets a reminder.
reminderMinutesBeforeStartintegerNonMinutes before the start that the reminder shows.
categoriesarrayNonCategory names of the user. The list replaces the current one.
recurrenceobjectNonRepetition. Besides type and interval, pattern needs: weekly, daysOfWeek and firstDayOfWeek; absoluteMonthly, dayOfMonth; relativeMonthly, daysOfWeek; absoluteYearly, dayOfMonth and month; relativeYearly, daysOfWeek and month. range.startDate is the date of start; range.type endDate needs endDate, and numbered needs numberOfOccurrences.
allowNewTimeProposalsbooleanNonfalse stops invitees from proposing another time. The default is true.
responseRequestedbooleanNonfalse asks invitees for no response. The default is true.

Connexions possibles

Votre client connecte son compte Outlook Calendar une seule fois, avec l'un des modes ci-dessous. La même connexion sert à toutes les tools du toolkit.

OAuth avec l'app de votre produit

Vous enregistrez une fois l'app OAuth de votre produit, avec POST /api/merchants/credentials/outlook_calendar, et votre client autorise le compte sur un écran de consentement. Connect renouvelle le token avant son expiration.

La réponse

En cas de succès, Connect conserve le statut et le corps de la réponse de l'app. Les erreurs HTTP renvoyées par l'app utilisent l'objet {error, api_error} ; l'authentification ou la validation peuvent échouer avant l'exécution. Le header X-Toolkit-Execution-Id identifie l'exécution enregistrée, consultable avec GET /api/tools/executions/{uuid}.

Prête pour les agents IA

L'input de cette tool est un JSON Schema, disponible via GET /api/tools/outlook_calendar_update_event. Il devient la définition de tool de votre agent sans conversion.

Autres tools Outlook Calendar

Voir les 10 tools

Toolkits de la même catégorie

Voir les 100 toolkits

Voyez Connect appliqué à votre produit.

Essayez-le pendant 15 jours sans carte, ou présentez votre cas à notre équipe.