Legacy Dev Forum Posts

 View Only

Sign Up

From Developer Tools to Custom Action

  • 1.  From Developer Tools to Custom Action

    Posted 06-05-2025 18:40

    SergioRota | 2018-03-28 14:23:19 UTC | #1

    Hi, I using developer tools to retrieve a count of callbacks offered by queue id

    Response from Developer Tools:

    Now I have to create a custom action with this configuration, but where do I insert this in my action?????

    Thanks Sergio


    Jason_Mathison | 2018-03-28 14:08:19 UTC | #2

    What have you tried that hasn't worked?


    SergioRota | 2018-03-28 14:19:56 UTC | #3

    Jason_Mathison, post:2, topic:2678, full:true
    What have you tried that hasn't worked?

    The action return all interactions becouse I don't understand where insert the filters

    These:

    RESULT:

    [ { "results": [ { "group": { "mediaType": "callback" }, "data": [ { "interval": "2018-03-28T00:00:00.000Z/2018-03-29T00:00:00.000Z", "metrics": [ { "metric": "nOffered", "stats": { "count": 2 } } ] } ] }, { "group": { "mediaType": "voice" }, "data": [ { "interval": "2018-03-28T00:00:00.000Z/2018-03-29T00:00:00.000Z", "metrics": [ { "metric": "nOffered", "stats": { "count": 32 } }, { "metric": "nOverSla", "stats": { "count": 17 } }, { "metric": "nTransferred", "stats": { "count": 18 } }, { "metric": "tAbandon", "stats": { "max": 47592, "min": 579, "count": 2, "sum": 48171 } }, { "metric": "tAcd", "stats": { "max": 210365, "min": 579, "count": 32, "sum": 1291596 } }, { "metric": "tAcw", "stats": { "max": 50000, "min": 2000, "count": 31, "sum": 985000 } }, { "metric": "tAnswered", "stats": { "max": 210365, "min": 7042, "count": 29, "sum": 1227987 } }, { "metric": "tFlowOut", "stats": { "max": 15438, "min": 15438, "count": 1, "sum": 15438 } }, { "metric": "tHandle", "stats": { "max": 853859, "min": 2905, "count": 36, "sum": 5818873 } }, { "metric": "tHeld", "stats": { "max": 16653, "min": 6863, "count": 3, "sum": 33110 } }, { "metric": "tHeldComplete", "stats": { "max": 26247, "min": 6863, "count": 2, "sum": 33110 } }, { "metric": "tIvr", "stats": { "max": 41416, "min": 666, "count": 33, "sum": 143255 } }, { "metric": "tTalk", "stats": { "max": 853859, "min": 2602, "count": 39, "sum": 4800763 } }, { "metric": "tTalkComplete", "stats": { "max": 853859, "min": 2905, "count": 36, "sum": 4800763 } }, { "metric": "tWait", "stats": { "max": 210365, "min": 579, "count": 31, "sum": 1276158 } } ] } ] }, { "group": { "mediaType": "chat" }, "data": [ { "interval": "2018-03-28T00:00:00.000Z/2018-03-29T00:00:00.000Z", "metrics": [ { "metric": "nOffered", "stats": { "count": 1 } }, { "metric": "tAbandon", "stats": { "max": 5139, "min": 5139, "count": 1, "sum": 5139 } }, { "metric": "tAcd", "stats": { "max": 5139, "min": 5139, "count": 1, "sum": 5139 } }, { "metric": "tWait", "stats": { "max": 5139, "min": 5139, "count": 1, "sum": 5139 } } ] } ] } ] } ]


    Jason_Mathison | 2018-03-28 14:41:12 UTC | #4

    If I understand what you are asking, the body of your query needs to go into the requestTemplate.


    system | 2018-04-28 14:54:52 UTC | #5

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