@hubex/mcp 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/.env.example +54 -0
  2. package/CONNECTING.md +260 -0
  3. package/README.md +266 -0
  4. package/dist/auth.js +226 -0
  5. package/dist/config.js +120 -0
  6. package/dist/generated/manifest.js +3643 -0
  7. package/dist/guides/field-notes.json +27 -0
  8. package/dist/guides/loader.js +32 -0
  9. package/dist/guides/service-map.js +6 -0
  10. package/dist/http.js +93 -0
  11. package/dist/index/store.js +134 -0
  12. package/dist/index/types.js +1 -0
  13. package/dist/index.js +20 -0
  14. package/dist/paths.js +20 -0
  15. package/dist/pii/fields.js +100 -0
  16. package/dist/pii/mask.js +50 -0
  17. package/dist/pii/strategies.js +88 -0
  18. package/dist/schema/build-index.js +67 -0
  19. package/dist/schema/deref.js +87 -0
  20. package/dist/schema/describe.js +65 -0
  21. package/dist/server.js +62 -0
  22. package/dist/token-prompt.js +41 -0
  23. package/dist/tools/curated.js +151 -0
  24. package/dist/tools/discovery.js +187 -0
  25. package/dist/tools/guides.js +126 -0
  26. package/dist/tools/registry.js +37 -0
  27. package/dist/tools/request.js +170 -0
  28. package/dist/tools/types.js +1 -0
  29. package/docs/guides/assets.md +334 -0
  30. package/docs/guides/attributes.md +125 -0
  31. package/docs/guides/checklisttemplates.md +154 -0
  32. package/docs/guides/companies.md +57 -0
  33. package/docs/guides/dictionaries.md +64 -0
  34. package/docs/guides/lifecycle.md +263 -0
  35. package/docs/guides/materials.md +135 -0
  36. package/docs/guides/notifications.md +184 -0
  37. package/docs/guides/roles.md +125 -0
  38. package/docs/guides/sla.md +130 -0
  39. package/docs/guides/start.md +67 -0
  40. package/docs/guides/taskchecklists.md +149 -0
  41. package/docs/guides/taskcreate.md +260 -0
  42. package/docs/guides/taskedit.md +277 -0
  43. package/docs/guides/tasktypes.md +156 -0
  44. package/docs/guides/users.md +71 -0
  45. package/generated/index.dev.json +18776 -0
  46. package/generated/index.prod.json +18858 -0
  47. package/package.json +48 -0
  48. package/swagger/dev/ADM.json +27777 -0
  49. package/swagger/dev/AUTH.json +1739 -0
  50. package/swagger/dev/AUTHN.json +1250 -0
  51. package/swagger/dev/AUTHZ.json +1404 -0
  52. package/swagger/dev/CM.json +309 -0
  53. package/swagger/dev/COMMON.json +6543 -0
  54. package/swagger/dev/ES.json +28029 -0
  55. package/swagger/dev/EXPORT.json +4575 -0
  56. package/swagger/dev/IMPORT.json +1479 -0
  57. package/swagger/dev/LIC.json +224 -0
  58. package/swagger/dev/MSG.json +7883 -0
  59. package/swagger/dev/NEWS.json +348 -0
  60. package/swagger/dev/PA.json +5981 -0
  61. package/swagger/dev/PMP.json +3196 -0
  62. package/swagger/dev/PROXY.json +416 -0
  63. package/swagger/dev/REPORT.json +3921 -0
  64. package/swagger/dev/SC.json +3771 -0
  65. package/swagger/dev/SLA.json +2837 -0
  66. package/swagger/dev/TSTG.json +4981 -0
  67. package/swagger/dev/UI.json +4720 -0
  68. package/swagger/dev/WH.json +16796 -0
  69. package/swagger/dev/WORK.json +36024 -0
  70. package/swagger/dev/WSP.json +1612 -0
  71. package/swagger/prod/ADM.json +27777 -0
  72. package/swagger/prod/AUTH.json +1308 -0
  73. package/swagger/prod/AUTHN.json +2710 -0
  74. package/swagger/prod/AUTHZ.json +896 -0
  75. package/swagger/prod/CM.json +162 -0
  76. package/swagger/prod/COMMON.json +4910 -0
  77. package/swagger/prod/ES.json +28029 -0
  78. package/swagger/prod/EXPORT.json +3091 -0
  79. package/swagger/prod/LIC.json +123 -0
  80. package/swagger/prod/MSG.json +6239 -0
  81. package/swagger/prod/NEWS.json +295 -0
  82. package/swagger/prod/PA.json +5123 -0
  83. package/swagger/prod/PMP.json +2978 -0
  84. package/swagger/prod/PROXY.json +250 -0
  85. package/swagger/prod/REPORT.json +3729 -0
  86. package/swagger/prod/SC.json +3771 -0
  87. package/swagger/prod/SLA.json +2201 -0
  88. package/swagger/prod/TSTG.json +4220 -0
  89. package/swagger/prod/UI.json +3879 -0
  90. package/swagger/prod/WH.json +16730 -0
  91. package/swagger/prod/WORK.json +35994 -0
  92. package/swagger/prod/WSP.json +1468 -0
@@ -0,0 +1,2978 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "API for PMP in HubEx",
5
+ "description": "Service offers application programming interface for ....",
6
+ "contact": {
7
+ "name": "SmartService Backend Team",
8
+ "email": "fmbackend@melston.ru"
9
+ },
10
+ "version": "v1.0.0.0"
11
+ },
12
+ "paths": {
13
+ "/FrequencyTypes": {
14
+ "get": {
15
+ "tags": [
16
+ "FrequencyTypes"
17
+ ],
18
+ "summary": "Метод получения списка типов повторений расписаний",
19
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **FrequencyTypeList**",
20
+ "parameters": [
21
+ {
22
+ "name": "scheduleID",
23
+ "in": "path",
24
+ "required": true,
25
+ "schema": {
26
+ "type": "integer",
27
+ "format": "int32"
28
+ }
29
+ },
30
+ {
31
+ "name": "dateFrom",
32
+ "in": "query",
33
+ "schema": {
34
+ "type": "string",
35
+ "format": "date-time"
36
+ }
37
+ },
38
+ {
39
+ "name": "dateTill",
40
+ "in": "query",
41
+ "schema": {
42
+ "type": "string",
43
+ "format": "date-time"
44
+ }
45
+ },
46
+ {
47
+ "name": "Authorization",
48
+ "in": "header",
49
+ "description": "Bearer",
50
+ "required": true,
51
+ "schema": {
52
+ "type": "string"
53
+ }
54
+ }
55
+ ],
56
+ "responses": {
57
+ "200": {
58
+ "description": "OK",
59
+ "content": {
60
+ "text/plain": {
61
+ "schema": {
62
+ "type": "array",
63
+ "items": {
64
+ "type": "object",
65
+ "additionalProperties": {
66
+ "$ref": "#/components/schemas/SmartService.Common.Results.IdCodeNameResult`1[[System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
67
+ }
68
+ }
69
+ }
70
+ },
71
+ "application/json": {
72
+ "schema": {
73
+ "type": "array",
74
+ "items": {
75
+ "type": "object",
76
+ "additionalProperties": {
77
+ "$ref": "#/components/schemas/SmartService.Common.Results.IdCodeNameResult`1[[System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
78
+ }
79
+ }
80
+ }
81
+ },
82
+ "text/json": {
83
+ "schema": {
84
+ "type": "array",
85
+ "items": {
86
+ "type": "object",
87
+ "additionalProperties": {
88
+ "$ref": "#/components/schemas/SmartService.Common.Results.IdCodeNameResult`1[[System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ },
95
+ "401": {
96
+ "description": "Unauthorized"
97
+ },
98
+ "403": {
99
+ "description": "Forbidden"
100
+ }
101
+ }
102
+ }
103
+ },
104
+ "/ScheduledTasks": {
105
+ "get": {
106
+ "tags": [
107
+ "ScheduledTasks"
108
+ ],
109
+ "summary": "Возвращает список шаблонов заявок",
110
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduledTaskList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
111
+ "parameters": [
112
+ {
113
+ "name": "Authorization",
114
+ "in": "header",
115
+ "description": "Bearer",
116
+ "required": true,
117
+ "schema": {
118
+ "type": "string"
119
+ }
120
+ },
121
+ {
122
+ "name": "Range",
123
+ "in": "header",
124
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
125
+ "schema": {
126
+ "type": "string"
127
+ }
128
+ },
129
+ {
130
+ "name": "offset",
131
+ "in": "query",
132
+ "description": "количество элементов, которое нобходимо пропустить",
133
+ "schema": {
134
+ "type": "string"
135
+ }
136
+ },
137
+ {
138
+ "name": "fetch",
139
+ "in": "query",
140
+ "description": "количество эементов, которое необходимо вернуть",
141
+ "schema": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ {
146
+ "name": "assetID",
147
+ "in": "query",
148
+ "description": "Идентификаторы объектов, по которым будет отфильтрован результат",
149
+ "schema": {
150
+ "type": "int32",
151
+ "default": null
152
+ }
153
+ },
154
+ {
155
+ "name": "taskTypeID",
156
+ "in": "query",
157
+ "description": "Идентификаторы типов заявок, по которым будет отфильтрован результат",
158
+ "schema": {
159
+ "type": "int16",
160
+ "default": null
161
+ }
162
+ },
163
+ {
164
+ "name": "workTypeID",
165
+ "in": "query",
166
+ "description": "Идентификаторы видов работ, по которым будет отфильтрован результат",
167
+ "schema": {
168
+ "type": "int16",
169
+ "default": null
170
+ }
171
+ },
172
+ {
173
+ "name": "criticalityID",
174
+ "in": "query",
175
+ "description": "Идентификаторы критичности заявок, по которым будет отфильтрован результат",
176
+ "schema": {
177
+ "type": "byte",
178
+ "default": null
179
+ }
180
+ },
181
+ {
182
+ "name": "userID",
183
+ "in": "query",
184
+ "description": "Идентификаторы пользователей, на которых в текущий момент назначена заявка, по которым будет отфильтрован результат",
185
+ "schema": {
186
+ "type": "int32",
187
+ "default": null
188
+ }
189
+ },
190
+ {
191
+ "name": "scheduleID",
192
+ "in": "query",
193
+ "description": "Идентификаторы расписания, по которым будет отфильтрован результат",
194
+ "schema": {
195
+ "type": "byte",
196
+ "default": null
197
+ }
198
+ },
199
+ {
200
+ "name": "appointmentID",
201
+ "in": "query",
202
+ "description": "Идентификаторы точек срабатывания расписания, по которым будет отфильтрован результат",
203
+ "schema": {
204
+ "type": "int32",
205
+ "default": null
206
+ }
207
+ },
208
+ {
209
+ "name": "dateRangeFrom",
210
+ "in": "query",
211
+ "description": "Начальный период фильтрации по сроку заявки",
212
+ "schema": {
213
+ "type": "nullable`1",
214
+ "format": "UTC ISO-8601",
215
+ "default": null
216
+ }
217
+ },
218
+ {
219
+ "name": "dateRangeTill",
220
+ "in": "query",
221
+ "description": "Конечный период фильтрации по сроку заявки",
222
+ "schema": {
223
+ "type": "nullable`1",
224
+ "format": "UTC ISO-8601",
225
+ "default": null
226
+ }
227
+ },
228
+ {
229
+ "name": "isAssigned",
230
+ "in": "query",
231
+ "description": "Если true, результат будет содержать только назначенные на кого-либо заявки, если false - только не назначенные",
232
+ "schema": {
233
+ "enum": [
234
+ "true",
235
+ "false"
236
+ ],
237
+ "type": "boolean",
238
+ "default": null
239
+ }
240
+ }
241
+ ],
242
+ "responses": {
243
+ "200": {
244
+ "description": "OK",
245
+ "content": {
246
+ "text/plain": {
247
+ "schema": {
248
+ "type": "object",
249
+ "additionalProperties": {
250
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.ListResult"
251
+ }
252
+ }
253
+ },
254
+ "application/json": {
255
+ "schema": {
256
+ "type": "object",
257
+ "additionalProperties": {
258
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.ListResult"
259
+ }
260
+ }
261
+ },
262
+ "text/json": {
263
+ "schema": {
264
+ "type": "object",
265
+ "additionalProperties": {
266
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.ListResult"
267
+ }
268
+ }
269
+ }
270
+ }
271
+ },
272
+ "401": {
273
+ "description": "Unauthorized"
274
+ },
275
+ "403": {
276
+ "description": "Forbidden"
277
+ },
278
+ "206": {
279
+ "description": "PartialContent",
280
+ "headers": {
281
+ "Content-Range": {
282
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
283
+ "schema": {
284
+ "type": "string"
285
+ }
286
+ }
287
+ }
288
+ }
289
+ }
290
+ },
291
+ "head": {
292
+ "tags": [
293
+ "ScheduledTasks"
294
+ ],
295
+ "summary": "Возвращает заголовок список шаблонов заявок",
296
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduledTaskList**",
297
+ "parameters": [
298
+ {
299
+ "name": "Authorization",
300
+ "in": "header",
301
+ "description": "Bearer",
302
+ "required": true,
303
+ "schema": {
304
+ "type": "string"
305
+ }
306
+ },
307
+ {
308
+ "name": "assetID",
309
+ "in": "query",
310
+ "description": "Идентификаторы объектов, по которым будет отфильтрован результат",
311
+ "schema": {
312
+ "type": "int32",
313
+ "default": null
314
+ }
315
+ },
316
+ {
317
+ "name": "taskTypeID",
318
+ "in": "query",
319
+ "description": "Идентификаторы типов заявок, по которым будет отфильтрован результат",
320
+ "schema": {
321
+ "type": "int16",
322
+ "default": null
323
+ }
324
+ },
325
+ {
326
+ "name": "workTypeID",
327
+ "in": "query",
328
+ "description": "Идентификаторы видов работ, по которым будет отфильтрован результат",
329
+ "schema": {
330
+ "type": "int16",
331
+ "default": null
332
+ }
333
+ },
334
+ {
335
+ "name": "criticalityID",
336
+ "in": "query",
337
+ "description": "Идентификаторы критичности заявок, по которым будет отфильтрован результат",
338
+ "schema": {
339
+ "type": "byte",
340
+ "default": null
341
+ }
342
+ },
343
+ {
344
+ "name": "userID",
345
+ "in": "query",
346
+ "description": "Идентификаторы пользователей, на которых в текущий момент назначена заявка, по которым будет отфильтрован результат",
347
+ "schema": {
348
+ "type": "int32",
349
+ "default": null
350
+ }
351
+ },
352
+ {
353
+ "name": "scheduleID",
354
+ "in": "query",
355
+ "description": "Идентификаторы расписания, по которым будет отфильтрован результат",
356
+ "schema": {
357
+ "type": "byte",
358
+ "default": null
359
+ }
360
+ },
361
+ {
362
+ "name": "appointmentID",
363
+ "in": "query",
364
+ "description": "Идентификаторы точек срабатывания расписания, по которым будет отфильтрован результат",
365
+ "schema": {
366
+ "enum": [
367
+ "true",
368
+ "false"
369
+ ],
370
+ "type": "boolean",
371
+ "default": null
372
+ }
373
+ },
374
+ {
375
+ "name": "dateRangeFrom",
376
+ "in": "query",
377
+ "description": "Начальный период фильтрации по сроку выполнения заявки",
378
+ "schema": {
379
+ "type": "datetime",
380
+ "format": "UTC ISO-8601",
381
+ "default": null
382
+ }
383
+ },
384
+ {
385
+ "name": "dateRangeTill",
386
+ "in": "query",
387
+ "description": "Конечный период фильтрации по сроку выполнения заявки",
388
+ "schema": {
389
+ "type": "datetime",
390
+ "format": "UTC ISO-8601",
391
+ "default": null
392
+ }
393
+ },
394
+ {
395
+ "name": "isAssigned",
396
+ "in": "query",
397
+ "description": "Если true, результат будет содержать только назначенные на кого-либо заявки, если false - только не назначенные",
398
+ "schema": {
399
+ "enum": [
400
+ "true",
401
+ "false"
402
+ ],
403
+ "type": "boolean",
404
+ "default": null
405
+ }
406
+ }
407
+ ],
408
+ "responses": {
409
+ "200": {
410
+ "description": "OK"
411
+ },
412
+ "401": {
413
+ "description": "Unauthorized"
414
+ },
415
+ "403": {
416
+ "description": "Forbidden"
417
+ }
418
+ }
419
+ }
420
+ },
421
+ "/ScheduledTasks/count": {
422
+ "get": {
423
+ "tags": [
424
+ "ScheduledTasks"
425
+ ],
426
+ "summary": "Возвращает количество плановых заявок, которые будут созданы, по дням",
427
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduledTaskList**",
428
+ "parameters": [
429
+ {
430
+ "name": "Authorization",
431
+ "in": "header",
432
+ "description": "Bearer",
433
+ "required": true,
434
+ "schema": {
435
+ "type": "string"
436
+ }
437
+ },
438
+ {
439
+ "name": "assetID",
440
+ "in": "query",
441
+ "description": "Идентификаторы объектов, по которым будет отфильтрован результат",
442
+ "schema": {
443
+ "type": "int32",
444
+ "default": null
445
+ }
446
+ },
447
+ {
448
+ "name": "taskTypeID",
449
+ "in": "query",
450
+ "description": "Идентификаторы типов заявок, по которым будет отфильтрован результат",
451
+ "schema": {
452
+ "type": "int16",
453
+ "default": null
454
+ }
455
+ },
456
+ {
457
+ "name": "workTypeID",
458
+ "in": "query",
459
+ "description": "Идентификаторы видов работ, по которым будет отфильтрован результат",
460
+ "schema": {
461
+ "type": "int16",
462
+ "default": null
463
+ }
464
+ },
465
+ {
466
+ "name": "criticalityID",
467
+ "in": "query",
468
+ "description": "Идентификаторы критичности заявок, по которым будет отфильтрован результат",
469
+ "schema": {
470
+ "type": "byte",
471
+ "default": null
472
+ }
473
+ },
474
+ {
475
+ "name": "userID",
476
+ "in": "query",
477
+ "description": "Идентификаторы пользователей, на которых в текущий момент назначена заявка, по которым будет отфильтрован результат",
478
+ "schema": {
479
+ "type": "int32",
480
+ "default": null
481
+ }
482
+ },
483
+ {
484
+ "name": "scheduleID",
485
+ "in": "query",
486
+ "description": "Идентификаторы расписания, по которым будет отфильтрован результат",
487
+ "schema": {
488
+ "type": "byte",
489
+ "default": null
490
+ }
491
+ },
492
+ {
493
+ "name": "appointmentID",
494
+ "in": "query",
495
+ "description": "Идентификаторы точек срабатывания расписания, по которым будет отфильтрован результат",
496
+ "schema": {
497
+ "type": "int32",
498
+ "default": null
499
+ }
500
+ },
501
+ {
502
+ "name": "dateRangeFrom",
503
+ "in": "query",
504
+ "description": "Начальный период фильтрации по сроку заявки",
505
+ "schema": {
506
+ "type": "nullable`1",
507
+ "format": "UTC ISO-8601",
508
+ "default": null
509
+ }
510
+ },
511
+ {
512
+ "name": "dateRangeTill",
513
+ "in": "query",
514
+ "description": "Конечный период фильтрации по сроку заявки",
515
+ "schema": {
516
+ "type": "nullable`1",
517
+ "format": "UTC ISO-8601",
518
+ "default": null
519
+ }
520
+ },
521
+ {
522
+ "name": "isAssigned",
523
+ "in": "query",
524
+ "description": "Если true, результат будет содержать только назначенные на кого-либо заявки, если false - только не назначенные",
525
+ "schema": {
526
+ "enum": [
527
+ "true",
528
+ "false"
529
+ ],
530
+ "type": "boolean",
531
+ "default": null
532
+ }
533
+ }
534
+ ],
535
+ "responses": {
536
+ "200": {
537
+ "description": "OK",
538
+ "content": {
539
+ "text/plain": {
540
+ "schema": {
541
+ "type": "object",
542
+ "additionalProperties": {
543
+ "type": "array",
544
+ "items": {
545
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.ListCountResult"
546
+ }
547
+ }
548
+ }
549
+ },
550
+ "application/json": {
551
+ "schema": {
552
+ "type": "object",
553
+ "additionalProperties": {
554
+ "type": "array",
555
+ "items": {
556
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.ListCountResult"
557
+ }
558
+ }
559
+ }
560
+ },
561
+ "text/json": {
562
+ "schema": {
563
+ "type": "object",
564
+ "additionalProperties": {
565
+ "type": "array",
566
+ "items": {
567
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.ListCountResult"
568
+ }
569
+ }
570
+ }
571
+ }
572
+ }
573
+ },
574
+ "401": {
575
+ "description": "Unauthorized"
576
+ },
577
+ "403": {
578
+ "description": "Forbidden"
579
+ }
580
+ }
581
+ }
582
+ },
583
+ "/ScheduledTasks/v2/count": {
584
+ "get": {
585
+ "tags": [
586
+ "ScheduledTasks"
587
+ ],
588
+ "summary": "Возвращает количество плановых заявок, которые будут созданы, по дням",
589
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduledTaskList**",
590
+ "parameters": [
591
+ {
592
+ "name": "Authorization",
593
+ "in": "header",
594
+ "description": "Bearer",
595
+ "required": true,
596
+ "schema": {
597
+ "type": "string"
598
+ }
599
+ },
600
+ {
601
+ "name": "assetID",
602
+ "in": "query",
603
+ "description": "Идентификаторы объектов, по которым будет отфильтрован результат",
604
+ "schema": {
605
+ "type": "int32",
606
+ "default": null
607
+ }
608
+ },
609
+ {
610
+ "name": "taskTypeID",
611
+ "in": "query",
612
+ "description": "Идентификаторы типов заявок, по которым будет отфильтрован результат",
613
+ "schema": {
614
+ "type": "int16",
615
+ "default": null
616
+ }
617
+ },
618
+ {
619
+ "name": "workTypeID",
620
+ "in": "query",
621
+ "description": "Идентификаторы видов работ, по которым будет отфильтрован результат",
622
+ "schema": {
623
+ "type": "int16",
624
+ "default": null
625
+ }
626
+ },
627
+ {
628
+ "name": "criticalityID",
629
+ "in": "query",
630
+ "description": "Идентификаторы критичности заявок, по которым будет отфильтрован результат",
631
+ "schema": {
632
+ "type": "byte",
633
+ "default": null
634
+ }
635
+ },
636
+ {
637
+ "name": "userID",
638
+ "in": "query",
639
+ "description": "Идентификаторы пользователей, на которых в текущий момент назначена заявка, по которым будет отфильтрован результат",
640
+ "schema": {
641
+ "type": "int32",
642
+ "default": null
643
+ }
644
+ },
645
+ {
646
+ "name": "scheduleID",
647
+ "in": "query",
648
+ "description": "Идентификаторы расписания, по которым будет отфильтрован результат",
649
+ "schema": {
650
+ "type": "byte",
651
+ "default": null
652
+ }
653
+ },
654
+ {
655
+ "name": "appointmentID",
656
+ "in": "query",
657
+ "description": "Идентификаторы точек срабатывания расписания, по которым будет отфильтрован результат",
658
+ "schema": {
659
+ "type": "int32",
660
+ "default": null
661
+ }
662
+ },
663
+ {
664
+ "name": "dateRangeFrom",
665
+ "in": "query",
666
+ "description": "Начальный период фильтрации по сроку заявки",
667
+ "schema": {
668
+ "type": "nullable`1",
669
+ "format": "UTC ISO-8601",
670
+ "default": null
671
+ }
672
+ },
673
+ {
674
+ "name": "dateRangeTill",
675
+ "in": "query",
676
+ "description": "Конечный период фильтрации по сроку заявки",
677
+ "schema": {
678
+ "type": "nullable`1",
679
+ "format": "UTC ISO-8601",
680
+ "default": null
681
+ }
682
+ },
683
+ {
684
+ "name": "isAssigned",
685
+ "in": "query",
686
+ "description": "Если true, результат будет содержать только назначенные на кого-либо заявки, если false - только не назначенные",
687
+ "schema": {
688
+ "enum": [
689
+ "true",
690
+ "false"
691
+ ],
692
+ "type": "boolean",
693
+ "default": null
694
+ }
695
+ }
696
+ ],
697
+ "responses": {
698
+ "200": {
699
+ "description": "OK",
700
+ "content": {
701
+ "text/plain": {
702
+ "schema": {
703
+ "type": "object",
704
+ "additionalProperties": {
705
+ "type": "array",
706
+ "items": {
707
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.CountResult"
708
+ }
709
+ }
710
+ }
711
+ },
712
+ "application/json": {
713
+ "schema": {
714
+ "type": "object",
715
+ "additionalProperties": {
716
+ "type": "array",
717
+ "items": {
718
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.CountResult"
719
+ }
720
+ }
721
+ }
722
+ },
723
+ "text/json": {
724
+ "schema": {
725
+ "type": "object",
726
+ "additionalProperties": {
727
+ "type": "array",
728
+ "items": {
729
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.CountResult"
730
+ }
731
+ }
732
+ }
733
+ }
734
+ }
735
+ },
736
+ "401": {
737
+ "description": "Unauthorized"
738
+ },
739
+ "403": {
740
+ "description": "Forbidden"
741
+ }
742
+ }
743
+ }
744
+ },
745
+ "/ScheduledTasks/appointments": {
746
+ "head": {
747
+ "tags": [
748
+ "ScheduledTasks"
749
+ ],
750
+ "summary": "Реализует поведение для Head запроса\r\nВ Ok-ответ добавляет заголовок Content-Range=0-0/RowCount\r\nГде RowCount - число записей попавших под переданный фильтр",
751
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduledTaskList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
752
+ "parameters": [
753
+ {
754
+ "name": "Authorization",
755
+ "in": "header",
756
+ "description": "Bearer",
757
+ "required": true,
758
+ "schema": {
759
+ "type": "string"
760
+ }
761
+ },
762
+ {
763
+ "name": "Range",
764
+ "in": "header",
765
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
766
+ "schema": {
767
+ "type": "string"
768
+ }
769
+ },
770
+ {
771
+ "name": "offset",
772
+ "in": "query",
773
+ "description": "количество элементов, которое нобходимо пропустить",
774
+ "schema": {
775
+ "type": "string"
776
+ }
777
+ },
778
+ {
779
+ "name": "fetch",
780
+ "in": "query",
781
+ "description": "количество эементов, которое необходимо вернуть",
782
+ "schema": {
783
+ "type": "string"
784
+ }
785
+ },
786
+ {
787
+ "name": "assetID",
788
+ "in": "query",
789
+ "description": "Идентификаторы объектов, по которым будет отфильтрован результат",
790
+ "schema": {
791
+ "type": "int32",
792
+ "default": null
793
+ }
794
+ },
795
+ {
796
+ "name": "taskTypeID",
797
+ "in": "query",
798
+ "description": "Идентификаторы типов заявок, по которым будет отфильтрован результат",
799
+ "schema": {
800
+ "type": "int16",
801
+ "default": null
802
+ }
803
+ },
804
+ {
805
+ "name": "workTypeID",
806
+ "in": "query",
807
+ "description": "Идентификаторы видов работ, по которым будет отфильтрован результат",
808
+ "schema": {
809
+ "type": "int16",
810
+ "default": null
811
+ }
812
+ },
813
+ {
814
+ "name": "criticalityID",
815
+ "in": "query",
816
+ "description": "Идентификаторы критичности заявок, по которым будет отфильтрован результат",
817
+ "schema": {
818
+ "type": "byte",
819
+ "default": null
820
+ }
821
+ },
822
+ {
823
+ "name": "userID",
824
+ "in": "query",
825
+ "description": "Идентификаторы пользователей, на которых в текущий момент назначена заявка, по которым будет отфильтрован результат",
826
+ "schema": {
827
+ "type": "int32",
828
+ "default": null
829
+ }
830
+ },
831
+ {
832
+ "name": "scheduleID",
833
+ "in": "query",
834
+ "description": "Идентификаторы расписания, по которым будет отфильтрован результат",
835
+ "schema": {
836
+ "type": "byte",
837
+ "default": null
838
+ }
839
+ },
840
+ {
841
+ "name": "appointmentID",
842
+ "in": "query",
843
+ "description": "Идентификаторы точек срабатывания расписания, по которым будет отфильтрован результат",
844
+ "schema": {
845
+ "type": "int32",
846
+ "default": null
847
+ }
848
+ },
849
+ {
850
+ "name": "dateRangeFrom",
851
+ "in": "query",
852
+ "description": "Начальный период фильтрации по сроку заявки",
853
+ "schema": {
854
+ "type": "nullable`1",
855
+ "format": "UTC ISO-8601",
856
+ "default": null
857
+ }
858
+ },
859
+ {
860
+ "name": "dateRangeTill",
861
+ "in": "query",
862
+ "description": "Конечный период фильтрации по сроку заявки",
863
+ "schema": {
864
+ "type": "nullable`1",
865
+ "format": "UTC ISO-8601",
866
+ "default": null
867
+ }
868
+ },
869
+ {
870
+ "name": "isAssigned",
871
+ "in": "query",
872
+ "description": "Если true, результат будет содержать только назначенные на кого-либо заявки, если false - только не назначенные",
873
+ "schema": {
874
+ "enum": [
875
+ "true",
876
+ "false"
877
+ ],
878
+ "type": "boolean",
879
+ "default": null
880
+ }
881
+ }
882
+ ],
883
+ "responses": {
884
+ "200": {
885
+ "description": "OK"
886
+ },
887
+ "401": {
888
+ "description": "Unauthorized"
889
+ },
890
+ "403": {
891
+ "description": "Forbidden"
892
+ },
893
+ "206": {
894
+ "description": "PartialContent",
895
+ "headers": {
896
+ "Content-Range": {
897
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
898
+ "schema": {
899
+ "type": "string"
900
+ }
901
+ }
902
+ }
903
+ }
904
+ }
905
+ },
906
+ "get": {
907
+ "tags": [
908
+ "ScheduledTasks"
909
+ ],
910
+ "summary": "Возвращает список срабатываний шаблонов заявок",
911
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduledTaskList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
912
+ "parameters": [
913
+ {
914
+ "name": "Authorization",
915
+ "in": "header",
916
+ "description": "Bearer",
917
+ "required": true,
918
+ "schema": {
919
+ "type": "string"
920
+ }
921
+ },
922
+ {
923
+ "name": "Range",
924
+ "in": "header",
925
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
926
+ "schema": {
927
+ "type": "string"
928
+ }
929
+ },
930
+ {
931
+ "name": "offset",
932
+ "in": "query",
933
+ "description": "количество элементов, которое нобходимо пропустить",
934
+ "schema": {
935
+ "type": "string"
936
+ }
937
+ },
938
+ {
939
+ "name": "fetch",
940
+ "in": "query",
941
+ "description": "количество эементов, которое необходимо вернуть",
942
+ "schema": {
943
+ "type": "string"
944
+ }
945
+ },
946
+ {
947
+ "name": "assetID",
948
+ "in": "query",
949
+ "description": "Идентификаторы объектов, по которым будет отфильтрован результат",
950
+ "schema": {
951
+ "type": "int32",
952
+ "default": null
953
+ }
954
+ },
955
+ {
956
+ "name": "taskTypeID",
957
+ "in": "query",
958
+ "description": "Идентификаторы типов заявок, по которым будет отфильтрован результат",
959
+ "schema": {
960
+ "type": "int16",
961
+ "default": null
962
+ }
963
+ },
964
+ {
965
+ "name": "workTypeID",
966
+ "in": "query",
967
+ "description": "Идентификаторы видов работ, по которым будет отфильтрован результат",
968
+ "schema": {
969
+ "type": "int16",
970
+ "default": null
971
+ }
972
+ },
973
+ {
974
+ "name": "criticalityID",
975
+ "in": "query",
976
+ "description": "Идентификаторы критичности заявок, по которым будет отфильтрован результат",
977
+ "schema": {
978
+ "type": "byte",
979
+ "default": null
980
+ }
981
+ },
982
+ {
983
+ "name": "userID",
984
+ "in": "query",
985
+ "description": "Идентификаторы пользователей, на которых в текущий момент назначена заявка, по которым будет отфильтрован результат",
986
+ "schema": {
987
+ "type": "int32",
988
+ "default": null
989
+ }
990
+ },
991
+ {
992
+ "name": "scheduleID",
993
+ "in": "query",
994
+ "description": "Идентификаторы расписания, по которым будет отфильтрован результат",
995
+ "schema": {
996
+ "type": "byte",
997
+ "default": null
998
+ }
999
+ },
1000
+ {
1001
+ "name": "appointmentID",
1002
+ "in": "query",
1003
+ "description": "Идентификаторы точек срабатывания расписания, по которым будет отфильтрован результат",
1004
+ "schema": {
1005
+ "type": "int32",
1006
+ "default": null
1007
+ }
1008
+ },
1009
+ {
1010
+ "name": "dateRangeFrom",
1011
+ "in": "query",
1012
+ "description": "Начальный период фильтрации по сроку заявки",
1013
+ "schema": {
1014
+ "type": "nullable`1",
1015
+ "format": "UTC ISO-8601",
1016
+ "default": null
1017
+ }
1018
+ },
1019
+ {
1020
+ "name": "dateRangeTill",
1021
+ "in": "query",
1022
+ "description": "Конечный период фильтрации по сроку заявки",
1023
+ "schema": {
1024
+ "type": "nullable`1",
1025
+ "format": "UTC ISO-8601",
1026
+ "default": null
1027
+ }
1028
+ },
1029
+ {
1030
+ "name": "isAssigned",
1031
+ "in": "query",
1032
+ "description": "Если true, результат будет содержать только назначенные на кого-либо заявки, если false - только не назначенные",
1033
+ "schema": {
1034
+ "enum": [
1035
+ "true",
1036
+ "false"
1037
+ ],
1038
+ "type": "boolean",
1039
+ "default": null
1040
+ }
1041
+ }
1042
+ ],
1043
+ "responses": {
1044
+ "200": {
1045
+ "description": "OK",
1046
+ "content": {
1047
+ "text/plain": {
1048
+ "schema": {
1049
+ "type": "array",
1050
+ "items": {
1051
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.AppointmentResult`1[[HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResult, HubEx.Service.PMP.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
1052
+ }
1053
+ }
1054
+ },
1055
+ "application/json": {
1056
+ "schema": {
1057
+ "type": "array",
1058
+ "items": {
1059
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.AppointmentResult`1[[HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResult, HubEx.Service.PMP.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
1060
+ }
1061
+ }
1062
+ },
1063
+ "text/json": {
1064
+ "schema": {
1065
+ "type": "array",
1066
+ "items": {
1067
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.AppointmentResult`1[[HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResult, HubEx.Service.PMP.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
1068
+ }
1069
+ }
1070
+ }
1071
+ }
1072
+ },
1073
+ "401": {
1074
+ "description": "Unauthorized"
1075
+ },
1076
+ "403": {
1077
+ "description": "Forbidden"
1078
+ },
1079
+ "206": {
1080
+ "description": "PartialContent",
1081
+ "headers": {
1082
+ "Content-Range": {
1083
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
1084
+ "schema": {
1085
+ "type": "string"
1086
+ }
1087
+ }
1088
+ }
1089
+ }
1090
+ }
1091
+ }
1092
+ },
1093
+ "/ScheduledTasks/v2/appointments": {
1094
+ "get": {
1095
+ "tags": [
1096
+ "ScheduledTasks"
1097
+ ],
1098
+ "summary": "Возвращает список срабатываний шаблонов заявок",
1099
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduledTaskList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
1100
+ "parameters": [
1101
+ {
1102
+ "name": "Authorization",
1103
+ "in": "header",
1104
+ "description": "Bearer",
1105
+ "required": true,
1106
+ "schema": {
1107
+ "type": "string"
1108
+ }
1109
+ },
1110
+ {
1111
+ "name": "Range",
1112
+ "in": "header",
1113
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
1114
+ "schema": {
1115
+ "type": "string"
1116
+ }
1117
+ },
1118
+ {
1119
+ "name": "offset",
1120
+ "in": "query",
1121
+ "description": "количество элементов, которое нобходимо пропустить",
1122
+ "schema": {
1123
+ "type": "string"
1124
+ }
1125
+ },
1126
+ {
1127
+ "name": "fetch",
1128
+ "in": "query",
1129
+ "description": "количество эементов, которое необходимо вернуть",
1130
+ "schema": {
1131
+ "type": "string"
1132
+ }
1133
+ },
1134
+ {
1135
+ "name": "assetID",
1136
+ "in": "query",
1137
+ "description": "Идентификаторы объектов, по которым будет отфильтрован результат",
1138
+ "schema": {
1139
+ "type": "int32",
1140
+ "default": null
1141
+ }
1142
+ },
1143
+ {
1144
+ "name": "taskTypeID",
1145
+ "in": "query",
1146
+ "description": "Идентификаторы типов заявок, по которым будет отфильтрован результат",
1147
+ "schema": {
1148
+ "type": "int16",
1149
+ "default": null
1150
+ }
1151
+ },
1152
+ {
1153
+ "name": "workTypeID",
1154
+ "in": "query",
1155
+ "description": "Идентификаторы видов работ, по которым будет отфильтрован результат",
1156
+ "schema": {
1157
+ "type": "int16",
1158
+ "default": null
1159
+ }
1160
+ },
1161
+ {
1162
+ "name": "criticalityID",
1163
+ "in": "query",
1164
+ "description": "Идентификаторы критичности заявок, по которым будет отфильтрован результат",
1165
+ "schema": {
1166
+ "type": "byte",
1167
+ "default": null
1168
+ }
1169
+ },
1170
+ {
1171
+ "name": "userID",
1172
+ "in": "query",
1173
+ "description": "Идентификаторы пользователей, на которых в текущий момент назначена заявка, по которым будет отфильтрован результат",
1174
+ "schema": {
1175
+ "type": "int32",
1176
+ "default": null
1177
+ }
1178
+ },
1179
+ {
1180
+ "name": "scheduleID",
1181
+ "in": "query",
1182
+ "description": "Идентификаторы расписания, по которым будет отфильтрован результат",
1183
+ "schema": {
1184
+ "type": "byte",
1185
+ "default": null
1186
+ }
1187
+ },
1188
+ {
1189
+ "name": "appointmentID",
1190
+ "in": "query",
1191
+ "description": "Идентификаторы точек срабатывания расписания, по которым будет отфильтрован результат",
1192
+ "schema": {
1193
+ "type": "int32",
1194
+ "default": null
1195
+ }
1196
+ },
1197
+ {
1198
+ "name": "dateRangeFrom",
1199
+ "in": "query",
1200
+ "description": "Начальный период фильтрации по сроку заявки",
1201
+ "schema": {
1202
+ "type": "nullable`1",
1203
+ "format": "UTC ISO-8601",
1204
+ "default": null
1205
+ }
1206
+ },
1207
+ {
1208
+ "name": "dateRangeTill",
1209
+ "in": "query",
1210
+ "description": "Конечный период фильтрации по сроку заявки",
1211
+ "schema": {
1212
+ "type": "nullable`1",
1213
+ "format": "UTC ISO-8601",
1214
+ "default": null
1215
+ }
1216
+ },
1217
+ {
1218
+ "name": "isAssigned",
1219
+ "in": "query",
1220
+ "description": "Если true, результат будет содержать только назначенные на кого-либо заявки, если false - только не назначенные",
1221
+ "schema": {
1222
+ "enum": [
1223
+ "true",
1224
+ "false"
1225
+ ],
1226
+ "type": "boolean",
1227
+ "default": null
1228
+ }
1229
+ }
1230
+ ],
1231
+ "responses": {
1232
+ "200": {
1233
+ "description": "OK",
1234
+ "content": {
1235
+ "text/plain": {
1236
+ "schema": {
1237
+ "type": "array",
1238
+ "items": {
1239
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.AppointmentResult`1[[HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResultV2, HubEx.Service.PMP.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
1240
+ }
1241
+ }
1242
+ },
1243
+ "application/json": {
1244
+ "schema": {
1245
+ "type": "array",
1246
+ "items": {
1247
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.AppointmentResult`1[[HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResultV2, HubEx.Service.PMP.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
1248
+ }
1249
+ }
1250
+ },
1251
+ "text/json": {
1252
+ "schema": {
1253
+ "type": "array",
1254
+ "items": {
1255
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.AppointmentResult`1[[HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResultV2, HubEx.Service.PMP.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
1256
+ }
1257
+ }
1258
+ }
1259
+ }
1260
+ },
1261
+ "401": {
1262
+ "description": "Unauthorized"
1263
+ },
1264
+ "403": {
1265
+ "description": "Forbidden"
1266
+ },
1267
+ "206": {
1268
+ "description": "PartialContent",
1269
+ "headers": {
1270
+ "Content-Range": {
1271
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
1272
+ "schema": {
1273
+ "type": "string"
1274
+ }
1275
+ }
1276
+ }
1277
+ }
1278
+ }
1279
+ }
1280
+ },
1281
+ "/Schedules/appointments/assign": {
1282
+ "get": {
1283
+ "tags": [
1284
+ "Schedules"
1285
+ ],
1286
+ "summary": "Метод получения списка исполнителей для событий расписания",
1287
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleAppointmentAssignList**",
1288
+ "parameters": [
1289
+ {
1290
+ "name": "Authorization",
1291
+ "in": "header",
1292
+ "description": "Bearer",
1293
+ "required": true,
1294
+ "schema": {
1295
+ "type": "string"
1296
+ }
1297
+ },
1298
+ {
1299
+ "name": "assetID",
1300
+ "in": "query",
1301
+ "description": "Объект заявки",
1302
+ "schema": {
1303
+ "type": "int32",
1304
+ "default": null
1305
+ }
1306
+ },
1307
+ {
1308
+ "name": "userID",
1309
+ "in": "query",
1310
+ "description": "Исполнитель",
1311
+ "schema": {
1312
+ "type": "int32",
1313
+ "default": null
1314
+ }
1315
+ },
1316
+ {
1317
+ "name": "scheduleID",
1318
+ "in": "query",
1319
+ "description": "Расписание",
1320
+ "schema": {
1321
+ "type": "int16",
1322
+ "default": null
1323
+ }
1324
+ },
1325
+ {
1326
+ "name": "appointmentID",
1327
+ "in": "query",
1328
+ "description": "Событие расписания",
1329
+ "schema": {
1330
+ "type": "int32",
1331
+ "default": null
1332
+ }
1333
+ },
1334
+ {
1335
+ "name": "validTill",
1336
+ "in": "query",
1337
+ "description": "Отобразить плановые заявки ПО",
1338
+ "schema": {
1339
+ "type": "datetime",
1340
+ "format": "UTC ISO-8601",
1341
+ "default": null
1342
+ }
1343
+ },
1344
+ {
1345
+ "name": "validFrom",
1346
+ "in": "query",
1347
+ "description": "Отобразить плановые заявки С",
1348
+ "schema": {
1349
+ "type": "datetime",
1350
+ "format": "UTC ISO-8601",
1351
+ "default": null
1352
+ }
1353
+ }
1354
+ ],
1355
+ "responses": {
1356
+ "200": {
1357
+ "description": "OK",
1358
+ "content": {
1359
+ "text/plain": {
1360
+ "schema": {
1361
+ "type": "object",
1362
+ "additionalProperties": {
1363
+ "type": "array",
1364
+ "items": {
1365
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignListResult"
1366
+ }
1367
+ }
1368
+ }
1369
+ },
1370
+ "application/json": {
1371
+ "schema": {
1372
+ "type": "object",
1373
+ "additionalProperties": {
1374
+ "type": "array",
1375
+ "items": {
1376
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignListResult"
1377
+ }
1378
+ }
1379
+ }
1380
+ },
1381
+ "text/json": {
1382
+ "schema": {
1383
+ "type": "object",
1384
+ "additionalProperties": {
1385
+ "type": "array",
1386
+ "items": {
1387
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignListResult"
1388
+ }
1389
+ }
1390
+ }
1391
+ }
1392
+ }
1393
+ },
1394
+ "400": {
1395
+ "description": "Bad Request",
1396
+ "content": {
1397
+ "text/plain": {
1398
+ "schema": {
1399
+ "type": "array",
1400
+ "items": {
1401
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1402
+ }
1403
+ }
1404
+ },
1405
+ "application/json": {
1406
+ "schema": {
1407
+ "type": "array",
1408
+ "items": {
1409
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1410
+ }
1411
+ }
1412
+ },
1413
+ "text/json": {
1414
+ "schema": {
1415
+ "type": "array",
1416
+ "items": {
1417
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1418
+ }
1419
+ }
1420
+ }
1421
+ }
1422
+ },
1423
+ "401": {
1424
+ "description": "Unauthorized"
1425
+ },
1426
+ "403": {
1427
+ "description": "Forbidden"
1428
+ }
1429
+ }
1430
+ },
1431
+ "post": {
1432
+ "tags": [
1433
+ "Schedules"
1434
+ ],
1435
+ "summary": "Добавляет исполнителей на заявки событий расписаний",
1436
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleAppointmentAssignMerge**",
1437
+ "parameters": [
1438
+ {
1439
+ "name": "Authorization",
1440
+ "in": "header",
1441
+ "description": "Bearer",
1442
+ "required": true,
1443
+ "schema": {
1444
+ "type": "string"
1445
+ }
1446
+ }
1447
+ ],
1448
+ "requestBody": {
1449
+ "content": {
1450
+ "application/json-patch+json": {
1451
+ "schema": {
1452
+ "type": "array",
1453
+ "items": {
1454
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignMergeData"
1455
+ }
1456
+ }
1457
+ },
1458
+ "application/json": {
1459
+ "schema": {
1460
+ "type": "array",
1461
+ "items": {
1462
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignMergeData"
1463
+ }
1464
+ }
1465
+ },
1466
+ "text/json": {
1467
+ "schema": {
1468
+ "type": "array",
1469
+ "items": {
1470
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignMergeData"
1471
+ }
1472
+ }
1473
+ },
1474
+ "application/*+json": {
1475
+ "schema": {
1476
+ "type": "array",
1477
+ "items": {
1478
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignMergeData"
1479
+ }
1480
+ }
1481
+ }
1482
+ }
1483
+ },
1484
+ "responses": {
1485
+ "201": {
1486
+ "description": "Created",
1487
+ "content": {
1488
+ "text/plain": {
1489
+ "schema": {
1490
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignResult"
1491
+ }
1492
+ },
1493
+ "application/json": {
1494
+ "schema": {
1495
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignResult"
1496
+ }
1497
+ },
1498
+ "text/json": {
1499
+ "schema": {
1500
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignResult"
1501
+ }
1502
+ }
1503
+ }
1504
+ },
1505
+ "409": {
1506
+ "description": "Conflict",
1507
+ "content": {
1508
+ "text/plain": {
1509
+ "schema": {
1510
+ "type": "array",
1511
+ "items": {
1512
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1513
+ }
1514
+ }
1515
+ },
1516
+ "application/json": {
1517
+ "schema": {
1518
+ "type": "array",
1519
+ "items": {
1520
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1521
+ }
1522
+ }
1523
+ },
1524
+ "text/json": {
1525
+ "schema": {
1526
+ "type": "array",
1527
+ "items": {
1528
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1529
+ }
1530
+ }
1531
+ }
1532
+ }
1533
+ },
1534
+ "401": {
1535
+ "description": "Unauthorized"
1536
+ },
1537
+ "403": {
1538
+ "description": "Forbidden"
1539
+ }
1540
+ }
1541
+ },
1542
+ "delete": {
1543
+ "tags": [
1544
+ "Schedules"
1545
+ ],
1546
+ "summary": "Удаляет исполнителей на заявки событий расписаний",
1547
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleAppointmentAssignDelete**",
1548
+ "parameters": [
1549
+ {
1550
+ "name": "Authorization",
1551
+ "in": "header",
1552
+ "description": "Bearer",
1553
+ "required": true,
1554
+ "schema": {
1555
+ "type": "string"
1556
+ }
1557
+ }
1558
+ ],
1559
+ "requestBody": {
1560
+ "content": {
1561
+ "application/json-patch+json": {
1562
+ "schema": {
1563
+ "type": "array",
1564
+ "items": {
1565
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignDeleteData"
1566
+ }
1567
+ }
1568
+ },
1569
+ "application/json": {
1570
+ "schema": {
1571
+ "type": "array",
1572
+ "items": {
1573
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignDeleteData"
1574
+ }
1575
+ }
1576
+ },
1577
+ "text/json": {
1578
+ "schema": {
1579
+ "type": "array",
1580
+ "items": {
1581
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignDeleteData"
1582
+ }
1583
+ }
1584
+ },
1585
+ "application/*+json": {
1586
+ "schema": {
1587
+ "type": "array",
1588
+ "items": {
1589
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignDeleteData"
1590
+ }
1591
+ }
1592
+ }
1593
+ }
1594
+ },
1595
+ "responses": {
1596
+ "202": {
1597
+ "description": "Accepted"
1598
+ },
1599
+ "409": {
1600
+ "description": "Conflict",
1601
+ "content": {
1602
+ "text/plain": {
1603
+ "schema": {
1604
+ "type": "array",
1605
+ "items": {
1606
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1607
+ }
1608
+ }
1609
+ },
1610
+ "application/json": {
1611
+ "schema": {
1612
+ "type": "array",
1613
+ "items": {
1614
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1615
+ }
1616
+ }
1617
+ },
1618
+ "text/json": {
1619
+ "schema": {
1620
+ "type": "array",
1621
+ "items": {
1622
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1623
+ }
1624
+ }
1625
+ }
1626
+ }
1627
+ },
1628
+ "401": {
1629
+ "description": "Unauthorized"
1630
+ },
1631
+ "403": {
1632
+ "description": "Forbidden"
1633
+ }
1634
+ }
1635
+ }
1636
+ },
1637
+ "/Schedules/{scheduleID}/appointments/assign": {
1638
+ "get": {
1639
+ "tags": [
1640
+ "Schedules"
1641
+ ],
1642
+ "summary": "Метод получения списка исполнителей для событий расписания для конкретного расписания",
1643
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleAppointmentAssignList**",
1644
+ "parameters": [
1645
+ {
1646
+ "name": "scheduleID",
1647
+ "in": "path",
1648
+ "required": true,
1649
+ "schema": {
1650
+ "type": "integer",
1651
+ "format": "int32"
1652
+ }
1653
+ },
1654
+ {
1655
+ "name": "Authorization",
1656
+ "in": "header",
1657
+ "description": "Bearer",
1658
+ "required": true,
1659
+ "schema": {
1660
+ "type": "string"
1661
+ }
1662
+ },
1663
+ {
1664
+ "name": "assetID",
1665
+ "in": "query",
1666
+ "description": "Объект заявки",
1667
+ "schema": {
1668
+ "type": "int32",
1669
+ "default": null
1670
+ }
1671
+ },
1672
+ {
1673
+ "name": "userID",
1674
+ "in": "query",
1675
+ "description": "Исполнитель",
1676
+ "schema": {
1677
+ "type": "int32",
1678
+ "default": null
1679
+ }
1680
+ },
1681
+ {
1682
+ "name": "scheduleID",
1683
+ "in": "query",
1684
+ "description": "Расписание",
1685
+ "schema": {
1686
+ "type": "int16",
1687
+ "default": null
1688
+ }
1689
+ },
1690
+ {
1691
+ "name": "appointmentID",
1692
+ "in": "query",
1693
+ "description": "Событие расписания",
1694
+ "schema": {
1695
+ "type": "int32",
1696
+ "default": null
1697
+ }
1698
+ },
1699
+ {
1700
+ "name": "validTill",
1701
+ "in": "query",
1702
+ "description": "Отобразить плановые заявки ПО",
1703
+ "schema": {
1704
+ "type": "datetime",
1705
+ "format": "UTC ISO-8601",
1706
+ "default": null
1707
+ }
1708
+ },
1709
+ {
1710
+ "name": "validFrom",
1711
+ "in": "query",
1712
+ "description": "Отобразить плановые заявки С",
1713
+ "schema": {
1714
+ "type": "datetime",
1715
+ "format": "UTC ISO-8601",
1716
+ "default": null
1717
+ }
1718
+ }
1719
+ ],
1720
+ "responses": {
1721
+ "200": {
1722
+ "description": "OK",
1723
+ "content": {
1724
+ "text/plain": {
1725
+ "schema": {
1726
+ "type": "object",
1727
+ "additionalProperties": {
1728
+ "type": "array",
1729
+ "items": {
1730
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignListResult"
1731
+ }
1732
+ }
1733
+ }
1734
+ },
1735
+ "application/json": {
1736
+ "schema": {
1737
+ "type": "object",
1738
+ "additionalProperties": {
1739
+ "type": "array",
1740
+ "items": {
1741
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignListResult"
1742
+ }
1743
+ }
1744
+ }
1745
+ },
1746
+ "text/json": {
1747
+ "schema": {
1748
+ "type": "object",
1749
+ "additionalProperties": {
1750
+ "type": "array",
1751
+ "items": {
1752
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignListResult"
1753
+ }
1754
+ }
1755
+ }
1756
+ }
1757
+ }
1758
+ },
1759
+ "400": {
1760
+ "description": "Bad Request",
1761
+ "content": {
1762
+ "text/plain": {
1763
+ "schema": {
1764
+ "type": "array",
1765
+ "items": {
1766
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1767
+ }
1768
+ }
1769
+ },
1770
+ "application/json": {
1771
+ "schema": {
1772
+ "type": "array",
1773
+ "items": {
1774
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1775
+ }
1776
+ }
1777
+ },
1778
+ "text/json": {
1779
+ "schema": {
1780
+ "type": "array",
1781
+ "items": {
1782
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1783
+ }
1784
+ }
1785
+ }
1786
+ }
1787
+ },
1788
+ "401": {
1789
+ "description": "Unauthorized"
1790
+ },
1791
+ "403": {
1792
+ "description": "Forbidden"
1793
+ }
1794
+ }
1795
+ }
1796
+ },
1797
+ "/Schedules/{scheduleID}/appointments/{appointmentID}/asset/{assetID}/assign/{userID}": {
1798
+ "post": {
1799
+ "tags": [
1800
+ "Schedules"
1801
+ ],
1802
+ "summary": "Добавляет исполнителя на заявку событий расписаний",
1803
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleAppointmentAssignMerge**",
1804
+ "parameters": [
1805
+ {
1806
+ "name": "scheduleID",
1807
+ "in": "path",
1808
+ "required": true,
1809
+ "schema": {
1810
+ "type": "integer",
1811
+ "format": "int32"
1812
+ }
1813
+ },
1814
+ {
1815
+ "name": "appointmentID",
1816
+ "in": "path",
1817
+ "required": true,
1818
+ "schema": {
1819
+ "type": "integer",
1820
+ "format": "int32"
1821
+ }
1822
+ },
1823
+ {
1824
+ "name": "assetID",
1825
+ "in": "path",
1826
+ "required": true,
1827
+ "schema": {
1828
+ "type": "integer",
1829
+ "format": "int32"
1830
+ }
1831
+ },
1832
+ {
1833
+ "name": "userID",
1834
+ "in": "path",
1835
+ "required": true,
1836
+ "schema": {
1837
+ "type": "integer",
1838
+ "format": "int32"
1839
+ }
1840
+ },
1841
+ {
1842
+ "name": "Authorization",
1843
+ "in": "header",
1844
+ "description": "Bearer",
1845
+ "required": true,
1846
+ "schema": {
1847
+ "type": "string"
1848
+ }
1849
+ }
1850
+ ],
1851
+ "responses": {
1852
+ "201": {
1853
+ "description": "Created",
1854
+ "content": {
1855
+ "text/plain": {
1856
+ "schema": {
1857
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignResult"
1858
+ }
1859
+ },
1860
+ "application/json": {
1861
+ "schema": {
1862
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignResult"
1863
+ }
1864
+ },
1865
+ "text/json": {
1866
+ "schema": {
1867
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignResult"
1868
+ }
1869
+ }
1870
+ }
1871
+ },
1872
+ "409": {
1873
+ "description": "Conflict",
1874
+ "content": {
1875
+ "text/plain": {
1876
+ "schema": {
1877
+ "type": "array",
1878
+ "items": {
1879
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1880
+ }
1881
+ }
1882
+ },
1883
+ "application/json": {
1884
+ "schema": {
1885
+ "type": "array",
1886
+ "items": {
1887
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1888
+ }
1889
+ }
1890
+ },
1891
+ "text/json": {
1892
+ "schema": {
1893
+ "type": "array",
1894
+ "items": {
1895
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1896
+ }
1897
+ }
1898
+ }
1899
+ }
1900
+ },
1901
+ "401": {
1902
+ "description": "Unauthorized"
1903
+ },
1904
+ "403": {
1905
+ "description": "Forbidden"
1906
+ }
1907
+ }
1908
+ }
1909
+ },
1910
+ "/Schedules/{scheduleID}/appointments/{appointmentID}/asset/{assetID}": {
1911
+ "delete": {
1912
+ "tags": [
1913
+ "Schedules"
1914
+ ],
1915
+ "summary": "Удаляет исполнителя из заявки событий расписаний",
1916
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleAppointmentAssignDelete**",
1917
+ "parameters": [
1918
+ {
1919
+ "name": "scheduleID",
1920
+ "in": "path",
1921
+ "required": true,
1922
+ "schema": {
1923
+ "type": "integer",
1924
+ "format": "int32"
1925
+ }
1926
+ },
1927
+ {
1928
+ "name": "appointmentID",
1929
+ "in": "path",
1930
+ "required": true,
1931
+ "schema": {
1932
+ "type": "integer",
1933
+ "format": "int32"
1934
+ }
1935
+ },
1936
+ {
1937
+ "name": "assetID",
1938
+ "in": "path",
1939
+ "required": true,
1940
+ "schema": {
1941
+ "type": "integer",
1942
+ "format": "int32"
1943
+ }
1944
+ },
1945
+ {
1946
+ "name": "Authorization",
1947
+ "in": "header",
1948
+ "description": "Bearer",
1949
+ "required": true,
1950
+ "schema": {
1951
+ "type": "string"
1952
+ }
1953
+ }
1954
+ ],
1955
+ "responses": {
1956
+ "202": {
1957
+ "description": "Accepted"
1958
+ },
1959
+ "409": {
1960
+ "description": "Conflict",
1961
+ "content": {
1962
+ "text/plain": {
1963
+ "schema": {
1964
+ "type": "array",
1965
+ "items": {
1966
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1967
+ }
1968
+ }
1969
+ },
1970
+ "application/json": {
1971
+ "schema": {
1972
+ "type": "array",
1973
+ "items": {
1974
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1975
+ }
1976
+ }
1977
+ },
1978
+ "text/json": {
1979
+ "schema": {
1980
+ "type": "array",
1981
+ "items": {
1982
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1983
+ }
1984
+ }
1985
+ }
1986
+ }
1987
+ },
1988
+ "401": {
1989
+ "description": "Unauthorized"
1990
+ },
1991
+ "403": {
1992
+ "description": "Forbidden"
1993
+ }
1994
+ }
1995
+ }
1996
+ },
1997
+ "/Schedules/{scheduleID}/appointments": {
1998
+ "get": {
1999
+ "tags": [
2000
+ "Schedules"
2001
+ ],
2002
+ "summary": "Метод получения списка событий для расписаний",
2003
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleAppointmentList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
2004
+ "parameters": [
2005
+ {
2006
+ "name": "scheduleID",
2007
+ "in": "path",
2008
+ "required": true,
2009
+ "schema": {
2010
+ "type": "integer",
2011
+ "format": "int32"
2012
+ }
2013
+ },
2014
+ {
2015
+ "name": "dateFrom",
2016
+ "in": "query",
2017
+ "schema": {
2018
+ "type": "string",
2019
+ "format": "date-time"
2020
+ }
2021
+ },
2022
+ {
2023
+ "name": "dateTill",
2024
+ "in": "query",
2025
+ "schema": {
2026
+ "type": "string",
2027
+ "format": "date-time"
2028
+ }
2029
+ },
2030
+ {
2031
+ "name": "Authorization",
2032
+ "in": "header",
2033
+ "description": "Bearer",
2034
+ "required": true,
2035
+ "schema": {
2036
+ "type": "string"
2037
+ }
2038
+ },
2039
+ {
2040
+ "name": "Range",
2041
+ "in": "header",
2042
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
2043
+ "schema": {
2044
+ "type": "string"
2045
+ }
2046
+ },
2047
+ {
2048
+ "name": "offset",
2049
+ "in": "query",
2050
+ "description": "количество элементов, которое нобходимо пропустить",
2051
+ "schema": {
2052
+ "type": "string"
2053
+ }
2054
+ },
2055
+ {
2056
+ "name": "fetch",
2057
+ "in": "query",
2058
+ "description": "количество эементов, которое необходимо вернуть",
2059
+ "schema": {
2060
+ "type": "string"
2061
+ }
2062
+ }
2063
+ ],
2064
+ "responses": {
2065
+ "200": {
2066
+ "description": "OK",
2067
+ "content": {
2068
+ "text/plain": {
2069
+ "schema": {
2070
+ "type": "array",
2071
+ "items": {
2072
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointments.ListResult"
2073
+ }
2074
+ }
2075
+ },
2076
+ "application/json": {
2077
+ "schema": {
2078
+ "type": "array",
2079
+ "items": {
2080
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointments.ListResult"
2081
+ }
2082
+ }
2083
+ },
2084
+ "text/json": {
2085
+ "schema": {
2086
+ "type": "array",
2087
+ "items": {
2088
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointments.ListResult"
2089
+ }
2090
+ }
2091
+ }
2092
+ }
2093
+ },
2094
+ "401": {
2095
+ "description": "Unauthorized"
2096
+ },
2097
+ "403": {
2098
+ "description": "Forbidden"
2099
+ },
2100
+ "206": {
2101
+ "description": "PartialContent",
2102
+ "headers": {
2103
+ "Content-Range": {
2104
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
2105
+ "schema": {
2106
+ "type": "string"
2107
+ }
2108
+ }
2109
+ }
2110
+ }
2111
+ }
2112
+ }
2113
+ },
2114
+ "/Schedules": {
2115
+ "post": {
2116
+ "tags": [
2117
+ "Schedules"
2118
+ ],
2119
+ "summary": "Метод обновления или создания расписаний для тенанта",
2120
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TaskScheduleMerge**",
2121
+ "parameters": [
2122
+ {
2123
+ "name": "Authorization",
2124
+ "in": "header",
2125
+ "description": "Bearer",
2126
+ "required": true,
2127
+ "schema": {
2128
+ "type": "string"
2129
+ }
2130
+ }
2131
+ ],
2132
+ "requestBody": {
2133
+ "description": "Список HubEx.DataProvider.Api.Data.PMP.Schedule.MergeData",
2134
+ "content": {
2135
+ "application/json-patch+json": {
2136
+ "schema": {
2137
+ "type": "array",
2138
+ "items": {
2139
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Data.Schedules.ScheduleMergeData"
2140
+ }
2141
+ }
2142
+ },
2143
+ "application/json": {
2144
+ "schema": {
2145
+ "type": "array",
2146
+ "items": {
2147
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Data.Schedules.ScheduleMergeData"
2148
+ }
2149
+ }
2150
+ },
2151
+ "text/json": {
2152
+ "schema": {
2153
+ "type": "array",
2154
+ "items": {
2155
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Data.Schedules.ScheduleMergeData"
2156
+ }
2157
+ }
2158
+ },
2159
+ "application/*+json": {
2160
+ "schema": {
2161
+ "type": "array",
2162
+ "items": {
2163
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Data.Schedules.ScheduleMergeData"
2164
+ }
2165
+ }
2166
+ }
2167
+ }
2168
+ },
2169
+ "responses": {
2170
+ "202": {
2171
+ "description": "Accepted"
2172
+ },
2173
+ "401": {
2174
+ "description": "Unauthorized"
2175
+ },
2176
+ "403": {
2177
+ "description": "Forbidden"
2178
+ }
2179
+ }
2180
+ },
2181
+ "get": {
2182
+ "tags": [
2183
+ "Schedules"
2184
+ ],
2185
+ "summary": "Метод получения списка расписаний",
2186
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TaskScheduleList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
2187
+ "parameters": [
2188
+ {
2189
+ "name": "Authorization",
2190
+ "in": "header",
2191
+ "description": "Bearer",
2192
+ "required": true,
2193
+ "schema": {
2194
+ "type": "string"
2195
+ }
2196
+ },
2197
+ {
2198
+ "name": "Range",
2199
+ "in": "header",
2200
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
2201
+ "schema": {
2202
+ "type": "string"
2203
+ }
2204
+ },
2205
+ {
2206
+ "name": "offset",
2207
+ "in": "query",
2208
+ "description": "количество элементов, которое нобходимо пропустить",
2209
+ "schema": {
2210
+ "type": "string"
2211
+ }
2212
+ },
2213
+ {
2214
+ "name": "fetch",
2215
+ "in": "query",
2216
+ "description": "количество эементов, которое необходимо вернуть",
2217
+ "schema": {
2218
+ "type": "string"
2219
+ }
2220
+ }
2221
+ ],
2222
+ "responses": {
2223
+ "200": {
2224
+ "description": "OK",
2225
+ "content": {
2226
+ "text/plain": {
2227
+ "schema": {
2228
+ "type": "array",
2229
+ "items": {
2230
+ "type": "object",
2231
+ "additionalProperties": {
2232
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleResult.GetResult"
2233
+ }
2234
+ }
2235
+ }
2236
+ },
2237
+ "application/json": {
2238
+ "schema": {
2239
+ "type": "array",
2240
+ "items": {
2241
+ "type": "object",
2242
+ "additionalProperties": {
2243
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleResult.GetResult"
2244
+ }
2245
+ }
2246
+ }
2247
+ },
2248
+ "text/json": {
2249
+ "schema": {
2250
+ "type": "array",
2251
+ "items": {
2252
+ "type": "object",
2253
+ "additionalProperties": {
2254
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleResult.GetResult"
2255
+ }
2256
+ }
2257
+ }
2258
+ }
2259
+ }
2260
+ },
2261
+ "401": {
2262
+ "description": "Unauthorized"
2263
+ },
2264
+ "403": {
2265
+ "description": "Forbidden"
2266
+ },
2267
+ "206": {
2268
+ "description": "PartialContent",
2269
+ "headers": {
2270
+ "Content-Range": {
2271
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
2272
+ "schema": {
2273
+ "type": "string"
2274
+ }
2275
+ }
2276
+ }
2277
+ }
2278
+ }
2279
+ },
2280
+ "delete": {
2281
+ "tags": [
2282
+ "Schedules"
2283
+ ],
2284
+ "summary": "Удаление расписаний для тенанта по списку идентификаторов",
2285
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TaskScheduleDelete**",
2286
+ "parameters": [
2287
+ {
2288
+ "name": "Authorization",
2289
+ "in": "header",
2290
+ "description": "Bearer",
2291
+ "required": true,
2292
+ "schema": {
2293
+ "type": "string"
2294
+ }
2295
+ }
2296
+ ],
2297
+ "requestBody": {
2298
+ "description": "Список идентификаторов расписаний",
2299
+ "content": {
2300
+ "application/json-patch+json": {
2301
+ "schema": {
2302
+ "type": "array",
2303
+ "items": {
2304
+ "type": "integer",
2305
+ "format": "int32"
2306
+ }
2307
+ }
2308
+ },
2309
+ "application/json": {
2310
+ "schema": {
2311
+ "type": "array",
2312
+ "items": {
2313
+ "type": "integer",
2314
+ "format": "int32"
2315
+ }
2316
+ }
2317
+ },
2318
+ "text/json": {
2319
+ "schema": {
2320
+ "type": "array",
2321
+ "items": {
2322
+ "type": "integer",
2323
+ "format": "int32"
2324
+ }
2325
+ }
2326
+ },
2327
+ "application/*+json": {
2328
+ "schema": {
2329
+ "type": "array",
2330
+ "items": {
2331
+ "type": "integer",
2332
+ "format": "int32"
2333
+ }
2334
+ }
2335
+ }
2336
+ }
2337
+ },
2338
+ "responses": {
2339
+ "202": {
2340
+ "description": "Accepted"
2341
+ },
2342
+ "401": {
2343
+ "description": "Unauthorized"
2344
+ },
2345
+ "403": {
2346
+ "description": "Forbidden"
2347
+ }
2348
+ }
2349
+ }
2350
+ },
2351
+ "/Schedules/{id}": {
2352
+ "get": {
2353
+ "tags": [
2354
+ "Schedules"
2355
+ ],
2356
+ "summary": "Метод получения информации о расписании по идентификатору",
2357
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TaskScheduleGet**",
2358
+ "parameters": [
2359
+ {
2360
+ "name": "ID",
2361
+ "in": "path",
2362
+ "description": "Идентификатор расписания",
2363
+ "required": true,
2364
+ "schema": {
2365
+ "type": "integer",
2366
+ "format": "int32"
2367
+ }
2368
+ },
2369
+ {
2370
+ "name": "Authorization",
2371
+ "in": "header",
2372
+ "description": "Bearer",
2373
+ "required": true,
2374
+ "schema": {
2375
+ "type": "string"
2376
+ }
2377
+ }
2378
+ ],
2379
+ "responses": {
2380
+ "200": {
2381
+ "description": "OK",
2382
+ "content": {
2383
+ "text/plain": {
2384
+ "schema": {
2385
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleResult.GetResult"
2386
+ }
2387
+ },
2388
+ "application/json": {
2389
+ "schema": {
2390
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleResult.GetResult"
2391
+ }
2392
+ },
2393
+ "text/json": {
2394
+ "schema": {
2395
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleResult.GetResult"
2396
+ }
2397
+ }
2398
+ }
2399
+ },
2400
+ "401": {
2401
+ "description": "Unauthorized"
2402
+ },
2403
+ "403": {
2404
+ "description": "Forbidden"
2405
+ }
2406
+ }
2407
+ },
2408
+ "delete": {
2409
+ "tags": [
2410
+ "Schedules"
2411
+ ],
2412
+ "summary": "Удаление расписания для тенанта по идентификатору",
2413
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TaskScheduleDelete**",
2414
+ "parameters": [
2415
+ {
2416
+ "name": "ID",
2417
+ "in": "path",
2418
+ "description": "Идентификатор расписания",
2419
+ "required": true,
2420
+ "schema": {
2421
+ "type": "integer",
2422
+ "format": "int32"
2423
+ }
2424
+ },
2425
+ {
2426
+ "name": "Authorization",
2427
+ "in": "header",
2428
+ "description": "Bearer",
2429
+ "required": true,
2430
+ "schema": {
2431
+ "type": "string"
2432
+ }
2433
+ }
2434
+ ],
2435
+ "responses": {
2436
+ "202": {
2437
+ "description": "Accepted"
2438
+ },
2439
+ "401": {
2440
+ "description": "Unauthorized"
2441
+ },
2442
+ "403": {
2443
+ "description": "Forbidden"
2444
+ }
2445
+ }
2446
+ }
2447
+ }
2448
+ },
2449
+ "components": {
2450
+ "schemas": {
2451
+ "HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignDeleteData": {
2452
+ "type": "object",
2453
+ "properties": {
2454
+ "scheduleID": {
2455
+ "maximum": 32767,
2456
+ "minimum": 1,
2457
+ "type": "integer",
2458
+ "format": "int32"
2459
+ },
2460
+ "appointmentID": {
2461
+ "maximum": 2147483647,
2462
+ "minimum": 1,
2463
+ "type": "integer",
2464
+ "format": "int32"
2465
+ },
2466
+ "assetID": {
2467
+ "maximum": 2147483647,
2468
+ "minimum": 1,
2469
+ "type": "integer",
2470
+ "format": "int32"
2471
+ }
2472
+ },
2473
+ "additionalProperties": false
2474
+ },
2475
+ "HubEx.DataProvider.Api.Data.PMP.ScheduleAppointmentAssign.ScheduleAppointmentAssignMergeData": {
2476
+ "type": "object",
2477
+ "properties": {
2478
+ "scheduleID": {
2479
+ "maximum": 32767,
2480
+ "minimum": 1,
2481
+ "type": "integer",
2482
+ "format": "int32"
2483
+ },
2484
+ "appointmentID": {
2485
+ "maximum": 2147483647,
2486
+ "minimum": 1,
2487
+ "type": "integer",
2488
+ "format": "int32"
2489
+ },
2490
+ "assetID": {
2491
+ "maximum": 2147483647,
2492
+ "minimum": 1,
2493
+ "type": "integer",
2494
+ "format": "int32"
2495
+ },
2496
+ "userID": {
2497
+ "maximum": 2147483647,
2498
+ "minimum": 1,
2499
+ "type": "integer",
2500
+ "format": "int32"
2501
+ }
2502
+ },
2503
+ "additionalProperties": false
2504
+ },
2505
+ "HubEx.Service.PMP.Api.Data.Schedules.ScheduleMergeData": {
2506
+ "type": "object",
2507
+ "properties": {
2508
+ "frequencyTypeID": {
2509
+ "type": "integer",
2510
+ "description": "Идентификатор частоты повторения",
2511
+ "format": "int32"
2512
+ },
2513
+ "id": {
2514
+ "type": "integer",
2515
+ "description": "Идентификатор расписания",
2516
+ "format": "int32",
2517
+ "nullable": true
2518
+ },
2519
+ "options": {
2520
+ "type": "string",
2521
+ "description": "Информация о расписании в формате JSON",
2522
+ "nullable": true
2523
+ }
2524
+ },
2525
+ "additionalProperties": false,
2526
+ "description": "Данные для слияния расписаний тенанта"
2527
+ },
2528
+ "HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.AppointmentResult": {
2529
+ "type": "object",
2530
+ "properties": {
2531
+ "appointmentID": {
2532
+ "type": "integer",
2533
+ "description": "Идентификатор точки срабатывания",
2534
+ "format": "int32"
2535
+ },
2536
+ "appointment": {
2537
+ "type": "string",
2538
+ "description": "Дата и время создания плановой заявки",
2539
+ "format": "date-time"
2540
+ },
2541
+ "assetAssigns": {
2542
+ "type": "array",
2543
+ "items": {
2544
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.AssetAssignResult"
2545
+ },
2546
+ "description": "Список оборудования для точки расписание с исполнителями",
2547
+ "nullable": true
2548
+ }
2549
+ },
2550
+ "additionalProperties": false,
2551
+ "description": "Точки срабатывания с исполнителями"
2552
+ },
2553
+ "HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.AssetAssignResult": {
2554
+ "type": "object",
2555
+ "properties": {
2556
+ "assetID": {
2557
+ "type": "integer",
2558
+ "description": "Идентификатор оборудования, по которому будет создана заявка",
2559
+ "format": "int32"
2560
+ },
2561
+ "userID": {
2562
+ "type": "integer",
2563
+ "description": "Идентификатор исполнителя по заявке в конкретной точке по этому оборудованию",
2564
+ "format": "int32"
2565
+ }
2566
+ },
2567
+ "additionalProperties": false,
2568
+ "description": "Оборудование, по которому будет создана заявка"
2569
+ },
2570
+ "HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignListResult": {
2571
+ "type": "object",
2572
+ "properties": {
2573
+ "appointments": {
2574
+ "type": "array",
2575
+ "items": {
2576
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.AppointmentResult"
2577
+ },
2578
+ "description": "Список точек срабатывания с исполнителями",
2579
+ "nullable": true
2580
+ }
2581
+ },
2582
+ "additionalProperties": false,
2583
+ "description": "Результат получения списка назначенных исполнителей"
2584
+ },
2585
+ "HubEx.Service.PMP.Api.Results.ScheduleAppointmentAssign.ScheduleAppointmentAssignResult": {
2586
+ "type": "object",
2587
+ "properties": {
2588
+ "scheduleID": {
2589
+ "type": "integer",
2590
+ "description": "Идентификатор расписания",
2591
+ "format": "int32"
2592
+ },
2593
+ "appointmentID": {
2594
+ "type": "integer",
2595
+ "description": "Идентификатор точки срабатывания",
2596
+ "format": "int32"
2597
+ },
2598
+ "assetID": {
2599
+ "type": "integer",
2600
+ "description": "Идентификатор объекта точки срабатывания",
2601
+ "format": "int32"
2602
+ },
2603
+ "userID": {
2604
+ "type": "integer",
2605
+ "description": "Идентификатор назначенного исполнителя",
2606
+ "format": "int32"
2607
+ }
2608
+ },
2609
+ "additionalProperties": false,
2610
+ "description": "Результат получения списка назначенных исполнителей"
2611
+ },
2612
+ "HubEx.Service.PMP.Api.Results.ScheduleAppointments.ListResult": {
2613
+ "type": "object",
2614
+ "properties": {
2615
+ "id": {
2616
+ "type": "integer",
2617
+ "format": "int32"
2618
+ },
2619
+ "appointment": {
2620
+ "type": "string",
2621
+ "description": "Дата и время точки расписания",
2622
+ "format": "date-time"
2623
+ }
2624
+ },
2625
+ "additionalProperties": false,
2626
+ "description": "Точки расписания"
2627
+ },
2628
+ "HubEx.Service.PMP.Api.Results.ScheduleResult.GetResult": {
2629
+ "type": "object",
2630
+ "properties": {
2631
+ "frequencyType": {
2632
+ "$ref": "#/components/schemas/SmartService.Common.Results.IdNameResult`1[[System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
2633
+ },
2634
+ "id": {
2635
+ "type": "integer",
2636
+ "description": "Идентификатор расписания",
2637
+ "format": "int32"
2638
+ },
2639
+ "options": {
2640
+ "type": "string",
2641
+ "description": "Настройки срабатывания расписания в формате JSON",
2642
+ "nullable": true
2643
+ }
2644
+ },
2645
+ "additionalProperties": false,
2646
+ "description": "Schedule"
2647
+ },
2648
+ "HubEx.Service.PMP.Api.Results.ScheduledTasks.AppointmentResult`1[[HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResult, HubEx.Service.PMP.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": {
2649
+ "type": "object",
2650
+ "properties": {
2651
+ "scheduleID": {
2652
+ "type": "integer",
2653
+ "description": "Идентификатор расписания",
2654
+ "format": "int32"
2655
+ },
2656
+ "appointmentID": {
2657
+ "type": "integer",
2658
+ "description": "Идентификатор точки срабатывания",
2659
+ "format": "int32"
2660
+ },
2661
+ "appointment": {
2662
+ "type": "string",
2663
+ "description": "Дата и время создания плановой заявки",
2664
+ "format": "date-time"
2665
+ },
2666
+ "appointmentWith": {
2667
+ "type": "string",
2668
+ "description": "Дата С",
2669
+ "format": "date-time"
2670
+ },
2671
+ "appointmentBy": {
2672
+ "type": "string",
2673
+ "description": "Дата По",
2674
+ "format": "date-time"
2675
+ },
2676
+ "assetAssigns": {
2677
+ "type": "array",
2678
+ "items": {
2679
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResult"
2680
+ },
2681
+ "description": "Список оборудования для точки расписание с исполнителями",
2682
+ "nullable": true
2683
+ }
2684
+ },
2685
+ "additionalProperties": false,
2686
+ "description": "Точки срабатывания с исполнителями"
2687
+ },
2688
+ "HubEx.Service.PMP.Api.Results.ScheduledTasks.AppointmentResult`1[[HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResultV2, HubEx.Service.PMP.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": {
2689
+ "type": "object",
2690
+ "properties": {
2691
+ "scheduleID": {
2692
+ "type": "integer",
2693
+ "description": "Идентификатор расписания",
2694
+ "format": "int32"
2695
+ },
2696
+ "appointmentID": {
2697
+ "type": "integer",
2698
+ "description": "Идентификатор точки срабатывания",
2699
+ "format": "int32"
2700
+ },
2701
+ "appointment": {
2702
+ "type": "string",
2703
+ "description": "Дата и время создания плановой заявки",
2704
+ "format": "date-time"
2705
+ },
2706
+ "appointmentWith": {
2707
+ "type": "string",
2708
+ "description": "Дата С",
2709
+ "format": "date-time"
2710
+ },
2711
+ "appointmentBy": {
2712
+ "type": "string",
2713
+ "description": "Дата По",
2714
+ "format": "date-time"
2715
+ },
2716
+ "assetAssigns": {
2717
+ "type": "array",
2718
+ "items": {
2719
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResultV2"
2720
+ },
2721
+ "description": "Список оборудования для точки расписание с исполнителями",
2722
+ "nullable": true
2723
+ }
2724
+ },
2725
+ "additionalProperties": false,
2726
+ "description": "Точки срабатывания с исполнителями"
2727
+ },
2728
+ "HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResult": {
2729
+ "type": "object",
2730
+ "properties": {
2731
+ "assetID": {
2732
+ "type": "integer",
2733
+ "description": "Идентификатор оборудования, по которому будет создана заявка",
2734
+ "format": "int32"
2735
+ },
2736
+ "assetName": {
2737
+ "type": "string",
2738
+ "description": "Наименование оборудования, по которому будет создана заявка",
2739
+ "nullable": true
2740
+ },
2741
+ "sortOrder": {
2742
+ "type": "integer",
2743
+ "description": "Индекс сортировки",
2744
+ "format": "int32"
2745
+ },
2746
+ "userID": {
2747
+ "type": "integer",
2748
+ "description": "Идентификатор исполнителя по заявке в конкретной точке по этому оборудованию",
2749
+ "format": "int32",
2750
+ "nullable": true
2751
+ }
2752
+ },
2753
+ "additionalProperties": false,
2754
+ "description": "Оборудование, по которому будет создана заявка"
2755
+ },
2756
+ "HubEx.Service.PMP.Api.Results.ScheduledTasks.AssetAssignResultV2": {
2757
+ "type": "object",
2758
+ "properties": {
2759
+ "assetID": {
2760
+ "type": "integer",
2761
+ "description": "Идентификатор оборудования, по которому будет создана заявка",
2762
+ "format": "int32"
2763
+ },
2764
+ "assetName": {
2765
+ "type": "string",
2766
+ "description": "Наименование оборудования, по которому будет создана заявка",
2767
+ "nullable": true
2768
+ },
2769
+ "sortOrder": {
2770
+ "type": "integer",
2771
+ "description": "Индекс сортировки",
2772
+ "format": "int32"
2773
+ },
2774
+ "users": {
2775
+ "type": "array",
2776
+ "items": {
2777
+ "type": "integer",
2778
+ "format": "int32"
2779
+ },
2780
+ "description": "Список идентификаторов исполнителей по заявке в конкретной точке по этому оборудованию",
2781
+ "nullable": true
2782
+ },
2783
+ "company": {
2784
+ "$ref": "#/components/schemas/SmartService.Common.Results.IdNameDeletedResult`1[[System.Int16, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
2785
+ },
2786
+ "location": {
2787
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.LocationResult"
2788
+ }
2789
+ },
2790
+ "additionalProperties": false,
2791
+ "description": "Оборудование, по которому будет создана заявка"
2792
+ },
2793
+ "HubEx.Service.PMP.Api.Results.ScheduledTasks.CountResult": {
2794
+ "type": "object",
2795
+ "properties": {
2796
+ "countTasksForDay": {
2797
+ "type": "integer",
2798
+ "description": "Общее количество заявок на дату",
2799
+ "format": "int32"
2800
+ },
2801
+ "countTasksForUsers": {
2802
+ "type": "array",
2803
+ "items": {
2804
+ "$ref": "#/components/schemas/HubEx.Service.PMP.Api.Results.ScheduledTasks.ListCountResult"
2805
+ },
2806
+ "description": "Количество заявок на дату по исполнителям",
2807
+ "nullable": true
2808
+ }
2809
+ },
2810
+ "additionalProperties": false,
2811
+ "description": "Плановые заявки"
2812
+ },
2813
+ "HubEx.Service.PMP.Api.Results.ScheduledTasks.ListCountResult": {
2814
+ "type": "object",
2815
+ "properties": {
2816
+ "userID": {
2817
+ "type": "integer",
2818
+ "description": "Идентификатор исполнителя назначенной заявки (0 - для неназначненных_",
2819
+ "format": "int32"
2820
+ },
2821
+ "countWithAssign": {
2822
+ "type": "integer",
2823
+ "description": "Количество назначенных заявок на дату",
2824
+ "format": "int32"
2825
+ },
2826
+ "countWithoutAssign": {
2827
+ "type": "integer",
2828
+ "description": "Количество неназначенных заявок на дату",
2829
+ "format": "int32"
2830
+ }
2831
+ },
2832
+ "additionalProperties": false,
2833
+ "description": "Плановые заявки"
2834
+ },
2835
+ "HubEx.Service.PMP.Api.Results.ScheduledTasks.ListResult": {
2836
+ "type": "object",
2837
+ "properties": {
2838
+ "taskTemplateID": {
2839
+ "type": "string",
2840
+ "description": "Идентификатор плановой заявки",
2841
+ "nullable": true
2842
+ },
2843
+ "name": {
2844
+ "type": "string",
2845
+ "description": "Наименование плановой заявки",
2846
+ "nullable": true
2847
+ },
2848
+ "description": {
2849
+ "type": "string",
2850
+ "description": "Описание плановой заявки",
2851
+ "nullable": true
2852
+ },
2853
+ "notes": {
2854
+ "type": "string",
2855
+ "description": "Замечания к плановой заявки",
2856
+ "nullable": true
2857
+ },
2858
+ "sortOrder": {
2859
+ "type": "integer",
2860
+ "description": "Индекс сортировки",
2861
+ "format": "int32"
2862
+ }
2863
+ },
2864
+ "additionalProperties": false,
2865
+ "description": "Плановые заявки"
2866
+ },
2867
+ "HubEx.Service.PMP.Api.Results.ScheduledTasks.LocationResult": {
2868
+ "type": "object",
2869
+ "properties": {
2870
+ "id": {
2871
+ "type": "integer",
2872
+ "format": "int32"
2873
+ },
2874
+ "address": {
2875
+ "type": "string",
2876
+ "description": "Адрес объекта",
2877
+ "nullable": true
2878
+ },
2879
+ "coordinate": {
2880
+ "type": "string",
2881
+ "description": "Координаты объекта в формате LAT:LNG",
2882
+ "nullable": true
2883
+ },
2884
+ "description": {
2885
+ "type": "string",
2886
+ "description": "Описание локации",
2887
+ "nullable": true
2888
+ },
2889
+ "deleted": {
2890
+ "type": "string",
2891
+ "description": "Метка времени (UTC), когда локация была удалена",
2892
+ "format": "date-time",
2893
+ "nullable": true
2894
+ }
2895
+ },
2896
+ "additionalProperties": false,
2897
+ "description": "Данные локации"
2898
+ },
2899
+ "SmartService.Common.ExceptionHandling.Models.ErrorModel": {
2900
+ "type": "object",
2901
+ "properties": {
2902
+ "traceIdentifier": {
2903
+ "type": "string",
2904
+ "nullable": true
2905
+ },
2906
+ "code": {
2907
+ "type": "string",
2908
+ "nullable": true
2909
+ },
2910
+ "message": {
2911
+ "type": "string",
2912
+ "nullable": true
2913
+ },
2914
+ "arguments": {
2915
+ "type": "object",
2916
+ "additionalProperties": {
2917
+ "type": "string",
2918
+ "nullable": true
2919
+ },
2920
+ "nullable": true
2921
+ }
2922
+ },
2923
+ "additionalProperties": false
2924
+ },
2925
+ "SmartService.Common.Results.IdCodeNameResult`1[[System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": {
2926
+ "type": "object",
2927
+ "properties": {
2928
+ "id": {
2929
+ "type": "integer",
2930
+ "format": "int32"
2931
+ },
2932
+ "code": {
2933
+ "type": "string",
2934
+ "nullable": true
2935
+ },
2936
+ "name": {
2937
+ "type": "string",
2938
+ "nullable": true
2939
+ }
2940
+ },
2941
+ "additionalProperties": false
2942
+ },
2943
+ "SmartService.Common.Results.IdNameDeletedResult`1[[System.Int16, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": {
2944
+ "type": "object",
2945
+ "properties": {
2946
+ "id": {
2947
+ "type": "integer",
2948
+ "format": "int32"
2949
+ },
2950
+ "name": {
2951
+ "type": "string",
2952
+ "nullable": true
2953
+ },
2954
+ "deleted": {
2955
+ "type": "string",
2956
+ "format": "date-time",
2957
+ "nullable": true
2958
+ }
2959
+ },
2960
+ "additionalProperties": false
2961
+ },
2962
+ "SmartService.Common.Results.IdNameResult`1[[System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": {
2963
+ "type": "object",
2964
+ "properties": {
2965
+ "id": {
2966
+ "type": "integer",
2967
+ "format": "int32"
2968
+ },
2969
+ "name": {
2970
+ "type": "string",
2971
+ "nullable": true
2972
+ }
2973
+ },
2974
+ "additionalProperties": false
2975
+ }
2976
+ }
2977
+ }
2978
+ }