Legacy Dev Forum Posts

 View Only

Sign Up

How do I get conversations or callbacks based on callbackNumbers or callbackScheduledTime?

  • 1.  How do I get conversations or callbacks based on callbackNumbers or callbackScheduledTime?

    Posted 06-05-2025 19:20

    Lynn_Li1 | 2018-10-08 07:47:46 UTC | #1

    How do I get conversations or callbacks based on callbackNumbers or callbackScheduledTime? Thanks.

    Does .net SKD have an implemented API? But I didn't find it. https://developer.mypurecloud.com/api/rest/client-libraries/dotnet/index.html


    crespino | 2018-10-08 18:57:51 UTC | #2

    The .NET API Library is available via NuGet. In Visual Studio you can use the package manager to search for PureCloud and it should show you the client library so that you can add it to your project.


    crespino | 2018-10-08 19:01:11 UTC | #3

    To query for callbacks check out this post: https://developer.mypurecloud.com/forum/t/query-queue-for-callbacks/1536


    Lynn_Li1 | 2018-10-10 01:37:40 UTC | #4

    Thanks. I know this interface can be queried according to Callbacks, like this:

    https://api.mypurecloud.com/api/v2/analytics/conversations/details/query Request:

    { "interval": "2018-10-05T23:00:49.833Z/2018-10-30T00:00:00.000Z", "paging": { "pageSize": 100, "pageNumber":1 }, "order": "asc", "orderBy": "conversationStart", "segmentFilters": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "queueId", "operator": "matches", "value": "412d1e7e-a2e0-4f9c-998f-d965981f3152" }, { "type": "dimension", "dimension": "mediaType", "operator": "matches", "value": "callback" } ] } ] }

    But this interface can only return 100 data at most.

    Can I use the phone number as a query condition to query the queue? Or can I use the callbackScheduledTime range as a query condition to query the queue?


    Lynn_Li1 | 2018-10-10 01:39:02 UTC | #5

    crespino, post:2, topic:3691
    Library is available via NuGet. In Visual Studio you can use the package manager to search for PureCloud and it should show you the client library so that you can add it to your project.

    Thank you very much! Can I use the phone number as a query condition to query the queue? Or can I use the callbackScheduledTime range as a query condition to query the queue?


    tim.smith | 2018-10-15 15:06:53 UTC | #6

    You can't query by those. Those dimensions aren't available for searching as documented here: https://developer.mypurecloud.com/api/rest/v2/analytics/dimensions.html


    Lynn_Li1 | 2018-10-18 07:40:32 UTC | #8

    Thank you very much!


    system | 2018-11-18 07:40:36 UTC | #9

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