Naar de inhoud
Alle hulpmiddelen

add_contact_to_group

Contacten · Windows

Effect: schrijven. Status: voorwaardelijk beschikbaar.

‘Voorwaardelijke beschikbaarheid’ betekent dat het hulpmiddel kan afhangen van versie, platform, machtigingen, account of configuratie. Het is niet in elke installatie actief.

Windows

Doel

Voegt een contactpersoon uit de Contactpersonen van Microsoft Outlook op Windows, gevonden via contact_id of naam, toe aan een bestaande groep, gevonden op de exacte naam ongeacht hoofdletters. De contactpersoon heeft een e-mailadres nodig: groepen in Outlook bevatten adressen. Staat de contactpersoon al in de groep, dan luidt het antwoord already_in_group: true. Gebruik create_contact_group om een groep te maken.

Vereiste invoer

De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.

Machtigingen en bevestiging

Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.

Canoniek technisch schema in het Engels — Windows
{
  "properties": {
    "confirm": {
      "description": "Ignored; kept for older clients.",
      "type": "boolean"
    },
    "contact_id": {
      "description": "Exact identifier from outlook_contacts_list/outlook_contacts_search/create_contact. Provide this OR name.",
      "type": "string"
    },
    "group_name": {
      "description": "Name of the group, as outlook_contacts_list or Outlook shows it.",
      "type": "string"
    },
    "name": {
      "description": "The contact's full name. Provide this OR contact_id; a name that matches several contacts is refused with the list.",
      "type": "string"
    }
  },
  "required": [
    "group_name"
  ],
  "type": "object"
}

Documentatievoorbeeld

Documentatievoorbeeld voor add_contact_to_group. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.

{
  "confirm": false,
  "group_name": "Project team",
  "name": "Alex Rivera"
}