ZENLIX.docs
Search…
Web-hooks
Данный функционал предоставляет возможность отправлять json-данные на внешний URL-адрес, методом POST, Content type: 'json'=>'application/json'.
  • Заявка создана
  • Заявка переадресована
  • Заявка заблокирована
  • Заявка разблокирована
  • Заявка выполнена
  • Заявка не выполнена
  • Заявка ожидает проверки
  • Заявка проверена
  • Заявка удалена
  • Заявка восстановлена
  • Заявка прокомментирована
  • Заявка отредактирована
Пример JSON:
1
{
2
"ticket": {
3
"code": "E3XK",
4
"prio": "normal",
5
"status": "lock",
6
"text": "Body text with attachments.\r\nРусский текст.",
7
"subject": "Message with attachments",
8
"tags": "from_mail",
9
"urlhash": "GK2xhvYaAv",
10
"created_at": "2019-06-07 10:01:46",
11
"inspect_after_ok": "false",
12
"individual_ok": "false",
13
"deadline_time": null,
14
"sla": [],
15
"client": [
16
{
17
"email": "[email protected]",
18
"profile": {
19
"full_name": "System Account",
20
"lang": "ru"
21
},
22
"contacts": {
23
"email": "[email protected]"
24
}
25
}
26
],
27
"fields": [],
28
"watched": [
29
{
30
"email": "[email protected]",
31
"profile": {
32
"full_name": "System Account",
33
"lang": "ru"
34
},
35
"contacts": {
36
"email": "[email protected]"
37
}
38
},
39
{
40
"email": "[email protected]",
41
"profile": {
42
"full_name": "r",
43
"lang": "ru"
44
},
45
"contacts": {
46
"email": "[email protected]"
47
}
48
}
49
],
50
"comments": [
51
{
52
"author": {
53
"email": "[email protected]",
54
"profile": {
55
"full_name": "System Account",
56
"lang": "ru"
57
},
58
"contacts": {
59
"email": "[email protected]"
60
}
61
},
62
"text": "тест"
63
},
64
{
65
"author": {
66
"email": "[email protected]",
67
"profile": {
68
"full_name": "System Account",
69
"lang": "ru"
70
},
71
"contacts": {
72
"email": "[email protected]"
73
}
74
},
75
"text": "тест"
76
},
77
{
78
"author": {
79
"email": "[email protected]",
80
"profile": {
81
"full_name": "System Account",
82
"lang": "ru"
83
},
84
"contacts": {
85
"email": "[email protected]"
86
}
87
},
88
"text": "test"
89
},
90
{
91
"author": {
92
"email": "[email protected]",
93
"profile": {
94
"full_name": "System Account",
95
"lang": "ru"
96
},
97
"contacts": {
98
"email": "[email protected]"
99
}
100
},
101
"text": "rrerer"
102
},
103
{
104
"author": {
105
"email": "[email protected]",
106
"profile": {
107
"full_name": "System Account",
108
"lang": "ru"
109
},
110
"contacts": {
111
"email": "[email protected]"
112
}
113
},
114
"text": "rrrere"
115
},
116
{
117
"author": {
118
"email": "[email protected]",
119
"profile": {
120
"full_name": "System Account",
121
"lang": "ru"
122
},
123
"contacts": {
124
"email": "[email protected]"
125
}
126
},
127
"text": "test"
128
},
129
{
130
"author": {
131
"email": "[email protected]",
132
"profile": {
133
"full_name": "System Account",
134
"lang": "ru"
135
},
136
"contacts": {
137
"email": "[email protected]"
138
}
139
},
140
"text": "test"
141
},
142
{
143
"author": {
144
"email": "[email protected]",
145
"profile": {
146
"full_name": "System Account",
147
"lang": "ru"
148
},
149
"contacts": {
150
"email": "[email protected]"
151
}
152
},
153
"text": "test message"
154
},
155
{
156
"author": {
157
"email": "[email protected]",
158
"profile": {
159
"full_name": "System Account",
160
"lang": "ru"
161
},
162
"contacts": {
163
"email": "[email protected]"
164
}
165
},
166
"text": "test"
167
},
168
{
169
"author": {
170
"email": "[email protected]",
171
"profile": {
172
"full_name": "System Account",
173
"lang": "ru"
174
},
175
"contacts": {
176
"email": "[email protected]"
177
}
178
},
179
"text": "test"
180
},
181
{
182
"author": {
183
"email": "[email protected]",
184
"profile": {
185
"full_name": "System Account",
186
"lang": "ru"
187
},
188
"contacts": {
189
"email": "[email protected]"
190
}
191
},
192
"text": "rrerere"
193
},
194
{
195
"author": {
196
"email": "[email protected]",
197
"profile": {
198
"full_name": "System Account",
199
"lang": "ru"
200
},
201
"contacts": {
202
"email": "[email protected]"
203
}
204
},
205
"text": "ok!"
206
},
207
{
208
"author": {
209
"email": "[email protected]",
210
"profile": {
211
"full_name": "System Account",
212
"lang": "ru"
213
},
214
"contacts": {
215
"email": "[email protected]"
216
}
217
},
218
"text": "ok2!"
219
},
220
{
221
"author": {
222
"email": "[email protected]",
223
"profile": {
224
"full_name": "System Account",
225
"lang": "ru"
226
},
227
"contacts": {
228
"email": "[email protected]"
229
}
230
},
231
"text": "hello2"
232
},
233
{
234
"author": {
235
"email": "[email protected]",
236
"profile": {
237
"full_name": "System Account",
238
"lang": "ru"
239
},
240
"contacts": {
241
"email": "[email protected]"
242
}
243
},
244
"text": "hello4"
245
},
246
{
247
"author": {
248
"email": "[email protected]",
249
"profile": {
250
"full_name": "System Account",
251
"lang": "ru"
252
},
253
"contacts": {
254
"email": "[email protected]"
255
}
256
},
257
"text": "hello5"
258
},
259
{
260
"author": {
261
"email": "[email protected]",
262
"profile": {
263
"full_name": "System Account",
264
"lang": "ru"
265
},
266
"contacts": {
267
"email": "[email protected]"
268
}
269
},
270
"text": "hello6"
271
},
272
{
273
"author": {
274
"email": "[email protected]",
275
"profile": {
276
"full_name": "System Account",
277
"lang": "ru"
278
},
279
"contacts": {
280
"email": "[email protected]"
281
}
282
},
283
"text": "hello7"
284
},
285
{
286
"author": {
287
"email": "[email protected]",
288
"profile": {
289
"full_name": "System Account",
290
"lang": "ru"
291
},
292
"contacts": {
293
"email": "[email protected]"
294
}
295
},
296
"text": "hello8"
297
},
298
{
299
"author": {
300
"email": "[email protected]",
301
"profile": {
302
"full_name": "System Account",
303
"lang": "ru"
304
},
305
"contacts": {
306
"email": "[email protected]"
307
}
308
},
309
"text": "hello"
310
},
311
{
312
"author": {
313
"email": "[email protected]",
314
"profile": {
315
"full_name": "System Account",
316
"lang": "ru"
317
},
318
"contacts": {
319
"email": "[email protected]"
320
}
321
},
322
"text": "ok!"
323
},
324
{
325
"author": {
326
"email": "[email protected]",
327
"profile": {
328
"full_name": "r",
329
"lang": "ru"
330
},
331
"contacts": {
332
"email": "[email protected]"
333
}
334
},
335
"text": "Ok!"
336
}
337
],
338
"author": {
339
"email": "[email protected]",
340
"profile": {
341
"full_name": "System Account",
342
"lang": "ru"
343
},
344
"contacts": {
345
"email": "[email protected]"
346
}
347
},
348
"target_group": "Default group",
349
"target_user": [
350
{
351
"email": "[email protected]",
352
"profile": {
353
"full_name": "System Account",
354
"lang": "ru"
355
},
356
"contacts": {
357
"email": "[email protected]"
358
}
359
}
360
],
361
"logs": [
362
{
363
"author": {
364
"email": "[email protected]",
365
"profile": {
366
"full_name": "System Account",
367
"lang": "ru"
368
},
369
"contacts": {
370
"email": "[email protected]"
371
}
372
},
373
"action": "create",
374
"dt": "2019-06-07 10:01:46"
375
},
376
{
377
"author": {
378
"email": "[email protected]",
379
"profile": {
380
"full_name": "System Account",
381
"lang": "ru"
382
},
383
"contacts": {
384
"email": "[email protected]"
385
}
386
},
387
"action": "comment",
388
"dt": "2019-06-09 21:06:01"
389
},
390
{
391
"author": {
392
"email": "[email protected]",
393
"profile": {
394
"full_name": "System Account",
395
"lang": "ru"
396
},
397
"contacts": {
398
"email": "[email protected]"
399
}
400
},
401
"action": "comment",
402
"dt": "2019-06-09 21:06:45"
403
},
404
{
405
"author": {
406
"email": "[email protected]",
407
"profile": {
408
"full_name": "System Account",
409
"lang": "ru"
410
},
411
"contacts": {
412
"email": "[email protected]"
413
}
414
},
415
"action": "lock",
416
"dt": "2019-06-09 21:28:20"
417
},
418
{
419
"author": {
420
"email": "[email protected]",
421
"profile": {
422
"full_name": "System Account",
423
"lang": "ru"
424
},
425
"contacts": {
426
"email": "[email protected]"
427
}
428
},
429
"action": "comment",
430
"dt": "2019-06-09 21:29:56"
431
},
432
{
433
"author": {
434
"email": "[email protected]",
435
"profile": {
436
"full_name": "System Account",
437
"lang": "ru"
438
},
439
"contacts": {
440
"email": "[email protected]"
441
}
442
},
443
"action": "comment",
444
"dt": "2019-06-09 21:31:29"
445
},
446
{
447
"author": {
448
"email": "[email protected]",
449
"profile": {
450
"full_name": "System Account",
451
"lang": "ru"
452
},
453
"contacts": {
454
"email": "[email protected]"
455
}
456
},
457
"action": "comment",
458
"dt": "2019-06-09 21:34:30"
459
},
460
{
461
"author": {
462
"email": "[email protected]",
463
"profile": {
464
"full_name": "System Account",
465
"lang": "ru"
466
},
467
"contacts": {
468
"email": "[email protected]"
469
}
470
},
471
"action": "comment",
472
"dt": "2019-06-09 21:38:04"
473
},
474
{
475
"author": {
476
"email": "[email protected]",
477
"profile": {
478
"full_name": "System Account",
479
"lang": "ru"
480
},
481
"contacts": {
482
"email": "[email protected]"
483
}
484
},
485
"action": "comment",
486
"dt": "2019-06-09 21:40:13"
487
},
488
{
489
"author": {
490
"email": "[email protected]",
491
"profile": {
492
"full_name": "System Account",
493
"lang": "ru"
494
},
495
"contacts": {
496
"email": "[email protected]"
497
}
498
},
499
"action": "comment",
500
"dt": "2019-06-09 21:41:10"
501
},
502
{
503
"author": {
504
"email": "[email protected]",
505
"profile": {
506
"full_name": "System Account",
507
"lang": "ru"
508
},
509
"contacts": {
510
"email": "[email protected]"
511
}
512
},
513
"action": "comment",
514
"dt": "2019-06-09 22:03:03"
515
},
516
{
517
"author": {
518
"email": "[email protected]",
519
"profile": {
520
"full_name": "System Account",
521
"lang": "ru"
522
},
523
"contacts": {
524
"email": "[email protected]"
525
}
526
},
527
"action": "comment",
528
"dt": "2019-06-09 22:09:21"
529
},
530
{
531
"author": {
532
"email": "[email protected]",
533
"profile": {
534
"full_name": "System Account",
535
"lang": "ru"
536
},
537
"contacts": {
538
"email": "[email protected]"
539
}
540
},
541
"action": "comment",
542
"dt": "2019-06-09 22:10:05"
543
},
544
{
545
"author": {
546
"email": "[email protected]",
547
"profile": {
548
"full_name": "System Account",
549
"lang": "ru"
550
},
551
"contacts": {
552
"email": "[email protected]"
553
}
554
},
555
"action": "comment",
556
"dt": "2019-06-09 22:10:52"
557
},
558
{
559
"author": {
560
"email": "[email protected]",
561
"profile": {
562
"full_name": "System Account",
563
"lang": "ru"
564
},
565
"contacts": {
566
"email": "[email protected]"
567
}
568
},
569
"action": "comment",
570
"dt": "2019-06-09 22:11:34"
571
},
572
{
573
"author": {
574
"email": "[email protected]",
575
"profile": {
576
"full_name": "System Account",
577
"lang": "ru"
578
},
579
"contacts": {
580
"email": "[email protected]"
581
}
582
},
583
"action": "comment",
584
"dt": "2019-06-09 22:12:57"
585
},
586
{
587
"author": {
588
"email": "[email protected]",
589
"profile": {
590
"full_name": "System Account",
591
"lang": "ru"
592
},
593
"contacts": {
594
"email": "[email protected]"
595
}
596
},
597
"action": "comment",
598
"dt": "2019-06-09 22:14:43"
599
},
600
{
601
"author": {
602
"email": "[email protected]",
603
"profile": {
604
"full_name": "System Account",
605
"lang": "ru"
606
},
607
"contacts": {
608
"email": "[email protected]"
609
}
610
},
611
"action": "comment",
612
"dt": "2019-06-09 22:18:14"
613
},
614
{
615
"author": {
616
"email": "[email protected]",
617
"profile": {
618
"full_name": "System Account",
619
"lang": "ru"
620
},
621
"contacts": {
622
"email": "[email protected]"
623
}
624
},
625
"action": "comment",
626
"dt": "2019-06-09 22:19:15"
627
},
628
{
629
"author": {
630
"email": "[email protected]",
631
"profile": {
632
"full_name": "System Account",
633
"lang": "ru"
634
},
635
"contacts": {
636
"email": "[email protected]"
637
}
638
},
639
"action": "comment",
640
"dt": "2019-06-09 22:20:10"
641
},
642
{
643
"author": {
644
"email": "[email protected]",
645
"profile": {
646
"full_name": "System Account",
647
"lang": "ru"
648
},
649
"contacts": {
650
"email": "[email protected]"
651
}
652
},
653
"action": "comment",
654
"dt": "2019-06-09 22:26:04"
655
},
656
{
657
"author": {
658
"email": "[email protected]",
659
"profile": {
660
"full_name": "System Account",
661
"lang": "ru"
662
},
663
"contacts": {
664
"email": "[email protected]"
665
}
666
},
667
"action": "comment",
668
"dt": "2019-06-09 22:29:02"
669
},
670
{
671
"author": {
672
"email": "[email protected]",
673
"profile": {
674
"full_name": "System Account",
675
"lang": "ru"
676
},
677
"contacts": {
678
"email": "[email protected]"
679
}
680
},
681
"action": "comment",
682
"dt": "2019-06-09 22:31:26"
683
},
684
{
685
"author": {
686
"email": "[email protected]",
687
"profile": {
688
"full_name": "r",
689
"lang": "ru"
690
},
691
"contacts": {
692
"email": "[email protected]"
693
}
694
},
695
"action": "comment",
696
"dt": "2019-06-09 22:57:33"
697
}
698
]
699
},
700
"initial_user": {
701
"email": "[email protected]",
702
"profile": {
703
"full_name": "System Account",
704
"lang": "ru"
705
},
706
"contacts": {
707
"email": "[email protected]"
708
}
709
},
710
"action": "action",
711
"description": "message",
712
"dt": "2019-06-11 11:24:18"
713
}
Copied!
Last modified 1yr ago
Copy link