Total duration participants

I’m having a hard time understanding why the total duration for registered participants is not a sum of all the signon/signoff periods within a meeting. Here’s the result for /report/meetings/{meeting_id}/participants:

[page_count] => 1
    [page_size] => 300
    [total_records] => 5
    [next_page_token] => 
    [participants] => Array
        (
            [0] => Array
                (
                    [id] => vuQwNUXKT0etpB0sksCJQA
                    [user_id] => 16778240
                    [name] => <host name>
                    [user_email] => zoom.host@ourdomain.com
                    [join_time] => 2021-01-30T13:00:49Z
                    [leave_time] => 2021-01-30T13:03:22Z
                    [duration] => 153
                    [attentiveness_score] => 
                )

            [1] => Array
                (
                    [id] => FLA4epaiSFiPZjCpxq9EgA
                    [user_id] => 16779264
                    [name] => Attendee 1 Name
                    [user_email] => attendee1@ourdomain.com
                    [join_time] => 2021-01-30T13:01:14Z
                    [leave_time] => 2021-01-30T13:01:31Z
                    [duration] => 17
                    [attentiveness_score] => 
                )

            [2] => Array
                (
                    [id] => FLA4epaiSFiPZjCpxq9EgA
                    [user_id] => 16780288
                    [name] => Attendee 1 Name
                    [user_email] => attendee1@ourdomain.com
                    [join_time] => 2021-01-30T13:01:31Z
                    [leave_time] => 2021-01-30T13:02:17Z
                    [duration] => 46
                    [attentiveness_score] => 
                )

            [3] => Array
                (
                    [id] => KGkiUe8SSYyF1NKb6ot7GQ
                    [user_id] => 16781312
                    [name] => Attendee 2 Name
                    [user_email] => attendee2@ourdomain.com
                    [join_time] => 2021-01-30T13:02:50Z
                    [leave_time] => 2021-01-30T13:02:58Z
                    [duration] => 8
                    [attentiveness_score] => 
                )

            [4] => Array
                (
                    [id] => KGkiUe8SSYyF1NKb6ot7GQ
                    [user_id] => 16782336
                    [name] => Attendee 2 Name
                    [user_email] => attendee2@ourdomain.com
                    [join_time] => 2021-01-30T13:02:59Z
                    [leave_time] => 2021-01-30T13:03:17Z
                    [duration] => 18
                    [attentiveness_score] => 
                )

        )

As you can see, both Attendee 1 and Attendee 2 have both signed on/off two times. Zoom sees that these are the same participant (same id), yet, why do they get different entries, and is their duration not just added up?

Hey @BoringUsername,

The reason it is listed as two seperate entries is so that you can easily see what sections of the meeting each participant was there for. For example, if I wanted to see if John Was in my meeting for a particular part of a presentation, I could see what times he joined and left, and determine whether he was present. If all I have is a generic ‘duration’, I have no idea what part of the meeting he was present for.

I’m not 100% sure what your use case is, however it should be pretty easy to iterate over the participants and add up their durations, if you need such data.

It would make a good #feature-requests to have a column names ‘total_duration’ which lists the total number of minutes an attendee was live for.

Thanks,
Alex

Thanks @alexmayo, for confirming this. Indeed, it’s very simple to calculate the total duration, because that’s my use case: attendees need to participate a minimum duration. The only problem I have with this, is that the number of entries may get pretty big. You can only get max 300 per API call, and with a 100 participants you can easily go over that limit, meaning more API calls for just the totals.

Side note: I didn’t notice it at first, but the user_id changes for each section, the id stays the same.

1 Like

Right. I can certainly see the advantage of having a total_duration property for retrieved results. I would personally post in the #feature-requests section, so that it get seen by the development team. :+1:

1 Like

Hey @alexmayo,

Thank you for the assist! Let me know if you have any questions @BoringUsername.

Thanks,
Max

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.