" /> Genesys Cloud API - DN status - Genesys CTI User Forum

Author Topic: Genesys Cloud API - DN status  (Read 867 times)

Offline bocukom

  • Newbie
  • *
  • Posts: 9
  • Karma: 3
Genesys Cloud API - DN status
« on: July 26, 2023, 08:26:16 AM »
Advertisement
Hello,

I am trying to retrieve DN status from Genesys Cloud using its API. I can get Agent's Presence; however, where can I tell if the station is OnHook, OffHook, OnCall, OnHold, and so on? I looked at Station API, but it is not there.

Thank you!

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Genesys Cloud API - DN status
« Reply #1 on: July 26, 2023, 10:40:36 AM »
Well...I am not Cloud expert but talking about telephony...those make sense on analog or digital phones, not IP phones. In those, SIP phones or H323 (old), no need to "Hookup" a phone to dial, there is software basically. So those are instant emulated events. Not durable ones.
Hold, yes, I agree, is a valid one, but according to
https://developer.genesys.cloud/useragentman/presence/understanding-presence#routing-statuses
Also doesn't make sense as would enter the



INTERACTING - Handling an interaction (live or wrap up)


What are you trying to achieve?

Offline bocukom

  • Newbie
  • *
  • Posts: 9
  • Karma: 3
Re: Genesys Cloud API - DN status
« Reply #2 on: July 27, 2023, 08:29:12 AM »
Thank you
I want to display a list of agents and know what they are currently doing. There is a presentation on the link, there is a schema there, in it there is a field "Status" where I need to display the DN statuses
https://docs.google.com/presentation/d/1SdinWMkytUXYMccolyl1URPzCiYp2v92/edit#slide=id.p1

Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Re: Genesys Cloud API - DN status
« Reply #3 on: July 27, 2023, 12:47:39 PM »
You're trying to export this information in a 3rd party environment, outside of Cloud CX?, because in Cloud CX environment you should be able to achieve the goal using the Agent Status workspace, if you have the rights to do so.  Filter the view for selected agents only, if required. There you have the Status column, and you can add more columns using the "+" in the top right of the view's tab headers.
« Last Edit: July 27, 2023, 12:54:21 PM by Gef Buneri »