Skip to content

Microsoft: Invoke action tentatively Accept — users Calendar user Calendars Events Tentatively Accept

Microsoft usersCalendar.userCalendarsEventsTentativelyAccept: arguments, response, policy and SDK examples.

← Users calendar operations · Get started

Operation microsoft.users_user_calendars_calendar_events_event_tentativelyaccept

Provider route: POST /users/{user-id}/calendars/{calendar-id}/events/{event-id}/tentativelyAccept. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/microsoft with npm, or alter-sdk-microsoft with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { MicrosoftIntegration } from "@alter-ai/microsoft";
async function execute(input: Parameters<MicrosoftIntegration["usersCalendar"]["userCalendarsEventsTentativelyAccept"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new MicrosoftIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.usersCalendar.userCalendarsEventsTentativelyAccept(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_microsoft import MicrosoftIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = MicrosoftIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.users_calendar.user_calendars_events_tentatively_accept(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.user-idstringRequired within parent
path.calendar-idstringRequired within parent
path.event-idstringRequired within parent
bodyobjectRequired within parent
body.CommentJSONOptional
body.Comment (anyOf 1)stringAlternative
body.Comment (anyOf 2)nullAlternative
body.ProposedNewTimeJSONOptional
body.ProposedNewTime (anyOf 1)ModelAlternativeExpand Invoke action decline — me Event events Decline — request body — body Proposed New Time @odata type, end, start
body.ProposedNewTime (anyOf 2)JSONAlternative
body.ProposedNewTime (anyOf 2) (anyOf 1)objectAlternative
body.ProposedNewTime (anyOf 2) (anyOf 2)nullAlternative
body.SendResponseJSONOptional
body.SendResponse (anyOf 1)booleanAlternativeDefault: false
body.SendResponse (anyOf 2)nullAlternative

Referenced models: Invoke action decline — me Event events Decline — request body — body Proposed New Time @odata type, end, start

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$nullRoot
Invoke action decline — me Event events Decline — request body — body Proposed New Time @odata type, end, start
FieldTypePresenceDescription and constraints
$objectRoot
@odata.typestringOptional
endModelOptionalExpand Invoke action snooze Reminder — me Event events Snooze Reminder — request body — body New Reminder Time
startModelOptionalExpand Invoke action snooze Reminder — me Event events Snooze Reminder — request body — body New Reminder Time

Referenced models: Invoke action snooze Reminder — me Event events Snooze Reminder — request body — body New Reminder Time

Invoke action snooze Reminder — me Event events Snooze Reminder — request body — body New Reminder Time
FieldTypePresenceDescription and constraints
$objectRoot
@odata.typestringOptional
dateTimestringOptionalA single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).
timeZoneJSONOptional
timeZone (anyOf 1)stringAlternativeRepresents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.
timeZone (anyOf 2)nullAlternative

SDK function policy ID: microsoft.users_user_calendars_calendar_events_event_tentativelyaccept. Catalog operation: users_user_calendars_calendar_events_event_tentativelyaccept. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["Calendars.ReadWrite"]

No-content response statuses: [204]

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.