GET webinar deleted schedule

I removed one of the scheduled appointments from webinar.
(The schedule has also disappeared from “Recently Deleted”.)

I’m getting the webiner schedule with the Zoom API, but I’m also getting the deleted one.

How does this disappear?

Hey @akira.k,

Can you share an example of the API request/response you’re testing with, and point out the information you’re not expecting to see? I’m happy to take a closer look once I can make sure I’m on the same page.

Thanks!
Will

Hey @will.zoom,

Below is an example of the response json to my request.

“occurrences”:[{“occurrence_id”: “xxxxxxxxxxxxx”, “start_time”: “2020-12-29T05: 00: 00Z”, “duration”: 45, “status”: “deleted”}]

The one whose “status” is “deleted” is deleted from the webinar schedule, isn’t it?

thanks,
Akira

Hi @akira.k,

Can you please share the request URL and occurrence ID as well? This will help me to confirm.

Thanks,
Will

Hi, @will.zoom

I create the following request in PHP.

$webinar_id = {{--MY WEBINAR ID--}};
$token_id = {{--MY JWT TOKEN ID--}};
curl_setopt_array($curl, array(
	CURLOPT_URL => "https://api.zoom.us/v2/webinars/" . $webinar_id,
	CURLOPT_RETURNTRANSFER => true,
	CURLOPT_ENCODING => "",
	CURLOPT_MAXREDIRS => 10,
	CURLOPT_TIMEOUT => 30,
	CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
	CURLOPT_CUSTOMREQUEST => "GET",
	CURLOPT_HTTPHEADER => array(
		"authorization: Bearer " . $token_id,
		"content-type: application/json"
	),
));

And the occurrence ID is “1609218000000”.

Thanks,
Akira

Hi @akira.k,

My apologies for not requesting this before—but can you please include the value for webinar ID that you’re using in your request as the webinar_id variable?

Thanks,
Will

Hi, @will.zoom.

Thank you for your investigation.
The webinar_id variable is “97137555202”.

Thanks,
Akira

Hi @akira.k,

Thank you for sharing this.

In taking a look at this webinar, I’m seeing that there are still several occurrences under this meeting ID that have not been deleted. If you delete one occurrence of a recurring webinar, future occurrences will not also be deleted automatically. You will have to delete the entire series or a specific occurrence and all following occurences.

Let me know if this helps to clarify,
Will

1 Like

Hi, @will.zoom.

I understand.

This time I wanted to exclude the deleted schedule from the acquisition,
so it seems that I can realize what I want by excluding the one whose “status” is “deleted” in the PHP process.

Thank you for your help.

Thanks,
Akira

No problem, @akira.k. Glad I could help clarify.