Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  API for Campaign Detailed Attempt History

    Posted 23 days ago

    Good Afternoon!

    I'm wondering if anyone can point me in the direction of the API(s) used to gather some information that's available in the Analytics Workspace.

    If I go to Campaign Performance > ((Campaign)) > Interactions > Export I'm presented with the ability to export a "Detailed Attempt History".  This export has a lot of really useful information in it that I'm having a hard time finding otherwise.  Mostly I appreciate the fact that it's breaking out individual Outbound attempts into separate rows.



    Is it just pulling information from one of the Conversations APIs and breaking up the segments?

    Normally I can just inspect the API call through the Network options in the browser, but since this is a "download only" feature I'm having a hard time piecing out where it's pulling data from.

    Thank you!


    #PlatformAPI

    ------------------------------
    Brian Stephens
    Telecom Developer
    ------------------------------


  • 2.  RE: API for Campaign Detailed Attempt History
    Best Answer

    Posted 23 days ago

    Hey Brian, 

    I believe what you're looking for can be got from this api https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-analytics-reporting-exports with the `viewType: "INTERACTION_SEARCH_VIEW"` option . Bear in mind I figured this out from looking at the Network in the browser.

    Best Regards



    ------------------------------
    Ewomazino Onokpise
    Software Engineer
    ------------------------------



  • 3.  RE: API for Campaign Detailed Attempt History

    Posted 23 days ago

    Hey Ewomazino! 

    You got it!  I needed to swap the viewType to "CAMPAIGN_ATTEMPT_DETAIL_VIEW", but after that I got a URL for a .csv which is totally workable.

    Appreciate you!



    ------------------------------
    Brian Stephens
    Telecom Developer
    ------------------------------