Webinar Updated Webhook has different occurrence ids

Description
The updated object has new occurrence ids. Thus i cannot sync the changes to my database since the occurrence ids are now different. Also retrieving the webinar via the API, its not containing the agenda of each individual occurrence.

{
“event”: “webinar.updated”,
“payload”: {
“account_id”: “oDWsAMHRQ96N9_IupFcEPw”,
“operator”: “marketing@tickmill.com”,
“operator_id”: “g7Nw97wvSKKaREFtbyJBRw”,
“scope”: “all”,
“object”: {
“id”: 453839130,
“duration”: 120,
“agenda”: “my description all”,
“occurrences”: [
{
“occurrence_id”: “1580407200000”,
“start_time”: “2020-01-30T18:00:00Z”,
“duration”: 120,
“status”: “available”
},
{
“occurrence_id”: “1580493600000”,
“start_time”: “2020-01-31T18:00:00Z”,
“duration”: 120,
“status”: “available”
},
{
“occurrence_id”: “1580580000000”,
“start_time”: “2020-02-01T18:00:00Z”,
“duration”: 120,
“status”: “available”
},
{
“occurrence_id”: “1580666400000”,
“start_time”: “2020-02-02T18:00:00Z”,
“duration”: 120,
“status”: “available”
},
{
“occurrence_id”: “1580752800000”,
“start_time”: “2020-02-03T18:00:00Z”,
“duration”: 120,
“status”: “available”
},
{
“occurrence_id”: “1580839200000”,
“start_time”: “2020-02-04T18:00:00Z”,
“duration”: 120,
“status”: “available”
},
{
“occurrence_id”: “1580925600000”,
“start_time”: “2020-02-05T18:00:00Z”,
“duration”: 120,
“status”: “available”
}
]
},
“old_object”: {
“id”: 453839130,
“duration”: 60,
“agenda”: “my description”,
“occurrences”: [
{
“occurrence_id”: “1580410800000”,
“start_time”: “2020-01-30T19:00:00Z”,
“duration”: 60,
“status”: “available”
},
{
“occurrence_id”: “1580497200000”,
“start_time”: “2020-01-31T19:00:00Z”,
“duration”: 60,
“status”: “available”
},
{
“occurrence_id”: “1580583600000”,
“start_time”: “2020-02-01T19:00:00Z”,
“duration”: 60,
“status”: “available”
},
{
“occurrence_id”: “1580670000000”,
“start_time”: “2020-02-02T19:00:00Z”,
“duration”: 60,
“status”: “available”
},
{
“occurrence_id”: “1580756400000”,
“start_time”: “2020-02-03T19:00:00Z”,
“duration”: 60,
“status”: “available”
},
{
“occurrence_id”: “1580842800000”,
“start_time”: “2020-02-04T19:00:00Z”,
“duration”: 60,
“status”: “available”
},
{
“occurrence_id”: “1580929200000”,
“start_time”: “2020-02-05T19:00:00Z”,
“duration”: 60,
“status”: “available”
}
]
},
“time_stamp”: 1580395076424
}
}

Error
Not an error.

Which App?
Webinar Webhooks

How To Reproduce (If applicable)
Steps to reproduce the behaviour:
Select to update all occurrences of a recurring webinar.

Screenshots (If applicable)
I have added a webhook request payload as an example.

Additional context

Hey @n.fragkos,

I am guessing this is for a recurring webinar.

If so, it is intended that each occurrence has a different occurrence_id and only one description / agenda.

Thanks,
Tommy

Hi @tommy. Please check the object and old_object. The date of the occurrences is the same but the ids changed.

Hey @n.fragkos,

I see you are getting the object from the webinar.updated webhook.

Where are you getting the old_object from?

Thanks,
Tommy

Hi,

The webinar updated webhook contains the old object.

Thanks,
Nikolas

Hey @n.fragkos,

Apologies for misunderstanding. It appears the start_time’s are all unique so the webinar IDs are all different.

What did you change when updating the webinar?

Thanks,
Tommy

Hi,

I edited a recurring webinar and on save I pressed to apply the changes to All occurrences.

However I noticed that when you select to apply the changes to all occurrences it applies the changes to the occurrences that haven’t changed individually. I hope this is clear.

Thanks,
Nikolas

Hey @n.fragkos,

The webinar ID won’t change so you can use that to sync with your database.

Can you explain this more? I am having a hard time understanding.

Thanks,
Tommy

The webinar does not change but the get webinar API doesn’t return the individual agendas for occurrences.

Assume we created A recurring webinar with O1, O2, O3, O4 occurrences. Editing O1 occurrence and changing its agenda then O1 has a different agenda with the rest of the occurrences and the get webinar API doesn’t contain its different agenda.

Screenshot 2020-02-07 at 09.59.36
Moreover editing all occurrences (when press edit on an occurrence and click Edit All), as a result we end up O1 having different agendas with O2, O3 and O4 because the edit All option doesn’t apply the changes to individually changed occurrences.

I see thanks @n.fragkos

To get the updated agenda, have you tried setting the occurrence ID query param for the Get Webinar endpoint?

Thanks,
Tommy

Hi,

No i didn’t set the occurrence id because I will have to do it for every occurrence and usually there will be plenty. It will cause performance issues. It would be nice if the API supported multiple occurrence ids.

Thanks,
Nikolas

Hey @n.fragkos,

True. I will talk to the team about improving this.

Thanks,
Tommy