Legacy Dev Forum Posts

 View Only

Sign Up

Not recieving data for agent performance summary view from ReportingExportJobRequest in Analytics API

  • 1.  Not recieving data for agent performance summary view from ReportingExportJobRequest in Analytics API

    Posted 06-05-2025 18:09

    Mohan_Maddineni | 2024-06-18 14:05:41 UTC | #1

    Hi, I am using the analytics api and the ReportingExportJobRequest() endpoint to generate an agent performance summary view. Then I use getanalyticsreporting_exports() to retrieve the download URL and use the s3 link/actual download link within the content of the download URL to download the agent performance view that I just generated. The issue I am facing is that I don't get any data besides the column headers which is the opposite of using the same API's in the cloud developer tools section of Genesys cloud. I get the expected data from the API when I run it in the cloud developer tools in my web browser but not from Python script, I am not receiving any errors as well. The script and API's executes smoothly and I have debugged through it. I have also verified by running the same days in the py script and the cloud developer tools. The payload options are the same, not sure why I get no data just the column headers.

    Please advise on how to proceed, I use these same api endpoints to pull the queue performance summary and I have no issue.


    Mohan_Maddineni | 2024-06-17 20:34:57 UTC | #2

    @tim.smith would you be able to help out with this? Is it possible that the particular view is malfunctioning for the API? Not sure why it would work in Genesys Cloud but not via script the payload info is identical


    tim.smith | 2024-06-17 20:49:46 UTC | #3

    Mohan_Maddineni, post:1, topic:26807
    The issue I am facing is that I don't get any data besides the column headers which is the opposite of using the same API's in the cloud developer tools section of Genesys cloud.

    Sounds like maybe you're authorizing as client credentials in your app and those credentials have different access to divisioned data than your user. What data you get in API responses or reports isn't something we can investigate via the forum though. If you can't identify why the report is lacking data, please open a case with Genesys Cloud Care to investigate further.


    Mohan_Maddineni | 2024-06-18 11:10:11 UTC | #5

    I am authorizing as client credentials , any idea which authentication method would allow me to view the data or is it a permission that needs to be set for the client credentials? If I need to change auth methods I am thinking I should use the OAuth SAML2 Bearer Grant.


    tim.smith | 2024-06-18 12:50:13 UTC | #6

    The auth method itself isn't the issue. https://help.mypurecloud.com/articles/divisions-overview/


    Mohan_Maddineni | 2024-06-18 14:05:02 UTC | #7

    Got the issue resolved our Genesys Admins applied the permissions that are required for the Agents Performance Summary View


    system | 2024-07-19 14:05:09 UTC | #8

    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: 26807