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