<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can I get the current state of all WxCC agents in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4740868#M3361</link>
    <description>&lt;P&gt;This has since been fixed - using AgentSession is the way to get the latest states.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/CiscoDevNet/webex-contact-center-api-samples/blob/main/graphql-sample/allAgentSessionFields.graphql" target="_blank"&gt;https://github.com/CiscoDevNet/webex-contact-center-api-samples/blob/main/graphql-sample/allAgentSessionFields.graphql&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Along with isActive&lt;/P&gt;
&lt;P&gt;isActive&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 21:01:21 GMT</pubDate>
    <dc:creator>Arunabh Bhattacharjee</dc:creator>
    <dc:date>2022-12-16T21:01:21Z</dc:date>
    <item>
      <title>Can I get the current state of all WxCC agents</title>
      <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4670265#M3353</link>
      <description>&lt;P&gt;i.e. if I start my app and subscribe to agent webhooks I don't know what state they are in, listing all activities from&amp;nbsp;&lt;SPAN&gt;/v1/agents/activities doesn't seem very usable as I don't know how far back I need to go&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 22:36:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4670265#M3353</guid>
      <dc:creator>Sascha Monteiro</dc:creator>
      <dc:date>2022-08-16T22:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the current state of all WxCC agents</title>
      <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4670312#M3354</link>
      <description>&lt;P&gt;Wouldn't this be better handled by a subscription to events? You will still not know their state, but over time you'll get everyone's current state.&lt;/P&gt;
&lt;P&gt;david&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 01:30:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4670312#M3354</guid>
      <dc:creator>david.macias</dc:creator>
      <dc:date>2022-08-17T01:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the current state of all WxCC agents</title>
      <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4670335#M3355</link>
      <description>&lt;P&gt;yeah, I do that, but it can take hours or days if the agent has no new events, and if I i.e. restart my app or it's offline for maintenance I may miss events and agents may be reported incorrectly&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 02:56:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4670335#M3355</guid>
      <dc:creator>Sascha Monteiro</dc:creator>
      <dc:date>2022-08-17T02:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the current state of all WxCC agents</title>
      <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4670891#M3356</link>
      <description>&lt;P&gt;Is there a reason you couldn't use an analyzer report for this? Is there a business case where you need to look at it directly vs. the GUI for instance?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 12:28:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4670891#M3356</guid>
      <dc:creator>bill.king1</dc:creator>
      <dc:date>2022-08-17T12:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the current state of all WxCC agents</title>
      <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4671255#M3357</link>
      <description>&lt;P&gt;we are developing wallboards with queue &amp;amp; agent stats that go on TV's etc&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 20:11:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4671255#M3357</guid>
      <dc:creator>Sascha Monteiro</dc:creator>
      <dc:date>2022-08-17T20:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the current state of all WxCC agents</title>
      <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4671954#M3358</link>
      <description>&lt;P&gt;Today there are a few unfinished items in the below API for agentSession, as it is still early beta - however you should be able to&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;curl --location --request POST 'https://api.wxcc-us1.cisco.com/search?orgId=1c71287f-2f41-458b-b101-c4e616123554' \&lt;BR /&gt;&lt;BR /&gt;--header 'Authorization: Bearer yourToken' \&lt;BR /&gt;&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;&lt;BR /&gt;--data-raw '{"query":"{\n # Agent Session \"All Fields\" example - Gets all the Agent Session fields - All fields in the ASR\n agentSession(from: 1658965592151, to: 1660845638003, \n filter: {isActive: {equals: true}}) {\n agentSessions {\n agentId\n userLoginId\n agentName\n agentSessionId\n isActive\n startTime\n endTime\n teamId\n teamName\n siteId\n siteName\n channelInfo {\n totalDuration\n channelId\n agentToAgentTransferCount\n agentTransferToQueueRequestCount\n availableCount\n blindTransferCount\n channelId\n channelType\n connectedCount\n consultAnswerCount\n consultAnswerDuration\n consultRequestCount\n consultRequestDuration\n consultToQueueAnswerCount\n consultToQueueAnswerDuration\n consultToQueueCount\n consultToQueueDuration\n consultToQueueRequestCount\n consultToQueueRequestDuration\n disconnectedCount\n disconnectedHoldCallsCount\n holdCount\n holdDuration\n idleCount\n idleDuration\n notRespondedCount\n notRespondedDuration\n outdialAgentToAgentTransferCount\n agentTransferToQueueRequestCount\n outdialBlindTransferCount\n outdialConferenceCount\n outdialConferenceDuration\n outdialConnectedCount\n outdialConnectedDuration\n outdialConsultAnswerCount\n outdialConsultAnswerDuration\n outdialConsultCount\n outdialConsultDuration\n outdialConsultRequestCount\n outdialConsultRequestDuration\n outdialCount\n outdialConsultToQueueAnswerCount\n outdialConsultToQueueAnswerDuration\n outdialConsultToQueueRequestCount\n outdialConsultToQueueRequestDuration\n outdialHoldCount\n outdialHoldDuration\n outdialNotRespondedCount\n outdialNotRespondedDuration\n outdialRingingCount\n outdialRingingDuration\n outdialTransferCount\n outdialWrapupCount\n outdialWrapupDuration\n ringingCount\n ringingDuration\n subChannelType\n availableDuration\n conferenceDuration\n connectedDuration\n consultAnswerDuration\n consultDuration\n consultRequestDuration\n consultToQueueAnswerDuration\n consultToQueueDuration\n consultToQueueRequestDuration\n holdDuration\n idleDuration\n notRespondedDuration\n outdialConferenceDuration\n outdialConnectedDuration\n outdialConsultAnswerDuration\n outdialConsultDuration\n outdialConsultRequestDuration\n outdialConsultToQueueAnswerDuration\n outdialConsultToQueueRequestDuration\n outdialHoldDuration\n outdialNotRespondedDuration\n outdialRingingDuration\n outdialWrapupDuration\n ringingDuration\n wrapupDuration\n transferCount\n wrapupCount\n }\n }\n }\n}","variables":{}}'&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Dec 2022 20:55:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4671954#M3358</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-12-16T20:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the current state of all WxCC agents</title>
      <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4672099#M3359</link>
      <description>&lt;P&gt;thanks, I can get results if I leave state out, but this still requires the agent to have a state change within this from-to period?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 04:13:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4672099#M3359</guid>
      <dc:creator>Sascha Monteiro</dc:creator>
      <dc:date>2022-08-19T04:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the current state of all WxCC agents</title>
      <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4672514#M3360</link>
      <description>So this gives you the details of the agent session at that point in time, when you filter for active sessions&lt;BR /&gt;&lt;BR /&gt;A session spans from  a login to logout. One session record per logged in session for that agent&lt;BR /&gt;The state field will give you the state at that point in time when you make the request&lt;BR /&gt;&lt;BR /&gt;For all past sessions you will see the state as logged-out&lt;BR /&gt;&lt;BR /&gt;Let us know if you have any questions&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Aug 2022 13:27:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4672514#M3360</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-08-19T13:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the current state of all WxCC agents</title>
      <link>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4740868#M3361</link>
      <description>&lt;P&gt;This has since been fixed - using AgentSession is the way to get the latest states.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/CiscoDevNet/webex-contact-center-api-samples/blob/main/graphql-sample/allAgentSessionFields.graphql" target="_blank"&gt;https://github.com/CiscoDevNet/webex-contact-center-api-samples/blob/main/graphql-sample/allAgentSessionFields.graphql&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Along with isActive&lt;/P&gt;
&lt;P&gt;isActive&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 21:01:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/can-i-get-the-current-state-of-all-wxcc-agents/m-p/4740868#M3361</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-12-16T21:01:21Z</dc:date>
    </item>
  </channel>
</rss>

