Description
I have the following code to create recurrence meetings from 14/08/2020 (Lima time) to 28/08/2020 each 7 days… so I hope 3 created meetings (14/08/2020, 21/08/2020 and 28/08/2020) :
$response = $this->client->request(‘POST’, ‘/v2/users/me/meetings’, [
“headers” => [
“Authorization” => “Bearer $accessToken”
],
‘json’ => [
“topic” => “Borrar Recurrencia”,
“type” => 8,
“start_time” => ‘2020-08-14T21:30:00’,
“timezone” => “America/Lima”,
“duration” => 30,
“password” => substr(base64_encode(date(‘HisYmd’)), 0, 8),
“recurrence” => [
“type” => 1,
“repeat_interval” => 7,
“end_date_time” => ‘2020-08-28T23:59:59’,
]
],
]);$data = json_decode($response->getBody(), true); return $data;
But this only create one meeting: 14/08/2020
Error
And the response is this:
Array ( [uuid] => … [id] => *********** [host_id] => … [topic] => Borrar Recurrencia [type] => 8 [status] => waiting [timezone] => America/Lima [created_at] => 2020-08-07T22:06:10Z [start_url] => … [join_url] => h… [password] => … [h323_password] => … [pstn_password] => … [encrypted_password] => … [occurrences] => Array ( [0] => Array ( [occurrence_id] => 1597458600000 [start_time] => 2020-08-15T02:30:00Z [duration] => 30 [status] => available ) ) [settings] => Array ( [host_video] => [participant_video] => [cn_meeting] => [in_meeting] => [join_before_host] => [mute_upon_entry] => 1 [watermark] => [use_pmi] => [approval_type] => 2 [audio] => both [auto_recording] => none [enforce_login] => [enforce_login_domains] => [alternative_hosts] => [close_registration] => [registrants_confirmation_email] => 1 [waiting_room] => 1 [request_permission_to_unmute_participants] => [global_dial_in_countries] => Array ( [0] => US ) [global_dial_in_numbers] => Array ( [0] => Array ( [country_name] => US [number] => +1 9294362866 [type] => toll [country] => US ) [1] => Array ( [country_name] => US [number] => +1 2532158782 [type] => toll [country] => US ) [2] => Array ( [country_name] => US [number] => +1 3017158592 [type] => toll [country] => US ) [3] => Array ( [country_name] => US [number] => +1 3126266799 [type] => toll [country] => US ) [4] => Array ( [country_name] => US [number] => +1 3462487799 [type] => toll [country] => US ) [5] => Array ( [country_name] => US [number] => +1 6699006833 [type] => toll [country] => US ) ) [registrants_email_notification] => 1 [meeting_authentication] => ) [recurrence] => Array ( [type] => 1 [repeat_interval] => 7 [end_date_time] => 2020-08-15T03:06:00Z ) )
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
How To Reproduce (If applicable)
Steps to reproduce the behavior:
2. See error
Screenshots (If applicable)
Additional context
I’ve tested the following timezone:
‘json’ => [
“topic” => “Borrar Recurrencia”,
“type” => 8,
“start_time” => ‘2020-08-14T21:30:00Z’,
“timezone” => “America/Lima”,
“duration” => 30,
“password” => substr(base64_encode(date(‘HisYmd’)), 0, 8),
“recurrence” => [
“type” => 1,
“repeat_interval” => 7,
“end_date_time” => ‘2020-08-28T23:59:59Z’,
]
],
With the “Z” at the final, it generates the 3 meetings but with 4:30PM, no 9:30PM … why?
Regards
*This post has been edited to remove any meeting / webinar IDs