Legacy Dev Forum Posts

 View Only

Sign Up

Need more clarification on DurationMs and AbsoluteDurationMs in Genesys Annotations

  • 1.  Need more clarification on DurationMs and AbsoluteDurationMs in Genesys Annotations

    Posted 06-05-2025 18:26

    kirk | 2023-06-14 18:48:38 UTC | #1

    Can someone from Genesys provide further clarification on exactly what DurationMs and AbsoluteDurationMs represents in the Genesys Annotations endpoint?

    The following link talks a little bit about it but it's still not very clear on what the difference between the two really is: https://developer.genesys.cloud/forum/t/secure-pause-annotations-durationms-vs-absolutedurationms/15690

    I have the following 2 examples

    Example 1

    [
        {
            "id": "zzzzzzzzzzzzzzzzzzzzzz",
            "type": "Pause",
            "location": 1700,
            "durationMs": 232060,
            "absoluteLocation": 1300,
            "absoluteDurationMs": 1267775,
            "recordingLocation": 1700,
            "recordingDurationMs": 0,
            "description": "Secure Pause",
            "reason": "SecurePause",
            "realtimeLocation": 1322
        }
    ]

    Example 2

    [
        {
            "id": "xxxxxxxxxxxxxxxxxxxxxx",
            "type": "Pause",
            "location": 1720,
            "durationMs": 109930,
            "absoluteLocation": 1320,
            "absoluteDurationMs": 109930,
            "recordingLocation": 1720,
            "recordingDurationMs": 0,
            "description": "Secure Pause",
            "reason": "SecurePause",
            "realtimeLocation": 1339
        }
    ]

    In Example 1 the DurationMs and AbsoluteDurationMs are VERY different, whereas in Example 2 they are both the same.

    Can I get some input on this?

    Kirk


    Eos_Rios | 2023-06-15 17:12:45 UTC | #2

    Per Tim in that post

    The absolute time is simply the end minus the start time. The adjusted for cuts time is the absolute time minus any periods of time that the recording wasn't active.

    So what are you needing clarification on?


    system | 2023-07-16 17:13:20 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 20448