Wiki source code of Agent Logout 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 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.
14 {{/note}}
15
16 = (% style="color: rgb(0,0,0);" %)Description(%%) =
17
18 The agent logout event signifies that an agent has logged out of a queue.
19 {{/layout-cell}}
20
21 {{layout-cell}}
22 {{panel title="On this page:"}}
23
24
25 {{toc maxLevel="2" indent="1"/}}
26 {{/panel}}
27 {{/layout-cell}}
28 {{/layout-section}}
29
30 {{layout-section ac:type="single"}}
31 {{layout-cell}}
32 = (% style="color: rgb(0,0,0);" %)JSON Representation(%%) =
33
34 {{code language="js"}}
35 {
36 "type": "agentLogout",
37 "time": 1436898801706,
38 "coreServerId": "e5c01703-3c6d-429a-8712-66c826064e65",
39 "agentId": "b82ecd05-a6d0-49a3-a4b6-2ab0816d2278",
40 "agent": "Michael Y",
41 "state": "NOT_INUSE",
42 "queueId": "d84b6349-099b-48c5-bc8c-2aecd5de2b45",
43 "queue": "IncomingQ",
44 "extensionId": "d72ac658-cd19-4c88-9cf8-2e7bdcf222b5",
45 "extensionNumber": "100",
46 "userId": "e7577c7b-5d58-46a5-a834-386f52401c19",
47 "username": "4224"
48 }
49 {{/code}}
50
51 |=(((
52 Property
53 )))|=(((
54 Type
55 )))|=(((
56 Description
57 )))
58 |(% colspan="1" %)(% colspan="1" %)
59 (((
60 agentId
61 )))|(% colspan="1" %)(% colspan="1" %)
62 (((
63 String
64 )))|(% colspan="1" %)(% colspan="1" %)
65 (((
66 The id of the agent that logged out of the queue.
67 )))
68 |(% colspan="1" %)(% colspan="1" %)
69 (((
70 agent
71 )))|(% colspan="1" %)(% colspan="1" %)
72 (((
73 String
74 )))|(% colspan="1" %)(% colspan="1" %)
75 (((
76 The display name of the agent that logged out of the queue.
77 )))
78 |(% colspan="1" %)(% colspan="1" %)
79 (((
80 state\\
81 )))|(% colspan="1" %)(% colspan="1" %)
82 (((
83 String
84 )))|(% colspan="1" %)(% colspan="1" %)
85 (((
86 The device state of the agent.
87 )))
88 |(% colspan="1" %)(% colspan="1" %)
89 (((
90 queueId
91 )))|(% colspan="1" %)(% colspan="1" %)
92 (((
93 String
94 )))|(% colspan="1" %)(% colspan="1" %)
95 (((
96 The id of the queue the agent logged out of.
97 )))
98 |(% colspan="1" %)(% colspan="1" %)
99 (((
100 queue
101 )))|(% colspan="1" %)(% colspan="1" %)
102 (((
103 String
104 )))|(% colspan="1" %)(% colspan="1" %)
105 (((
106 The display name of the queue the agent logged out of.
107 )))
108 |(% colspan="1" %)(% colspan="1" %)
109 (((
110 extensionId
111 )))|(% colspan="1" %)(% colspan="1" %)
112 (((
113 String
114 )))|(% colspan="1" %)(% colspan="1" %)
115 (((
116 The id of the extension related to the agent.
117 )))
118 |(% colspan="1" %)(% colspan="1" %)
119 (((
120 extensionNumber
121 )))|(% colspan="1" %)(% colspan="1" %)
122 (((
123 String
124 )))|(% colspan="1" %)(% colspan="1" %)
125 (((
126 The extension number of the extension related to the agent.
127 )))
128 |(% colspan="1" %)(% colspan="1" %)
129 (((
130 userId
131 )))|(% colspan="1" %)(% colspan="1" %)
132 (((
133 String
134 )))|(% colspan="1" %)(% colspan="1" %)
135 (((
136 The id of the user related to the agent.
137 )))
138 |(% colspan="1" %)(% colspan="1" %)
139 (((
140 username\\
141 )))|(% colspan="1" %)(% colspan="1" %)
142 (((
143 String
144 )))|(% colspan="1" %)(% colspan="1" %)
145 (((
146 The username of the user related to the agent.
147 )))
148 {{/layout-cell}}
149 {{/layout-section}}
150 {{/layout}}
iSymphony