Skip to main content

Hello everyone,

This is my first post, I am new to API. I am working on a powerapp to pull call queue members status if they are logged in or not in a call queue. I have setup custom connector and test is giving me a result below:

{

  "records":

    {

      "member": {

        "id": "123456789",

        "name": "Mr Xyz",

        "extensionNumber": "5000"

      },

      "acceptQueueCalls": true

    },

in custom data connector settings Definition->Response I use below information in Headers and body area:

Headers

e

  {

    "name": "Content-Type",

    "value": "application/json"

  }

]


         ------- Body ----

{

  "activeMembers": c

    {

      "id": "12345678",

      "extensionNumber": "1801",

      "name": "John Doe",

      "presenceStatus": "Available",

      "dndStatus": "TakeAllCalls",

      "telephonyStatus": "Ringing",

      "userType": "User",

      "lastActive": "2023-11-01T12:34:56Z"

    }

  ],

  "totalActiveMembers": 1

}

 

in my power app when i insert the gallery and bind it to data connector, I am not getting any results.

I would really appreciate if someone help me.

Regards,

Aley

There is no API to detect if an agent is logged in or logged out from a call queue. However, there is an API to read a call queues’ agent status. Read this dev guide and sample code.

You can also subscribe for the call queue presence event notification to get notified when a user changes their call queue presence status.


Reply