POST /users/{userId}/meetings
Description
const meetingDetails = {
topic: 'New meet',
type: calendarEventDto.repeat ? 8 : 2,
start_time: startDate.toISOString(),
duration,
timezone: 'Europe/Kiev',
settings: {
auto_recording: 'cloud',
approval_type: 0,
join_before_host: false,
registrants_email_notification: false,
},
recurrence: calendarEventDto.repeat
? {
type: 2,
repeat_interval: 1,
weekly_days: this.convertDaysToZoomFormat(
calendarEventDto.repeatOn
),
end_date_time: endRepeatingDate.toISOString(),
}
: undefined,
}
private convertDaysToZoomFormat(days: Days[]): string {
const zoomDaysMap = {
[Days.SUNDAY]: 1,
[Days.MONDAY]: 2,
[Days.TUESDAY]: 3,
[Days.WEDNESDAY]: 4,
[Days.THURSDAY]: 5,
[Days.FRIDAY]: 6,
[Days.SATURDAY]: 7,
}
return days.map((day) => zoomDaysMap[day]).join(',')
}
I can successfully create recurrence meetings, but more is created than expected
Example:
endRepeatingDate: 2024-03-22T22:00:00.000
date of last created: 2024-04-09T23:00:00.000Z
All dates that I send are in UTC time
What could be the problem? I will be glad for your help