Wiki source code of Agent Statistic Event

Last modified by michaely on 2021/09/10 23:34

Show last authors
1 {{layout}}
2 {{layout-section ac:type="two_right_sidebar"}}
3 {{layout-cell}}
4 {{warning}}
5 This page is currently being written. Although the information below is probably accurate, it may not be complete or may have errors.
6 {{/warning}}
7
8 {{info}}
9 The information on this page applies to **iSymphony 3.2+**.
10 {{/info}}
11
12 {{note}}
13 (% class="confluence-information-macro-body" %)
14 (((
15 This event will only be fired for agents in queues that are enabled, and are related to an extension that is bound to a licensed/full user.
16 )))
17 {{/note}}
18
19 = (% style="color: rgb(0,0,0);" %)Description(%%) =
20
21 The agent statistic event signifies that an agent statistic value has changed.
22 {{/layout-cell}}
23
24 {{layout-cell}}
25 {{panel title="On this page:"}}
26
27
28 {{toc maxLevel="2" indent="1"/}}
29 {{/panel}}
30 {{/layout-cell}}
31 {{/layout-section}}
32
33 {{layout-section ac:type="single"}}
34 {{layout-cell}}
35
36
37 = JSON Representation =
38
39 {{code language="js"}}
40 {
41 "type": "agentStatistic",
42 "time": 1436896386292,
43 "coreServerId": "e5c01703-3c6d-429a-8712-66c826064e65",
44 "statistic": "callsTaken",
45 "value": 16,
46 "agentId": "b82ecd05-a6d0-49a3-a4b6-2ab0816d2278",
47 "agent": "Michael Y",
48 "state": "NOT_INUSE",
49 "queueId": "d84b6349-099b-48c5-bc8c-2aecd5de2b45",
50 "queue": "IncomingQ",
51 "extensionId": "d72ac658-cd19-4c88-9cf8-2e7bdcf222b5",
52 "extensionNumber": "4224",
53 "userId": "e7577c7b-5d58-46a5-a834-386f52401c19",
54 "username": "4224"
55 }
56 {{/code}}
57
58 |=(((
59 Property
60 )))|=(((
61 Type
62 )))|=(((
63 Description
64 )))
65 |(% colspan="1" %)(% colspan="1" %)
66 (((
67 statistic
68 )))|(% colspan="1" %)(% colspan="1" %)
69 (((
70 String
71 )))|(% colspan="1" %)(% colspan="1" %)
72 (((
73 The name of the statistic that has changed. See Agent Statistics below for values of this property.
74 )))
75 |(% colspan="1" %)(% colspan="1" %)
76 (((
77 value
78 )))|(% colspan="1" %)(% colspan="1" %)
79 (((
80 Varying
81 )))|(% colspan="1" %)(% colspan="1" %)
82 (((
83 The new value of the statistic. The type of this property will vary depending on which statistic is being reported. See Agent Statistics below for more information.
84 )))
85 |(% colspan="1" %)(% colspan="1" %)
86 (((
87 agentId
88 )))|(% colspan="1" %)(% colspan="1" %)
89 (((
90 String
91 )))|(% colspan="1" %)(% colspan="1" %)
92 (((
93 The id of the agent the statistic changed on.
94 )))
95 |(% colspan="1" %)(% colspan="1" %)
96 (((
97 agent
98 )))|(% colspan="1" %)(% colspan="1" %)
99 (((
100 String
101 )))|(% colspan="1" %)(% colspan="1" %)
102 (((
103 The display name of the agent the statistic changed on.
104 )))
105 |(% colspan="1" %)(% colspan="1" %)
106 (((
107 state
108 )))|(% colspan="1" %)(% colspan="1" %)
109 (((
110 String
111 )))|(% colspan="1" %)(% colspan="1" %)
112 (((
113 The current device state of the agent.
114 )))
115 |(% colspan="1" %)(% colspan="1" %)
116 (((
117 queueId
118 )))|(% colspan="1" %)(% colspan="1" %)
119 (((
120 String
121 )))|(% colspan="1" %)(% colspan="1" %)
122 (((
123 The id of the queue the agent is logged into.
124 )))
125 |(% colspan="1" %)(% colspan="1" %)
126 (((
127 queue
128 )))|(% colspan="1" %)(% colspan="1" %)
129 (((
130 String
131 )))|(% colspan="1" %)(% colspan="1" %)
132 (((
133 The display name of the queue the agent is logged into.
134 )))
135 |(% colspan="1" %)(% colspan="1" %)
136 (((
137 extensionId
138 )))|(% colspan="1" %)(% colspan="1" %)
139 (((
140 String
141 )))|(% colspan="1" %)(% colspan="1" %)
142 (((
143 The id of the extension the agent is related to.
144 )))
145 |(% colspan="1" %)(% colspan="1" %)
146 (((
147 extensionNumber
148 )))|(% colspan="1" %)(% colspan="1" %)
149 (((
150 String
151 )))|(% colspan="1" %)(% colspan="1" %)
152 (((
153 The extension number of the extension the agent is related to.
154 )))
155 |(% colspan="1" %)(% colspan="1" %)
156 (((
157 userId
158 )))|(% colspan="1" %)(% colspan="1" %)
159 (((
160 String
161 )))|(% colspan="1" %)(% colspan="1" %)
162 (((
163 The id of the user the agent is related to.
164 )))
165 |(% colspan="1" %)(% colspan="1" %)
166 (((
167 username\\
168 )))|(% colspan="1" %)(% colspan="1" %)
169 (((
170 String
171 )))|(% colspan="1" %)(% colspan="1" %)
172 (((
173 The username of the user the agent is related to.
174 )))
175
176
177
178 = (% style="color: rgb(0,0,0);" %)Agent Statistics(%%) =
179
180 |=(((
181 Name
182 )))|=(% colspan="1" %)(% colspan="1" %)
183 (((
184 Type
185 )))|=(((
186 Description
187 )))
188 |(((
189 lastCallTime
190 )))|(% colspan="1" %)(% colspan="1" %)
191 (((
192 Long
193 )))|(((
194 The time specifying when the agent took their last call. Specified as a unix timestamp, in milliseconds.
195 )))
196 |(((
197 callsTaken
198 )))|(% colspan="1" %)(% colspan="1" %)
199 (((
200 Integer
201 )))|(((
202 The total number of calls the agent has taken from the queue.
203 )))
204 |(% colspan="1" %)(% colspan="1" %)
205 (((
206 penalty
207 )))|(% colspan="1" %)(% colspan="1" %)
208 (((
209 Integer
210 )))|(% colspan="1" %)(% colspan="1" %)
211 (((
212 The current penalty value of the agent.
213 )))
214 {{/layout-cell}}
215 {{/layout-section}}
216 {{/layout}}
iSymphony