@wildix-internal/wim-calendar-client > RescheduleEventCommand
RescheduleEventCommand class
Signature:
export declare class RescheduleEventCommand extends RescheduleEventCommand_base
Extends: RescheduleEventCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WimCalendarClient, RescheduleEventCommand } from "@wildix-internal/wim-calendar-client"; // ES Modules import
// const { WimCalendarClient, RescheduleEventCommand } = require("@wildix-internal/wim-calendar-client"); // CommonJS import
const client = new WimCalendarClient(config);
const input = { // RescheduleEventInput
eventId: "STRING_VALUE", // required
ownerId: "STRING_VALUE", // required
start: "STRING_VALUE", // required
duration: "STRING_VALUE", // required
reason: "STRING_VALUE",
summary: "STRING_VALUE",
attendees: [ // CalendarEventParticipantsList
{ // CalendarEventParticipant
id: "STRING_VALUE", // required
email: "STRING_VALUE", // required
name: "STRING_VALUE",
picture: "STRING_VALUE",
},
],
changed: [ // CalendarEventChangedList
"STRING_VALUE",
],
};
const command = new RescheduleEventCommand(input);
const response = await client.send(command);
// { // RescheduleEventOutput
// success: true || false, // required
// result: { // RescheduleEventOutputResult
// event: { // CalendarEvent
// id: "STRING_VALUE", // required
// calendarId: "STRING_VALUE", // required
// summary: "STRING_VALUE", // required
// description: "STRING_VALUE",
// start: "STRING_VALUE", // required
// end: "STRING_VALUE", // required
// owner: "STRING_VALUE", // required
// status: "confirmed" || "tentative" || "cancelled", // required
// attendees: [ // CalendarEventAttendeeList // required
// { // CalendarEventAttendee
// email: "STRING_VALUE", // required
// name: "STRING_VALUE",
// status: "accepted" || "tentative" || "declined" || "none", // required
// },
// ],
// type: "default" || "outOfOffice", // required
// transparency: "opaque" || "transparent", // required
// visibility: "public" || "private" || "confidential", // required
// },
// },
// };