@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.
- package/.env.example +54 -0
- package/CONNECTING.md +260 -0
- package/README.md +266 -0
- package/dist/auth.js +226 -0
- package/dist/config.js +120 -0
- package/dist/generated/manifest.js +3643 -0
- package/dist/guides/field-notes.json +27 -0
- package/dist/guides/loader.js +32 -0
- package/dist/guides/service-map.js +6 -0
- package/dist/http.js +93 -0
- package/dist/index/store.js +134 -0
- package/dist/index/types.js +1 -0
- package/dist/index.js +20 -0
- package/dist/paths.js +20 -0
- package/dist/pii/fields.js +100 -0
- package/dist/pii/mask.js +50 -0
- package/dist/pii/strategies.js +88 -0
- package/dist/schema/build-index.js +67 -0
- package/dist/schema/deref.js +87 -0
- package/dist/schema/describe.js +65 -0
- package/dist/server.js +62 -0
- package/dist/token-prompt.js +41 -0
- package/dist/tools/curated.js +151 -0
- package/dist/tools/discovery.js +187 -0
- package/dist/tools/guides.js +126 -0
- package/dist/tools/registry.js +37 -0
- package/dist/tools/request.js +170 -0
- package/dist/tools/types.js +1 -0
- package/docs/guides/assets.md +334 -0
- package/docs/guides/attributes.md +125 -0
- package/docs/guides/checklisttemplates.md +154 -0
- package/docs/guides/companies.md +57 -0
- package/docs/guides/dictionaries.md +64 -0
- package/docs/guides/lifecycle.md +263 -0
- package/docs/guides/materials.md +135 -0
- package/docs/guides/notifications.md +184 -0
- package/docs/guides/roles.md +125 -0
- package/docs/guides/sla.md +130 -0
- package/docs/guides/start.md +67 -0
- package/docs/guides/taskchecklists.md +149 -0
- package/docs/guides/taskcreate.md +260 -0
- package/docs/guides/taskedit.md +277 -0
- package/docs/guides/tasktypes.md +156 -0
- package/docs/guides/users.md +71 -0
- package/generated/index.dev.json +18776 -0
- package/generated/index.prod.json +18858 -0
- package/package.json +48 -0
- package/swagger/dev/ADM.json +27777 -0
- package/swagger/dev/AUTH.json +1739 -0
- package/swagger/dev/AUTHN.json +1250 -0
- package/swagger/dev/AUTHZ.json +1404 -0
- package/swagger/dev/CM.json +309 -0
- package/swagger/dev/COMMON.json +6543 -0
- package/swagger/dev/ES.json +28029 -0
- package/swagger/dev/EXPORT.json +4575 -0
- package/swagger/dev/IMPORT.json +1479 -0
- package/swagger/dev/LIC.json +224 -0
- package/swagger/dev/MSG.json +7883 -0
- package/swagger/dev/NEWS.json +348 -0
- package/swagger/dev/PA.json +5981 -0
- package/swagger/dev/PMP.json +3196 -0
- package/swagger/dev/PROXY.json +416 -0
- package/swagger/dev/REPORT.json +3921 -0
- package/swagger/dev/SC.json +3771 -0
- package/swagger/dev/SLA.json +2837 -0
- package/swagger/dev/TSTG.json +4981 -0
- package/swagger/dev/UI.json +4720 -0
- package/swagger/dev/WH.json +16796 -0
- package/swagger/dev/WORK.json +36024 -0
- package/swagger/dev/WSP.json +1612 -0
- package/swagger/prod/ADM.json +27777 -0
- package/swagger/prod/AUTH.json +1308 -0
- package/swagger/prod/AUTHN.json +2710 -0
- package/swagger/prod/AUTHZ.json +896 -0
- package/swagger/prod/CM.json +162 -0
- package/swagger/prod/COMMON.json +4910 -0
- package/swagger/prod/ES.json +28029 -0
- package/swagger/prod/EXPORT.json +3091 -0
- package/swagger/prod/LIC.json +123 -0
- package/swagger/prod/MSG.json +6239 -0
- package/swagger/prod/NEWS.json +295 -0
- package/swagger/prod/PA.json +5123 -0
- package/swagger/prod/PMP.json +2978 -0
- package/swagger/prod/PROXY.json +250 -0
- package/swagger/prod/REPORT.json +3729 -0
- package/swagger/prod/SC.json +3771 -0
- package/swagger/prod/SLA.json +2201 -0
- package/swagger/prod/TSTG.json +4220 -0
- package/swagger/prod/UI.json +3879 -0
- package/swagger/prod/WH.json +16730 -0
- package/swagger/prod/WORK.json +35994 -0
- package/swagger/prod/WSP.json +1468 -0
|
@@ -0,0 +1,4910 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.1",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "API for managing common dictionaries in HubEx",
|
|
5
|
+
"description": "Common service offers various methods for managing common and auxiliary dictionaries.",
|
|
6
|
+
"contact": {
|
|
7
|
+
"name": "SmartService Backend Team",
|
|
8
|
+
"email": "fmbackend@melston.ru"
|
|
9
|
+
},
|
|
10
|
+
"version": "v1.0.0.0"
|
|
11
|
+
},
|
|
12
|
+
"paths": {
|
|
13
|
+
"/Applications": {
|
|
14
|
+
"get": {
|
|
15
|
+
"tags": [
|
|
16
|
+
"Applications"
|
|
17
|
+
],
|
|
18
|
+
"summary": "Возвращает список веток",
|
|
19
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ApplicationList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
20
|
+
"parameters": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Authorization",
|
|
23
|
+
"in": "header",
|
|
24
|
+
"description": "Bearer",
|
|
25
|
+
"required": true,
|
|
26
|
+
"schema": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Range",
|
|
32
|
+
"in": "header",
|
|
33
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
34
|
+
"schema": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "offset",
|
|
40
|
+
"in": "query",
|
|
41
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
42
|
+
"schema": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "fetch",
|
|
48
|
+
"in": "query",
|
|
49
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
50
|
+
"schema": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"responses": {
|
|
56
|
+
"200": {
|
|
57
|
+
"description": "OK",
|
|
58
|
+
"content": {
|
|
59
|
+
"text/plain": {
|
|
60
|
+
"schema": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"additionalProperties": {
|
|
63
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Application.ApplicationResult"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"application/json": {
|
|
68
|
+
"schema": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"additionalProperties": {
|
|
71
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Application.ApplicationResult"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"text/json": {
|
|
76
|
+
"schema": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"additionalProperties": {
|
|
79
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Application.ApplicationResult"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"401": {
|
|
86
|
+
"description": "Unauthorized"
|
|
87
|
+
},
|
|
88
|
+
"403": {
|
|
89
|
+
"description": "Forbidden"
|
|
90
|
+
},
|
|
91
|
+
"206": {
|
|
92
|
+
"description": "PartialContent",
|
|
93
|
+
"headers": {
|
|
94
|
+
"Content-Range": {
|
|
95
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
96
|
+
"schema": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"/Attachments/upload/fromForm": {
|
|
106
|
+
"post": {
|
|
107
|
+
"tags": [
|
|
108
|
+
"Attachments"
|
|
109
|
+
],
|
|
110
|
+
"summary": "Загружает файл на файловый сервер. Данные будут получены из формы.",
|
|
111
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentUpload**",
|
|
112
|
+
"parameters": [
|
|
113
|
+
{
|
|
114
|
+
"name": "Authorization",
|
|
115
|
+
"in": "header",
|
|
116
|
+
"description": "Bearer",
|
|
117
|
+
"required": true,
|
|
118
|
+
"schema": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"requestBody": {
|
|
124
|
+
"content": {
|
|
125
|
+
"multipart/form-data": {
|
|
126
|
+
"schema": {
|
|
127
|
+
"required": [
|
|
128
|
+
"File"
|
|
129
|
+
],
|
|
130
|
+
"type": "object",
|
|
131
|
+
"properties": {
|
|
132
|
+
"Description": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
},
|
|
135
|
+
"IsPublic": {
|
|
136
|
+
"type": "boolean"
|
|
137
|
+
},
|
|
138
|
+
"IsIgnorePossibleDuplication": {
|
|
139
|
+
"type": "boolean"
|
|
140
|
+
},
|
|
141
|
+
"Roles": {
|
|
142
|
+
"type": "array",
|
|
143
|
+
"items": {
|
|
144
|
+
"type": "integer",
|
|
145
|
+
"format": "int32"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"Coordinate": {
|
|
149
|
+
"type": "string"
|
|
150
|
+
},
|
|
151
|
+
"File": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"format": "binary"
|
|
154
|
+
},
|
|
155
|
+
"FileName": {
|
|
156
|
+
"type": "string"
|
|
157
|
+
},
|
|
158
|
+
"ContentType": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
},
|
|
161
|
+
"Uid": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"format": "uuid"
|
|
164
|
+
},
|
|
165
|
+
"ContentStream.CanRead": {
|
|
166
|
+
"type": "boolean"
|
|
167
|
+
},
|
|
168
|
+
"ContentStream.CanSeek": {
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"ContentStream.CanWrite": {
|
|
172
|
+
"type": "boolean"
|
|
173
|
+
},
|
|
174
|
+
"ContentStream.Capacity": {
|
|
175
|
+
"type": "integer",
|
|
176
|
+
"format": "int32"
|
|
177
|
+
},
|
|
178
|
+
"ContentStream.Length": {
|
|
179
|
+
"type": "integer",
|
|
180
|
+
"format": "int64"
|
|
181
|
+
},
|
|
182
|
+
"ContentStream.Position": {
|
|
183
|
+
"type": "integer",
|
|
184
|
+
"format": "int64"
|
|
185
|
+
},
|
|
186
|
+
"ContentStream.CanTimeout": {
|
|
187
|
+
"type": "boolean"
|
|
188
|
+
},
|
|
189
|
+
"ContentStream.ReadTimeout": {
|
|
190
|
+
"type": "integer",
|
|
191
|
+
"format": "int32"
|
|
192
|
+
},
|
|
193
|
+
"ContentStream.WriteTimeout": {
|
|
194
|
+
"type": "integer",
|
|
195
|
+
"format": "int32"
|
|
196
|
+
},
|
|
197
|
+
"Md5Hash": {
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
"ContentLength": {
|
|
201
|
+
"type": "integer",
|
|
202
|
+
"format": "int32"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"encoding": {
|
|
207
|
+
"Description": {
|
|
208
|
+
"style": "form"
|
|
209
|
+
},
|
|
210
|
+
"IsPublic": {
|
|
211
|
+
"style": "form"
|
|
212
|
+
},
|
|
213
|
+
"IsIgnorePossibleDuplication": {
|
|
214
|
+
"style": "form"
|
|
215
|
+
},
|
|
216
|
+
"Roles": {
|
|
217
|
+
"style": "form"
|
|
218
|
+
},
|
|
219
|
+
"Coordinate": {
|
|
220
|
+
"style": "form"
|
|
221
|
+
},
|
|
222
|
+
"File": {
|
|
223
|
+
"style": "form"
|
|
224
|
+
},
|
|
225
|
+
"FileName": {
|
|
226
|
+
"style": "form"
|
|
227
|
+
},
|
|
228
|
+
"ContentType": {
|
|
229
|
+
"style": "form"
|
|
230
|
+
},
|
|
231
|
+
"Uid": {
|
|
232
|
+
"style": "form"
|
|
233
|
+
},
|
|
234
|
+
"ContentStream.CanRead": {
|
|
235
|
+
"style": "form"
|
|
236
|
+
},
|
|
237
|
+
"ContentStream.CanSeek": {
|
|
238
|
+
"style": "form"
|
|
239
|
+
},
|
|
240
|
+
"ContentStream.CanWrite": {
|
|
241
|
+
"style": "form"
|
|
242
|
+
},
|
|
243
|
+
"ContentStream.Capacity": {
|
|
244
|
+
"style": "form"
|
|
245
|
+
},
|
|
246
|
+
"ContentStream.Length": {
|
|
247
|
+
"style": "form"
|
|
248
|
+
},
|
|
249
|
+
"ContentStream.Position": {
|
|
250
|
+
"style": "form"
|
|
251
|
+
},
|
|
252
|
+
"ContentStream.CanTimeout": {
|
|
253
|
+
"style": "form"
|
|
254
|
+
},
|
|
255
|
+
"ContentStream.ReadTimeout": {
|
|
256
|
+
"style": "form"
|
|
257
|
+
},
|
|
258
|
+
"ContentStream.WriteTimeout": {
|
|
259
|
+
"style": "form"
|
|
260
|
+
},
|
|
261
|
+
"Md5Hash": {
|
|
262
|
+
"style": "form"
|
|
263
|
+
},
|
|
264
|
+
"ContentLength": {
|
|
265
|
+
"style": "form"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"responses": {
|
|
272
|
+
"201": {
|
|
273
|
+
"description": "Created",
|
|
274
|
+
"content": {
|
|
275
|
+
"text/plain": {
|
|
276
|
+
"schema": {
|
|
277
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.UploadResult"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"application/json": {
|
|
281
|
+
"schema": {
|
|
282
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.UploadResult"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"text/json": {
|
|
286
|
+
"schema": {
|
|
287
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.UploadResult"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"500": {
|
|
293
|
+
"description": "Internal Server Error",
|
|
294
|
+
"content": {
|
|
295
|
+
"text/plain": {
|
|
296
|
+
"schema": {
|
|
297
|
+
"type": "array",
|
|
298
|
+
"items": {
|
|
299
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"application/json": {
|
|
304
|
+
"schema": {
|
|
305
|
+
"type": "array",
|
|
306
|
+
"items": {
|
|
307
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"text/json": {
|
|
312
|
+
"schema": {
|
|
313
|
+
"type": "array",
|
|
314
|
+
"items": {
|
|
315
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"401": {
|
|
322
|
+
"description": "Unauthorized"
|
|
323
|
+
},
|
|
324
|
+
"403": {
|
|
325
|
+
"description": "Forbidden"
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"/Attachments/v2/upload/fromForm": {
|
|
331
|
+
"post": {
|
|
332
|
+
"tags": [
|
|
333
|
+
"Attachments"
|
|
334
|
+
],
|
|
335
|
+
"summary": "Загружает несколько файлов на файловый сервер. Данные будут получены из формы.",
|
|
336
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentUpload**",
|
|
337
|
+
"parameters": [
|
|
338
|
+
{
|
|
339
|
+
"name": "Authorization",
|
|
340
|
+
"in": "header",
|
|
341
|
+
"description": "Bearer",
|
|
342
|
+
"required": true,
|
|
343
|
+
"schema": {
|
|
344
|
+
"type": "string"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"requestBody": {
|
|
349
|
+
"content": {
|
|
350
|
+
"multipart/form-data": {
|
|
351
|
+
"schema": {
|
|
352
|
+
"type": "object",
|
|
353
|
+
"properties": {
|
|
354
|
+
"Attachments": {
|
|
355
|
+
"type": "array",
|
|
356
|
+
"items": {
|
|
357
|
+
"$ref": "#/components/schemas/HubEx.Service.Common.AspNetCore.Data.Attachments.FromFormUploadData"
|
|
358
|
+
},
|
|
359
|
+
"description": "Данные загружаемого файла, полученные из формы"
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"encoding": {
|
|
364
|
+
"Attachments": {
|
|
365
|
+
"style": "form"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"responses": {
|
|
372
|
+
"201": {
|
|
373
|
+
"description": "Created",
|
|
374
|
+
"content": {
|
|
375
|
+
"text/plain": {
|
|
376
|
+
"schema": {
|
|
377
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.UploadResult"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"application/json": {
|
|
381
|
+
"schema": {
|
|
382
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.UploadResult"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"text/json": {
|
|
386
|
+
"schema": {
|
|
387
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.UploadResult"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"500": {
|
|
393
|
+
"description": "Internal Server Error",
|
|
394
|
+
"content": {
|
|
395
|
+
"text/plain": {
|
|
396
|
+
"schema": {
|
|
397
|
+
"type": "array",
|
|
398
|
+
"items": {
|
|
399
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"application/json": {
|
|
404
|
+
"schema": {
|
|
405
|
+
"type": "array",
|
|
406
|
+
"items": {
|
|
407
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"text/json": {
|
|
412
|
+
"schema": {
|
|
413
|
+
"type": "array",
|
|
414
|
+
"items": {
|
|
415
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"401": {
|
|
422
|
+
"description": "Unauthorized"
|
|
423
|
+
},
|
|
424
|
+
"403": {
|
|
425
|
+
"description": "Forbidden"
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"/Attachments/upload/fromBody": {
|
|
431
|
+
"post": {
|
|
432
|
+
"tags": [
|
|
433
|
+
"Attachments"
|
|
434
|
+
],
|
|
435
|
+
"summary": "Загружает файл на файловый сервер. Данные будут получены из тела запроса.",
|
|
436
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentUpload**",
|
|
437
|
+
"parameters": [
|
|
438
|
+
{
|
|
439
|
+
"name": "Authorization",
|
|
440
|
+
"in": "header",
|
|
441
|
+
"description": "Bearer",
|
|
442
|
+
"required": true,
|
|
443
|
+
"schema": {
|
|
444
|
+
"type": "string"
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"requestBody": {
|
|
449
|
+
"content": {
|
|
450
|
+
"application/json-patch+json": {
|
|
451
|
+
"schema": {
|
|
452
|
+
"$ref": "#/components/schemas/HubEx.Service.Common.AspNetCore.Data.Attachments.FromBodyUploadData"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"application/json": {
|
|
456
|
+
"schema": {
|
|
457
|
+
"$ref": "#/components/schemas/HubEx.Service.Common.AspNetCore.Data.Attachments.FromBodyUploadData"
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"text/json": {
|
|
461
|
+
"schema": {
|
|
462
|
+
"$ref": "#/components/schemas/HubEx.Service.Common.AspNetCore.Data.Attachments.FromBodyUploadData"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"application/*+json": {
|
|
466
|
+
"schema": {
|
|
467
|
+
"$ref": "#/components/schemas/HubEx.Service.Common.AspNetCore.Data.Attachments.FromBodyUploadData"
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"responses": {
|
|
473
|
+
"201": {
|
|
474
|
+
"description": "Created",
|
|
475
|
+
"content": {
|
|
476
|
+
"text/plain": {
|
|
477
|
+
"schema": {
|
|
478
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.UploadResult"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"application/json": {
|
|
482
|
+
"schema": {
|
|
483
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.UploadResult"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"text/json": {
|
|
487
|
+
"schema": {
|
|
488
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.UploadResult"
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"500": {
|
|
494
|
+
"description": "Internal Server Error",
|
|
495
|
+
"content": {
|
|
496
|
+
"text/plain": {
|
|
497
|
+
"schema": {
|
|
498
|
+
"type": "array",
|
|
499
|
+
"items": {
|
|
500
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"application/json": {
|
|
505
|
+
"schema": {
|
|
506
|
+
"type": "array",
|
|
507
|
+
"items": {
|
|
508
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"text/json": {
|
|
513
|
+
"schema": {
|
|
514
|
+
"type": "array",
|
|
515
|
+
"items": {
|
|
516
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"401": {
|
|
523
|
+
"description": "Unauthorized"
|
|
524
|
+
},
|
|
525
|
+
"403": {
|
|
526
|
+
"description": "Forbidden"
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"/Attachments/{attachmentID}": {
|
|
532
|
+
"get": {
|
|
533
|
+
"tags": [
|
|
534
|
+
"Attachments"
|
|
535
|
+
],
|
|
536
|
+
"summary": "Возвращает TemporartRedirect на временную ссылку для скачки файла",
|
|
537
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentDownload**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
538
|
+
"parameters": [
|
|
539
|
+
{
|
|
540
|
+
"name": "attachmentID",
|
|
541
|
+
"in": "path",
|
|
542
|
+
"description": "Идентификатор вложения",
|
|
543
|
+
"required": true,
|
|
544
|
+
"schema": {
|
|
545
|
+
"type": "integer",
|
|
546
|
+
"format": "int32"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "thumbnailSize",
|
|
551
|
+
"in": "query",
|
|
552
|
+
"description": "Размер эскиза (будет возвращен ближайший больший эскиз и доступных)",
|
|
553
|
+
"schema": {
|
|
554
|
+
"type": "integer",
|
|
555
|
+
"format": "int32"
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "noRedirect",
|
|
560
|
+
"in": "query",
|
|
561
|
+
"description": "Признак указывающий на то, что ссылку на файл необходимо передать в теле ответа на запрос",
|
|
562
|
+
"schema": {
|
|
563
|
+
"type": "boolean"
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "Authorization",
|
|
568
|
+
"in": "header",
|
|
569
|
+
"description": "Bearer",
|
|
570
|
+
"required": true,
|
|
571
|
+
"schema": {
|
|
572
|
+
"type": "string"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "Range",
|
|
577
|
+
"in": "header",
|
|
578
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
579
|
+
"schema": {
|
|
580
|
+
"type": "string"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "offset",
|
|
585
|
+
"in": "query",
|
|
586
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
587
|
+
"schema": {
|
|
588
|
+
"type": "string"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "fetch",
|
|
593
|
+
"in": "query",
|
|
594
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
595
|
+
"schema": {
|
|
596
|
+
"type": "string"
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"responses": {
|
|
601
|
+
"307": {
|
|
602
|
+
"description": "Temporary Redirect"
|
|
603
|
+
},
|
|
604
|
+
"500": {
|
|
605
|
+
"description": "Internal Server Error",
|
|
606
|
+
"content": {
|
|
607
|
+
"text/plain": {
|
|
608
|
+
"schema": {
|
|
609
|
+
"type": "array",
|
|
610
|
+
"items": {
|
|
611
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"application/json": {
|
|
616
|
+
"schema": {
|
|
617
|
+
"type": "array",
|
|
618
|
+
"items": {
|
|
619
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
"text/json": {
|
|
624
|
+
"schema": {
|
|
625
|
+
"type": "array",
|
|
626
|
+
"items": {
|
|
627
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"401": {
|
|
634
|
+
"description": "Unauthorized"
|
|
635
|
+
},
|
|
636
|
+
"403": {
|
|
637
|
+
"description": "Forbidden"
|
|
638
|
+
},
|
|
639
|
+
"206": {
|
|
640
|
+
"description": "PartialContent",
|
|
641
|
+
"headers": {
|
|
642
|
+
"Content-Range": {
|
|
643
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
644
|
+
"schema": {
|
|
645
|
+
"type": "string"
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
"delete": {
|
|
653
|
+
"tags": [
|
|
654
|
+
"Attachments"
|
|
655
|
+
],
|
|
656
|
+
"summary": "Помечает вложение и все связи как удаленные",
|
|
657
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentDelete**",
|
|
658
|
+
"parameters": [
|
|
659
|
+
{
|
|
660
|
+
"name": "attachmentID",
|
|
661
|
+
"in": "path",
|
|
662
|
+
"required": true,
|
|
663
|
+
"schema": {
|
|
664
|
+
"type": "integer",
|
|
665
|
+
"format": "int32"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "Authorization",
|
|
670
|
+
"in": "header",
|
|
671
|
+
"description": "Bearer",
|
|
672
|
+
"required": true,
|
|
673
|
+
"schema": {
|
|
674
|
+
"type": "string"
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
],
|
|
678
|
+
"responses": {
|
|
679
|
+
"202": {
|
|
680
|
+
"description": "Accepted"
|
|
681
|
+
},
|
|
682
|
+
"500": {
|
|
683
|
+
"description": "Internal Server Error",
|
|
684
|
+
"content": {
|
|
685
|
+
"text/plain": {
|
|
686
|
+
"schema": {
|
|
687
|
+
"type": "array",
|
|
688
|
+
"items": {
|
|
689
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
"application/json": {
|
|
694
|
+
"schema": {
|
|
695
|
+
"type": "array",
|
|
696
|
+
"items": {
|
|
697
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
"text/json": {
|
|
702
|
+
"schema": {
|
|
703
|
+
"type": "array",
|
|
704
|
+
"items": {
|
|
705
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
"401": {
|
|
712
|
+
"description": "Unauthorized"
|
|
713
|
+
},
|
|
714
|
+
"403": {
|
|
715
|
+
"description": "Forbidden"
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"/Attachments/content/{container}/{filePath}": {
|
|
721
|
+
"get": {
|
|
722
|
+
"tags": [
|
|
723
|
+
"Attachments"
|
|
724
|
+
],
|
|
725
|
+
"description": "<br />* Выполнение данного метода резрешино от **анонимного пользователя**.",
|
|
726
|
+
"parameters": [
|
|
727
|
+
{
|
|
728
|
+
"name": "filePath",
|
|
729
|
+
"in": "path",
|
|
730
|
+
"required": true,
|
|
731
|
+
"schema": {
|
|
732
|
+
"type": "string"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "temp_url_sig",
|
|
737
|
+
"in": "query",
|
|
738
|
+
"schema": {
|
|
739
|
+
"type": "string"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "temp_url_expires",
|
|
744
|
+
"in": "query",
|
|
745
|
+
"schema": {
|
|
746
|
+
"type": "integer",
|
|
747
|
+
"format": "int64"
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "filename",
|
|
752
|
+
"in": "query",
|
|
753
|
+
"schema": {
|
|
754
|
+
"type": "string"
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"name": "container",
|
|
759
|
+
"in": "path",
|
|
760
|
+
"required": true,
|
|
761
|
+
"schema": {
|
|
762
|
+
"type": "string"
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
],
|
|
766
|
+
"responses": {
|
|
767
|
+
"200": {
|
|
768
|
+
"description": "OK"
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"/Attachments": {
|
|
774
|
+
"delete": {
|
|
775
|
+
"tags": [
|
|
776
|
+
"Attachments"
|
|
777
|
+
],
|
|
778
|
+
"summary": "Помечает вложения и все связи как удаленные",
|
|
779
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentDelete**",
|
|
780
|
+
"parameters": [
|
|
781
|
+
{
|
|
782
|
+
"name": "Authorization",
|
|
783
|
+
"in": "header",
|
|
784
|
+
"description": "Bearer",
|
|
785
|
+
"required": true,
|
|
786
|
+
"schema": {
|
|
787
|
+
"type": "string"
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
],
|
|
791
|
+
"requestBody": {
|
|
792
|
+
"content": {
|
|
793
|
+
"application/json-patch+json": {
|
|
794
|
+
"schema": {
|
|
795
|
+
"type": "array",
|
|
796
|
+
"items": {
|
|
797
|
+
"type": "integer",
|
|
798
|
+
"format": "int32"
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"application/json": {
|
|
803
|
+
"schema": {
|
|
804
|
+
"type": "array",
|
|
805
|
+
"items": {
|
|
806
|
+
"type": "integer",
|
|
807
|
+
"format": "int32"
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
"text/json": {
|
|
812
|
+
"schema": {
|
|
813
|
+
"type": "array",
|
|
814
|
+
"items": {
|
|
815
|
+
"type": "integer",
|
|
816
|
+
"format": "int32"
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"application/*+json": {
|
|
821
|
+
"schema": {
|
|
822
|
+
"type": "array",
|
|
823
|
+
"items": {
|
|
824
|
+
"type": "integer",
|
|
825
|
+
"format": "int32"
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
"responses": {
|
|
832
|
+
"202": {
|
|
833
|
+
"description": "Accepted"
|
|
834
|
+
},
|
|
835
|
+
"500": {
|
|
836
|
+
"description": "Internal Server Error",
|
|
837
|
+
"content": {
|
|
838
|
+
"text/plain": {
|
|
839
|
+
"schema": {
|
|
840
|
+
"type": "array",
|
|
841
|
+
"items": {
|
|
842
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
"application/json": {
|
|
847
|
+
"schema": {
|
|
848
|
+
"type": "array",
|
|
849
|
+
"items": {
|
|
850
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
"text/json": {
|
|
855
|
+
"schema": {
|
|
856
|
+
"type": "array",
|
|
857
|
+
"items": {
|
|
858
|
+
"$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"401": {
|
|
865
|
+
"description": "Unauthorized"
|
|
866
|
+
},
|
|
867
|
+
"403": {
|
|
868
|
+
"description": "Forbidden"
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
"get": {
|
|
873
|
+
"tags": [
|
|
874
|
+
"Attachments"
|
|
875
|
+
],
|
|
876
|
+
"summary": "Список вложенных файлов, доступных пользователю",
|
|
877
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentsList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
878
|
+
"parameters": [
|
|
879
|
+
{
|
|
880
|
+
"name": "Authorization",
|
|
881
|
+
"in": "header",
|
|
882
|
+
"description": "Bearer",
|
|
883
|
+
"required": true,
|
|
884
|
+
"schema": {
|
|
885
|
+
"type": "string"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"name": "Range",
|
|
890
|
+
"in": "header",
|
|
891
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
892
|
+
"schema": {
|
|
893
|
+
"type": "string"
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"name": "offset",
|
|
898
|
+
"in": "query",
|
|
899
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
900
|
+
"schema": {
|
|
901
|
+
"type": "string"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "fetch",
|
|
906
|
+
"in": "query",
|
|
907
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
908
|
+
"schema": {
|
|
909
|
+
"type": "string"
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "assetID",
|
|
914
|
+
"in": "query",
|
|
915
|
+
"description": "Список идентификаторов объектов, по которым будет производиться фильтрация выборки",
|
|
916
|
+
"schema": {
|
|
917
|
+
"type": "int32",
|
|
918
|
+
"default": null
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"name": "taskID",
|
|
923
|
+
"in": "query",
|
|
924
|
+
"description": "Список идентификаторов заявок, по которым будет производиться фильтрация выборки",
|
|
925
|
+
"schema": {
|
|
926
|
+
"type": "int32",
|
|
927
|
+
"default": null
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"name": "assetTemplateID",
|
|
932
|
+
"in": "query",
|
|
933
|
+
"description": "Список идентификаторов шаблонных объектов, по которым будет производиться фильтрация выборки",
|
|
934
|
+
"schema": {
|
|
935
|
+
"type": "int32",
|
|
936
|
+
"default": null
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"name": "attachmentID",
|
|
941
|
+
"in": "query",
|
|
942
|
+
"description": "Список идентификаторов прикрепленных файлов, по которым будет производиться фильтрация выборки",
|
|
943
|
+
"schema": {
|
|
944
|
+
"type": "int32",
|
|
945
|
+
"default": null
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "isDeleted",
|
|
950
|
+
"in": "query",
|
|
951
|
+
"description": "Если true, результат будет содержать только удаленные файлы, если false - только неудаленные",
|
|
952
|
+
"schema": {
|
|
953
|
+
"enum": [
|
|
954
|
+
"true",
|
|
955
|
+
"false"
|
|
956
|
+
],
|
|
957
|
+
"type": "boolean",
|
|
958
|
+
"default": null
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
],
|
|
962
|
+
"responses": {
|
|
963
|
+
"200": {
|
|
964
|
+
"description": "OK",
|
|
965
|
+
"content": {
|
|
966
|
+
"text/plain": {
|
|
967
|
+
"schema": {
|
|
968
|
+
"type": "object",
|
|
969
|
+
"additionalProperties": {
|
|
970
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.ListResult"
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
},
|
|
974
|
+
"application/json": {
|
|
975
|
+
"schema": {
|
|
976
|
+
"type": "object",
|
|
977
|
+
"additionalProperties": {
|
|
978
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.ListResult"
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
"text/json": {
|
|
983
|
+
"schema": {
|
|
984
|
+
"type": "object",
|
|
985
|
+
"additionalProperties": {
|
|
986
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.ListResult"
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
"401": {
|
|
993
|
+
"description": "Unauthorized"
|
|
994
|
+
},
|
|
995
|
+
"403": {
|
|
996
|
+
"description": "Forbidden"
|
|
997
|
+
},
|
|
998
|
+
"206": {
|
|
999
|
+
"description": "PartialContent",
|
|
1000
|
+
"headers": {
|
|
1001
|
+
"Content-Range": {
|
|
1002
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
1003
|
+
"schema": {
|
|
1004
|
+
"type": "string"
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
"/Attachments/{attachmentID}/this": {
|
|
1013
|
+
"get": {
|
|
1014
|
+
"tags": [
|
|
1015
|
+
"Attachments"
|
|
1016
|
+
],
|
|
1017
|
+
"summary": "Метод получения данных вложения",
|
|
1018
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentsList**",
|
|
1019
|
+
"parameters": [
|
|
1020
|
+
{
|
|
1021
|
+
"name": "attachmentID",
|
|
1022
|
+
"in": "path",
|
|
1023
|
+
"required": true,
|
|
1024
|
+
"schema": {
|
|
1025
|
+
"type": "integer",
|
|
1026
|
+
"format": "int32"
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"name": "Authorization",
|
|
1031
|
+
"in": "header",
|
|
1032
|
+
"description": "Bearer",
|
|
1033
|
+
"required": true,
|
|
1034
|
+
"schema": {
|
|
1035
|
+
"type": "string"
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
],
|
|
1039
|
+
"responses": {
|
|
1040
|
+
"200": {
|
|
1041
|
+
"description": "OK",
|
|
1042
|
+
"content": {
|
|
1043
|
+
"text/plain": {
|
|
1044
|
+
"schema": {
|
|
1045
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.GetResult"
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
"application/json": {
|
|
1049
|
+
"schema": {
|
|
1050
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.GetResult"
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
"text/json": {
|
|
1054
|
+
"schema": {
|
|
1055
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.GetResult"
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
"401": {
|
|
1061
|
+
"description": "Unauthorized"
|
|
1062
|
+
},
|
|
1063
|
+
"403": {
|
|
1064
|
+
"description": "Forbidden"
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"/Attachments/{attachmentID}/publish": {
|
|
1070
|
+
"post": {
|
|
1071
|
+
"tags": [
|
|
1072
|
+
"Attachments"
|
|
1073
|
+
],
|
|
1074
|
+
"summary": "Метод публикации файла для ообщего доступа",
|
|
1075
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentPublish**",
|
|
1076
|
+
"parameters": [
|
|
1077
|
+
{
|
|
1078
|
+
"name": "attachmentID",
|
|
1079
|
+
"in": "path",
|
|
1080
|
+
"required": true,
|
|
1081
|
+
"schema": {
|
|
1082
|
+
"type": "integer",
|
|
1083
|
+
"format": "int32"
|
|
1084
|
+
}
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"name": "Authorization",
|
|
1088
|
+
"in": "header",
|
|
1089
|
+
"description": "Bearer",
|
|
1090
|
+
"required": true,
|
|
1091
|
+
"schema": {
|
|
1092
|
+
"type": "string"
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
],
|
|
1096
|
+
"responses": {
|
|
1097
|
+
"202": {
|
|
1098
|
+
"description": "Accepted",
|
|
1099
|
+
"content": {
|
|
1100
|
+
"text/plain": {
|
|
1101
|
+
"schema": {
|
|
1102
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.PublishResult"
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
"application/json": {
|
|
1106
|
+
"schema": {
|
|
1107
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.PublishResult"
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
"text/json": {
|
|
1111
|
+
"schema": {
|
|
1112
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attachments.PublishResult"
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
"401": {
|
|
1118
|
+
"description": "Unauthorized"
|
|
1119
|
+
},
|
|
1120
|
+
"403": {
|
|
1121
|
+
"description": "Forbidden"
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
"/Attachments/{attachmentID}/unpublish": {
|
|
1127
|
+
"post": {
|
|
1128
|
+
"tags": [
|
|
1129
|
+
"Attachments"
|
|
1130
|
+
],
|
|
1131
|
+
"summary": "Метод публикации файла для ообщего доступа",
|
|
1132
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentPublish**",
|
|
1133
|
+
"parameters": [
|
|
1134
|
+
{
|
|
1135
|
+
"name": "attachmentID",
|
|
1136
|
+
"in": "path",
|
|
1137
|
+
"required": true,
|
|
1138
|
+
"schema": {
|
|
1139
|
+
"type": "integer",
|
|
1140
|
+
"format": "int32"
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"name": "Authorization",
|
|
1145
|
+
"in": "header",
|
|
1146
|
+
"description": "Bearer",
|
|
1147
|
+
"required": true,
|
|
1148
|
+
"schema": {
|
|
1149
|
+
"type": "string"
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
],
|
|
1153
|
+
"responses": {
|
|
1154
|
+
"202": {
|
|
1155
|
+
"description": "Accepted"
|
|
1156
|
+
},
|
|
1157
|
+
"401": {
|
|
1158
|
+
"description": "Unauthorized"
|
|
1159
|
+
},
|
|
1160
|
+
"403": {
|
|
1161
|
+
"description": "Forbidden"
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
"/Attachments/downloadLink": {
|
|
1167
|
+
"get": {
|
|
1168
|
+
"tags": [
|
|
1169
|
+
"Attachments"
|
|
1170
|
+
],
|
|
1171
|
+
"summary": "Получить URL и список необходимых данных, для возможности скачивания архива с файлами для заявок (не более 100)",
|
|
1172
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttachmentsList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
1173
|
+
"parameters": [
|
|
1174
|
+
{
|
|
1175
|
+
"name": "Authorization",
|
|
1176
|
+
"in": "header",
|
|
1177
|
+
"description": "Bearer",
|
|
1178
|
+
"required": true,
|
|
1179
|
+
"schema": {
|
|
1180
|
+
"type": "string"
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"name": "Range",
|
|
1185
|
+
"in": "header",
|
|
1186
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
1187
|
+
"schema": {
|
|
1188
|
+
"type": "string"
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"name": "offset",
|
|
1193
|
+
"in": "query",
|
|
1194
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
1195
|
+
"schema": {
|
|
1196
|
+
"type": "string"
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"name": "fetch",
|
|
1201
|
+
"in": "query",
|
|
1202
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
1203
|
+
"schema": {
|
|
1204
|
+
"type": "string"
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": "taskID",
|
|
1209
|
+
"in": "query",
|
|
1210
|
+
"description": "Список идентификаторов заявок, по которым будет производиться фильтрация выборки",
|
|
1211
|
+
"schema": {
|
|
1212
|
+
"type": "int32",
|
|
1213
|
+
"default": null
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"name": "isDeleted",
|
|
1218
|
+
"in": "query",
|
|
1219
|
+
"description": "Признак удаления контакта",
|
|
1220
|
+
"schema": {
|
|
1221
|
+
"enum": [
|
|
1222
|
+
"true",
|
|
1223
|
+
"false"
|
|
1224
|
+
],
|
|
1225
|
+
"type": "boolean",
|
|
1226
|
+
"default": null
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
],
|
|
1230
|
+
"responses": {
|
|
1231
|
+
"200": {
|
|
1232
|
+
"description": "OK",
|
|
1233
|
+
"content": {
|
|
1234
|
+
"text/plain": {
|
|
1235
|
+
"schema": {
|
|
1236
|
+
"$ref": "#/components/schemas/SmartService.Common.FileStorage.Result.DownloadLinkResult"
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
"application/json": {
|
|
1240
|
+
"schema": {
|
|
1241
|
+
"$ref": "#/components/schemas/SmartService.Common.FileStorage.Result.DownloadLinkResult"
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1244
|
+
"text/json": {
|
|
1245
|
+
"schema": {
|
|
1246
|
+
"$ref": "#/components/schemas/SmartService.Common.FileStorage.Result.DownloadLinkResult"
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
"401": {
|
|
1252
|
+
"description": "Unauthorized"
|
|
1253
|
+
},
|
|
1254
|
+
"403": {
|
|
1255
|
+
"description": "Forbidden"
|
|
1256
|
+
},
|
|
1257
|
+
"206": {
|
|
1258
|
+
"description": "PartialContent",
|
|
1259
|
+
"headers": {
|
|
1260
|
+
"Content-Range": {
|
|
1261
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
1262
|
+
"schema": {
|
|
1263
|
+
"type": "string"
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
"/Attachments/{attachmentID}/roles": {
|
|
1272
|
+
"get": {
|
|
1273
|
+
"tags": [
|
|
1274
|
+
"Attachments"
|
|
1275
|
+
],
|
|
1276
|
+
"summary": "Возвращает список ролей, для которых эксклюзивно доступен вложенный файл",
|
|
1277
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **RoleAttachmentsList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
1278
|
+
"parameters": [
|
|
1279
|
+
{
|
|
1280
|
+
"name": "attachmentID",
|
|
1281
|
+
"in": "path",
|
|
1282
|
+
"required": true,
|
|
1283
|
+
"schema": {
|
|
1284
|
+
"type": "integer",
|
|
1285
|
+
"format": "int32"
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"name": "Authorization",
|
|
1290
|
+
"in": "header",
|
|
1291
|
+
"description": "Bearer",
|
|
1292
|
+
"required": true,
|
|
1293
|
+
"schema": {
|
|
1294
|
+
"type": "string"
|
|
1295
|
+
}
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"name": "Range",
|
|
1299
|
+
"in": "header",
|
|
1300
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
1301
|
+
"schema": {
|
|
1302
|
+
"type": "string"
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"name": "offset",
|
|
1307
|
+
"in": "query",
|
|
1308
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
1309
|
+
"schema": {
|
|
1310
|
+
"type": "string"
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"name": "fetch",
|
|
1315
|
+
"in": "query",
|
|
1316
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
1317
|
+
"schema": {
|
|
1318
|
+
"type": "string"
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
],
|
|
1322
|
+
"responses": {
|
|
1323
|
+
"200": {
|
|
1324
|
+
"description": "OK",
|
|
1325
|
+
"content": {
|
|
1326
|
+
"text/plain": {
|
|
1327
|
+
"schema": {
|
|
1328
|
+
"type": "object",
|
|
1329
|
+
"additionalProperties": {
|
|
1330
|
+
"type": "string"
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
"application/json": {
|
|
1335
|
+
"schema": {
|
|
1336
|
+
"type": "object",
|
|
1337
|
+
"additionalProperties": {
|
|
1338
|
+
"type": "string"
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
"text/json": {
|
|
1343
|
+
"schema": {
|
|
1344
|
+
"type": "object",
|
|
1345
|
+
"additionalProperties": {
|
|
1346
|
+
"type": "string"
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
"401": {
|
|
1353
|
+
"description": "Unauthorized"
|
|
1354
|
+
},
|
|
1355
|
+
"403": {
|
|
1356
|
+
"description": "Forbidden"
|
|
1357
|
+
},
|
|
1358
|
+
"206": {
|
|
1359
|
+
"description": "PartialContent",
|
|
1360
|
+
"headers": {
|
|
1361
|
+
"Content-Range": {
|
|
1362
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
1363
|
+
"schema": {
|
|
1364
|
+
"type": "string"
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
"/AttributeListOfValues": {
|
|
1373
|
+
"post": {
|
|
1374
|
+
"tags": [
|
|
1375
|
+
"AttributeListOfValues"
|
|
1376
|
+
],
|
|
1377
|
+
"summary": "Метод сохранения списка допустимых значений",
|
|
1378
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeListOfValueMerge**",
|
|
1379
|
+
"parameters": [
|
|
1380
|
+
{
|
|
1381
|
+
"name": "Authorization",
|
|
1382
|
+
"in": "header",
|
|
1383
|
+
"description": "Bearer",
|
|
1384
|
+
"required": true,
|
|
1385
|
+
"schema": {
|
|
1386
|
+
"type": "string"
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
],
|
|
1390
|
+
"requestBody": {
|
|
1391
|
+
"content": {
|
|
1392
|
+
"application/json-patch+json": {
|
|
1393
|
+
"schema": {
|
|
1394
|
+
"type": "array",
|
|
1395
|
+
"items": {
|
|
1396
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.AttributeListOfValue.MergeData"
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
"application/json": {
|
|
1401
|
+
"schema": {
|
|
1402
|
+
"type": "array",
|
|
1403
|
+
"items": {
|
|
1404
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.AttributeListOfValue.MergeData"
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
"text/json": {
|
|
1409
|
+
"schema": {
|
|
1410
|
+
"type": "array",
|
|
1411
|
+
"items": {
|
|
1412
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.AttributeListOfValue.MergeData"
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
"application/*+json": {
|
|
1417
|
+
"schema": {
|
|
1418
|
+
"type": "array",
|
|
1419
|
+
"items": {
|
|
1420
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.AttributeListOfValue.MergeData"
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
},
|
|
1426
|
+
"responses": {
|
|
1427
|
+
"202": {
|
|
1428
|
+
"description": "Accepted"
|
|
1429
|
+
},
|
|
1430
|
+
"401": {
|
|
1431
|
+
"description": "Unauthorized"
|
|
1432
|
+
},
|
|
1433
|
+
"403": {
|
|
1434
|
+
"description": "Forbidden"
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
"/Attributes/{attributeID}": {
|
|
1440
|
+
"get": {
|
|
1441
|
+
"tags": [
|
|
1442
|
+
"Attributes"
|
|
1443
|
+
],
|
|
1444
|
+
"summary": "Метод получения данных атрибута",
|
|
1445
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeGet**",
|
|
1446
|
+
"parameters": [
|
|
1447
|
+
{
|
|
1448
|
+
"name": "attributeID",
|
|
1449
|
+
"in": "path",
|
|
1450
|
+
"required": true,
|
|
1451
|
+
"schema": {
|
|
1452
|
+
"type": "integer",
|
|
1453
|
+
"format": "int32"
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"name": "Authorization",
|
|
1458
|
+
"in": "header",
|
|
1459
|
+
"description": "Bearer",
|
|
1460
|
+
"required": true,
|
|
1461
|
+
"schema": {
|
|
1462
|
+
"type": "string"
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
],
|
|
1466
|
+
"responses": {
|
|
1467
|
+
"200": {
|
|
1468
|
+
"description": "OK",
|
|
1469
|
+
"content": {
|
|
1470
|
+
"text/plain": {
|
|
1471
|
+
"schema": {
|
|
1472
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.AttributeResultGet"
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
"application/json": {
|
|
1476
|
+
"schema": {
|
|
1477
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.AttributeResultGet"
|
|
1478
|
+
}
|
|
1479
|
+
},
|
|
1480
|
+
"text/json": {
|
|
1481
|
+
"schema": {
|
|
1482
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.AttributeResultGet"
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
"401": {
|
|
1488
|
+
"description": "Unauthorized"
|
|
1489
|
+
},
|
|
1490
|
+
"403": {
|
|
1491
|
+
"description": "Forbidden"
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
},
|
|
1496
|
+
"/Attributes": {
|
|
1497
|
+
"get": {
|
|
1498
|
+
"tags": [
|
|
1499
|
+
"Attributes"
|
|
1500
|
+
],
|
|
1501
|
+
"summary": "Метод получения данных атрибута",
|
|
1502
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
1503
|
+
"parameters": [
|
|
1504
|
+
{
|
|
1505
|
+
"name": "Authorization",
|
|
1506
|
+
"in": "header",
|
|
1507
|
+
"description": "Bearer",
|
|
1508
|
+
"required": true,
|
|
1509
|
+
"schema": {
|
|
1510
|
+
"type": "string"
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "Range",
|
|
1515
|
+
"in": "header",
|
|
1516
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
1517
|
+
"schema": {
|
|
1518
|
+
"type": "string"
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"name": "offset",
|
|
1523
|
+
"in": "query",
|
|
1524
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
1525
|
+
"schema": {
|
|
1526
|
+
"type": "string"
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"name": "fetch",
|
|
1531
|
+
"in": "query",
|
|
1532
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
1533
|
+
"schema": {
|
|
1534
|
+
"type": "string"
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"name": "isDeleted",
|
|
1539
|
+
"in": "query",
|
|
1540
|
+
"description": "Признак возвращения только удаленных атрибутов",
|
|
1541
|
+
"schema": {
|
|
1542
|
+
"enum": [
|
|
1543
|
+
"true",
|
|
1544
|
+
"false"
|
|
1545
|
+
],
|
|
1546
|
+
"type": "boolean",
|
|
1547
|
+
"default": null
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "isPublic",
|
|
1552
|
+
"in": "query",
|
|
1553
|
+
"description": "Признак возрващения только публичных атрибутов",
|
|
1554
|
+
"schema": {
|
|
1555
|
+
"enum": [
|
|
1556
|
+
"true",
|
|
1557
|
+
"false"
|
|
1558
|
+
],
|
|
1559
|
+
"type": "boolean",
|
|
1560
|
+
"default": null
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"name": "isRelevantForTask",
|
|
1565
|
+
"in": "query",
|
|
1566
|
+
"description": "Признак возвращения атрибутов, связанных с задачими",
|
|
1567
|
+
"schema": {
|
|
1568
|
+
"enum": [
|
|
1569
|
+
"true",
|
|
1570
|
+
"false"
|
|
1571
|
+
],
|
|
1572
|
+
"type": "boolean",
|
|
1573
|
+
"default": null
|
|
1574
|
+
}
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"name": "isRelevantForAsset",
|
|
1578
|
+
"in": "query",
|
|
1579
|
+
"description": "Признак возвращения атрибутов, связанных с оборудованием",
|
|
1580
|
+
"schema": {
|
|
1581
|
+
"enum": [
|
|
1582
|
+
"true",
|
|
1583
|
+
"false"
|
|
1584
|
+
],
|
|
1585
|
+
"type": "boolean",
|
|
1586
|
+
"default": null
|
|
1587
|
+
}
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
"name": "isRelevantForCheckList",
|
|
1591
|
+
"in": "query",
|
|
1592
|
+
"description": "Признак возвращения атрибутов, связанных с чек-листами",
|
|
1593
|
+
"schema": {
|
|
1594
|
+
"enum": [
|
|
1595
|
+
"true",
|
|
1596
|
+
"false"
|
|
1597
|
+
],
|
|
1598
|
+
"type": "boolean",
|
|
1599
|
+
"default": null
|
|
1600
|
+
}
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"name": "isRelevantForCompletedWork",
|
|
1604
|
+
"in": "query",
|
|
1605
|
+
"description": "Признак возвращения атрибутов, связанных с выполненными работами",
|
|
1606
|
+
"schema": {
|
|
1607
|
+
"enum": [
|
|
1608
|
+
"true",
|
|
1609
|
+
"false"
|
|
1610
|
+
],
|
|
1611
|
+
"type": "boolean",
|
|
1612
|
+
"default": null
|
|
1613
|
+
}
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"name": "isRelevantForCompany",
|
|
1617
|
+
"in": "query",
|
|
1618
|
+
"description": "Признак возвращения атрибутов, связанных с компаниями",
|
|
1619
|
+
"schema": {
|
|
1620
|
+
"enum": [
|
|
1621
|
+
"true",
|
|
1622
|
+
"false"
|
|
1623
|
+
],
|
|
1624
|
+
"type": "boolean",
|
|
1625
|
+
"default": null
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "isRelevantForContract",
|
|
1630
|
+
"in": "query",
|
|
1631
|
+
"description": "Признак возвращения атрибутов, связанных с договорами",
|
|
1632
|
+
"schema": {
|
|
1633
|
+
"enum": [
|
|
1634
|
+
"true",
|
|
1635
|
+
"false"
|
|
1636
|
+
],
|
|
1637
|
+
"type": "boolean",
|
|
1638
|
+
"default": null
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "IsRelevantForCustomer",
|
|
1643
|
+
"in": "query",
|
|
1644
|
+
"description": "Признак возвращения атрибутов, связанных с заказчиками",
|
|
1645
|
+
"schema": {
|
|
1646
|
+
"enum": [
|
|
1647
|
+
"true",
|
|
1648
|
+
"false"
|
|
1649
|
+
],
|
|
1650
|
+
"type": "boolean",
|
|
1651
|
+
"default": null
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"name": "IsRelevantForTechnician",
|
|
1656
|
+
"in": "query",
|
|
1657
|
+
"description": "Признак возвращения атрибутов, связанных с сотрудниками",
|
|
1658
|
+
"schema": {
|
|
1659
|
+
"enum": [
|
|
1660
|
+
"true",
|
|
1661
|
+
"false"
|
|
1662
|
+
],
|
|
1663
|
+
"type": "boolean",
|
|
1664
|
+
"default": null
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
],
|
|
1668
|
+
"responses": {
|
|
1669
|
+
"200": {
|
|
1670
|
+
"description": "OK",
|
|
1671
|
+
"content": {
|
|
1672
|
+
"text/plain": {
|
|
1673
|
+
"schema": {
|
|
1674
|
+
"type": "object",
|
|
1675
|
+
"additionalProperties": {
|
|
1676
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.AttributeResultList"
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
"application/json": {
|
|
1681
|
+
"schema": {
|
|
1682
|
+
"type": "object",
|
|
1683
|
+
"additionalProperties": {
|
|
1684
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.AttributeResultList"
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
"text/json": {
|
|
1689
|
+
"schema": {
|
|
1690
|
+
"type": "object",
|
|
1691
|
+
"additionalProperties": {
|
|
1692
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.AttributeResultList"
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
},
|
|
1698
|
+
"401": {
|
|
1699
|
+
"description": "Unauthorized"
|
|
1700
|
+
},
|
|
1701
|
+
"403": {
|
|
1702
|
+
"description": "Forbidden"
|
|
1703
|
+
},
|
|
1704
|
+
"206": {
|
|
1705
|
+
"description": "PartialContent",
|
|
1706
|
+
"headers": {
|
|
1707
|
+
"Content-Range": {
|
|
1708
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
1709
|
+
"schema": {
|
|
1710
|
+
"type": "string"
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
"post": {
|
|
1718
|
+
"tags": [
|
|
1719
|
+
"Attributes"
|
|
1720
|
+
],
|
|
1721
|
+
"summary": "Метод создания атрибута",
|
|
1722
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeAdd**",
|
|
1723
|
+
"parameters": [
|
|
1724
|
+
{
|
|
1725
|
+
"name": "Authorization",
|
|
1726
|
+
"in": "header",
|
|
1727
|
+
"description": "Bearer",
|
|
1728
|
+
"required": true,
|
|
1729
|
+
"schema": {
|
|
1730
|
+
"type": "string"
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
],
|
|
1734
|
+
"requestBody": {
|
|
1735
|
+
"content": {
|
|
1736
|
+
"application/json-patch+json": {
|
|
1737
|
+
"schema": {
|
|
1738
|
+
"type": "array",
|
|
1739
|
+
"items": {
|
|
1740
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Attribute.AddData"
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1744
|
+
"application/json": {
|
|
1745
|
+
"schema": {
|
|
1746
|
+
"type": "array",
|
|
1747
|
+
"items": {
|
|
1748
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Attribute.AddData"
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
"text/json": {
|
|
1753
|
+
"schema": {
|
|
1754
|
+
"type": "array",
|
|
1755
|
+
"items": {
|
|
1756
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Attribute.AddData"
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
},
|
|
1760
|
+
"application/*+json": {
|
|
1761
|
+
"schema": {
|
|
1762
|
+
"type": "array",
|
|
1763
|
+
"items": {
|
|
1764
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Attribute.AddData"
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
},
|
|
1770
|
+
"responses": {
|
|
1771
|
+
"201": {
|
|
1772
|
+
"description": "Created"
|
|
1773
|
+
},
|
|
1774
|
+
"401": {
|
|
1775
|
+
"description": "Unauthorized"
|
|
1776
|
+
},
|
|
1777
|
+
"403": {
|
|
1778
|
+
"description": "Forbidden"
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
"put": {
|
|
1783
|
+
"tags": [
|
|
1784
|
+
"Attributes"
|
|
1785
|
+
],
|
|
1786
|
+
"summary": "Метод изменения атрибутов",
|
|
1787
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeUpdate**",
|
|
1788
|
+
"parameters": [
|
|
1789
|
+
{
|
|
1790
|
+
"name": "Authorization",
|
|
1791
|
+
"in": "header",
|
|
1792
|
+
"description": "Bearer",
|
|
1793
|
+
"required": true,
|
|
1794
|
+
"schema": {
|
|
1795
|
+
"type": "string"
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
],
|
|
1799
|
+
"requestBody": {
|
|
1800
|
+
"content": {
|
|
1801
|
+
"application/json-patch+json": {
|
|
1802
|
+
"schema": {
|
|
1803
|
+
"type": "array",
|
|
1804
|
+
"items": {
|
|
1805
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Attribute.UpdateData"
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1809
|
+
"application/json": {
|
|
1810
|
+
"schema": {
|
|
1811
|
+
"type": "array",
|
|
1812
|
+
"items": {
|
|
1813
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Attribute.UpdateData"
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
"text/json": {
|
|
1818
|
+
"schema": {
|
|
1819
|
+
"type": "array",
|
|
1820
|
+
"items": {
|
|
1821
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Attribute.UpdateData"
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
"application/*+json": {
|
|
1826
|
+
"schema": {
|
|
1827
|
+
"type": "array",
|
|
1828
|
+
"items": {
|
|
1829
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Attribute.UpdateData"
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
"responses": {
|
|
1836
|
+
"202": {
|
|
1837
|
+
"description": "Accepted"
|
|
1838
|
+
},
|
|
1839
|
+
"401": {
|
|
1840
|
+
"description": "Unauthorized"
|
|
1841
|
+
},
|
|
1842
|
+
"403": {
|
|
1843
|
+
"description": "Forbidden"
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
"delete": {
|
|
1848
|
+
"tags": [
|
|
1849
|
+
"Attributes"
|
|
1850
|
+
],
|
|
1851
|
+
"summary": "Метод удаления атрибутов",
|
|
1852
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeDelete**",
|
|
1853
|
+
"parameters": [
|
|
1854
|
+
{
|
|
1855
|
+
"name": "Authorization",
|
|
1856
|
+
"in": "header",
|
|
1857
|
+
"description": "Bearer",
|
|
1858
|
+
"required": true,
|
|
1859
|
+
"schema": {
|
|
1860
|
+
"type": "string"
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
],
|
|
1864
|
+
"requestBody": {
|
|
1865
|
+
"content": {
|
|
1866
|
+
"application/json-patch+json": {
|
|
1867
|
+
"schema": {
|
|
1868
|
+
"type": "array",
|
|
1869
|
+
"items": {
|
|
1870
|
+
"type": "integer",
|
|
1871
|
+
"format": "int32"
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
"application/json": {
|
|
1876
|
+
"schema": {
|
|
1877
|
+
"type": "array",
|
|
1878
|
+
"items": {
|
|
1879
|
+
"type": "integer",
|
|
1880
|
+
"format": "int32"
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
"text/json": {
|
|
1885
|
+
"schema": {
|
|
1886
|
+
"type": "array",
|
|
1887
|
+
"items": {
|
|
1888
|
+
"type": "integer",
|
|
1889
|
+
"format": "int32"
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
"application/*+json": {
|
|
1894
|
+
"schema": {
|
|
1895
|
+
"type": "array",
|
|
1896
|
+
"items": {
|
|
1897
|
+
"type": "integer",
|
|
1898
|
+
"format": "int32"
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
"responses": {
|
|
1905
|
+
"202": {
|
|
1906
|
+
"description": "Accepted"
|
|
1907
|
+
},
|
|
1908
|
+
"401": {
|
|
1909
|
+
"description": "Unauthorized"
|
|
1910
|
+
},
|
|
1911
|
+
"403": {
|
|
1912
|
+
"description": "Forbidden"
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
},
|
|
1917
|
+
"/Attributes/{id}": {
|
|
1918
|
+
"delete": {
|
|
1919
|
+
"tags": [
|
|
1920
|
+
"Attributes"
|
|
1921
|
+
],
|
|
1922
|
+
"summary": "Метод удаления атрибута",
|
|
1923
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeDelete**",
|
|
1924
|
+
"parameters": [
|
|
1925
|
+
{
|
|
1926
|
+
"name": "id",
|
|
1927
|
+
"in": "path",
|
|
1928
|
+
"required": true,
|
|
1929
|
+
"schema": {
|
|
1930
|
+
"type": "integer",
|
|
1931
|
+
"format": "int32"
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"name": "Authorization",
|
|
1936
|
+
"in": "header",
|
|
1937
|
+
"description": "Bearer",
|
|
1938
|
+
"required": true,
|
|
1939
|
+
"schema": {
|
|
1940
|
+
"type": "string"
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
],
|
|
1944
|
+
"responses": {
|
|
1945
|
+
"202": {
|
|
1946
|
+
"description": "Accepted"
|
|
1947
|
+
},
|
|
1948
|
+
"401": {
|
|
1949
|
+
"description": "Unauthorized"
|
|
1950
|
+
},
|
|
1951
|
+
"403": {
|
|
1952
|
+
"description": "Forbidden"
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
},
|
|
1957
|
+
"/Attributes/{attributeID}/listOfValues": {
|
|
1958
|
+
"get": {
|
|
1959
|
+
"tags": [
|
|
1960
|
+
"Attributes"
|
|
1961
|
+
],
|
|
1962
|
+
"summary": "Метод получения допустимых значений для атрибута",
|
|
1963
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeListOfValuesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
1964
|
+
"parameters": [
|
|
1965
|
+
{
|
|
1966
|
+
"name": "attributeID",
|
|
1967
|
+
"in": "path",
|
|
1968
|
+
"required": true,
|
|
1969
|
+
"schema": {
|
|
1970
|
+
"type": "integer",
|
|
1971
|
+
"format": "int32"
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"name": "Authorization",
|
|
1976
|
+
"in": "header",
|
|
1977
|
+
"description": "Bearer",
|
|
1978
|
+
"required": true,
|
|
1979
|
+
"schema": {
|
|
1980
|
+
"type": "string"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"name": "Range",
|
|
1985
|
+
"in": "header",
|
|
1986
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
1987
|
+
"schema": {
|
|
1988
|
+
"type": "string"
|
|
1989
|
+
}
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"name": "offset",
|
|
1993
|
+
"in": "query",
|
|
1994
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
1995
|
+
"schema": {
|
|
1996
|
+
"type": "string"
|
|
1997
|
+
}
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"name": "fetch",
|
|
2001
|
+
"in": "query",
|
|
2002
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
2003
|
+
"schema": {
|
|
2004
|
+
"type": "string"
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
],
|
|
2008
|
+
"responses": {
|
|
2009
|
+
"200": {
|
|
2010
|
+
"description": "OK",
|
|
2011
|
+
"content": {
|
|
2012
|
+
"text/plain": {
|
|
2013
|
+
"schema": {
|
|
2014
|
+
"type": "object",
|
|
2015
|
+
"additionalProperties": {
|
|
2016
|
+
"type": "string"
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
},
|
|
2020
|
+
"application/json": {
|
|
2021
|
+
"schema": {
|
|
2022
|
+
"type": "object",
|
|
2023
|
+
"additionalProperties": {
|
|
2024
|
+
"type": "string"
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
},
|
|
2028
|
+
"text/json": {
|
|
2029
|
+
"schema": {
|
|
2030
|
+
"type": "object",
|
|
2031
|
+
"additionalProperties": {
|
|
2032
|
+
"type": "string"
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
"401": {
|
|
2039
|
+
"description": "Unauthorized"
|
|
2040
|
+
},
|
|
2041
|
+
"403": {
|
|
2042
|
+
"description": "Forbidden"
|
|
2043
|
+
},
|
|
2044
|
+
"206": {
|
|
2045
|
+
"description": "PartialContent",
|
|
2046
|
+
"headers": {
|
|
2047
|
+
"Content-Range": {
|
|
2048
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
2049
|
+
"schema": {
|
|
2050
|
+
"type": "string"
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
},
|
|
2058
|
+
"/AttributeTypes": {
|
|
2059
|
+
"get": {
|
|
2060
|
+
"tags": [
|
|
2061
|
+
"AttributeTypes"
|
|
2062
|
+
],
|
|
2063
|
+
"summary": "Метод возвращает список доступных типов (доп.полей) атрибутов",
|
|
2064
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeTypeList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
2065
|
+
"parameters": [
|
|
2066
|
+
{
|
|
2067
|
+
"name": "Authorization",
|
|
2068
|
+
"in": "header",
|
|
2069
|
+
"description": "Bearer",
|
|
2070
|
+
"required": true,
|
|
2071
|
+
"schema": {
|
|
2072
|
+
"type": "string"
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"name": "Range",
|
|
2077
|
+
"in": "header",
|
|
2078
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
2079
|
+
"schema": {
|
|
2080
|
+
"type": "string"
|
|
2081
|
+
}
|
|
2082
|
+
},
|
|
2083
|
+
{
|
|
2084
|
+
"name": "offset",
|
|
2085
|
+
"in": "query",
|
|
2086
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
2087
|
+
"schema": {
|
|
2088
|
+
"type": "string"
|
|
2089
|
+
}
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"name": "fetch",
|
|
2093
|
+
"in": "query",
|
|
2094
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
2095
|
+
"schema": {
|
|
2096
|
+
"type": "string"
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
],
|
|
2100
|
+
"responses": {
|
|
2101
|
+
"200": {
|
|
2102
|
+
"description": "OK",
|
|
2103
|
+
"content": {
|
|
2104
|
+
"text/plain": {
|
|
2105
|
+
"schema": {
|
|
2106
|
+
"type": "object",
|
|
2107
|
+
"additionalProperties": {
|
|
2108
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.AttributeTypes.ListResult"
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
},
|
|
2112
|
+
"application/json": {
|
|
2113
|
+
"schema": {
|
|
2114
|
+
"type": "object",
|
|
2115
|
+
"additionalProperties": {
|
|
2116
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.AttributeTypes.ListResult"
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
"text/json": {
|
|
2121
|
+
"schema": {
|
|
2122
|
+
"type": "object",
|
|
2123
|
+
"additionalProperties": {
|
|
2124
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.AttributeTypes.ListResult"
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
},
|
|
2130
|
+
"401": {
|
|
2131
|
+
"description": "Unauthorized"
|
|
2132
|
+
},
|
|
2133
|
+
"403": {
|
|
2134
|
+
"description": "Forbidden"
|
|
2135
|
+
},
|
|
2136
|
+
"206": {
|
|
2137
|
+
"description": "PartialContent",
|
|
2138
|
+
"headers": {
|
|
2139
|
+
"Content-Range": {
|
|
2140
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
2141
|
+
"schema": {
|
|
2142
|
+
"type": "string"
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
"/AttributeTypes/v2": {
|
|
2151
|
+
"get": {
|
|
2152
|
+
"tags": [
|
|
2153
|
+
"AttributeTypes"
|
|
2154
|
+
],
|
|
2155
|
+
"summary": "Возвращает плоский список типов атрибутов (доп.полей) с доменами, если существует такое сопоставление",
|
|
2156
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **AttributeTypeList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
2157
|
+
"parameters": [
|
|
2158
|
+
{
|
|
2159
|
+
"name": "Authorization",
|
|
2160
|
+
"in": "header",
|
|
2161
|
+
"description": "Bearer",
|
|
2162
|
+
"required": true,
|
|
2163
|
+
"schema": {
|
|
2164
|
+
"type": "string"
|
|
2165
|
+
}
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"name": "Range",
|
|
2169
|
+
"in": "header",
|
|
2170
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
2171
|
+
"schema": {
|
|
2172
|
+
"type": "string"
|
|
2173
|
+
}
|
|
2174
|
+
},
|
|
2175
|
+
{
|
|
2176
|
+
"name": "offset",
|
|
2177
|
+
"in": "query",
|
|
2178
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
2179
|
+
"schema": {
|
|
2180
|
+
"type": "string"
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"name": "fetch",
|
|
2185
|
+
"in": "query",
|
|
2186
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
2187
|
+
"schema": {
|
|
2188
|
+
"type": "string"
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
],
|
|
2192
|
+
"responses": {
|
|
2193
|
+
"200": {
|
|
2194
|
+
"description": "OK",
|
|
2195
|
+
"content": {
|
|
2196
|
+
"text/plain": {
|
|
2197
|
+
"schema": {
|
|
2198
|
+
"type": "array",
|
|
2199
|
+
"items": {
|
|
2200
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.AttributeTypes.ExtListResult"
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
},
|
|
2204
|
+
"application/json": {
|
|
2205
|
+
"schema": {
|
|
2206
|
+
"type": "array",
|
|
2207
|
+
"items": {
|
|
2208
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.AttributeTypes.ExtListResult"
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2212
|
+
"text/json": {
|
|
2213
|
+
"schema": {
|
|
2214
|
+
"type": "array",
|
|
2215
|
+
"items": {
|
|
2216
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.AttributeTypes.ExtListResult"
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
},
|
|
2222
|
+
"401": {
|
|
2223
|
+
"description": "Unauthorized"
|
|
2224
|
+
},
|
|
2225
|
+
"403": {
|
|
2226
|
+
"description": "Forbidden"
|
|
2227
|
+
},
|
|
2228
|
+
"206": {
|
|
2229
|
+
"description": "PartialContent",
|
|
2230
|
+
"headers": {
|
|
2231
|
+
"Content-Range": {
|
|
2232
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
2233
|
+
"schema": {
|
|
2234
|
+
"type": "string"
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
},
|
|
2242
|
+
"/Banks": {
|
|
2243
|
+
"get": {
|
|
2244
|
+
"tags": [
|
|
2245
|
+
"Banks"
|
|
2246
|
+
],
|
|
2247
|
+
"summary": "Метод получения списка банков",
|
|
2248
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **BankList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
2249
|
+
"parameters": [
|
|
2250
|
+
{
|
|
2251
|
+
"name": "searchText",
|
|
2252
|
+
"in": "query",
|
|
2253
|
+
"schema": {
|
|
2254
|
+
"type": "string"
|
|
2255
|
+
}
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"name": "Authorization",
|
|
2259
|
+
"in": "header",
|
|
2260
|
+
"description": "Bearer",
|
|
2261
|
+
"required": true,
|
|
2262
|
+
"schema": {
|
|
2263
|
+
"type": "string"
|
|
2264
|
+
}
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "Range",
|
|
2268
|
+
"in": "header",
|
|
2269
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
2270
|
+
"schema": {
|
|
2271
|
+
"type": "string"
|
|
2272
|
+
}
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"name": "offset",
|
|
2276
|
+
"in": "query",
|
|
2277
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
2278
|
+
"schema": {
|
|
2279
|
+
"type": "string"
|
|
2280
|
+
}
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
"name": "fetch",
|
|
2284
|
+
"in": "query",
|
|
2285
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
2286
|
+
"schema": {
|
|
2287
|
+
"type": "string"
|
|
2288
|
+
}
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"name": "isActive",
|
|
2292
|
+
"in": "query",
|
|
2293
|
+
"description": "Признак активности банка",
|
|
2294
|
+
"schema": {
|
|
2295
|
+
"enum": [
|
|
2296
|
+
"true",
|
|
2297
|
+
"false"
|
|
2298
|
+
],
|
|
2299
|
+
"type": "boolean",
|
|
2300
|
+
"default": null
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2303
|
+
],
|
|
2304
|
+
"responses": {
|
|
2305
|
+
"200": {
|
|
2306
|
+
"description": "OK",
|
|
2307
|
+
"content": {
|
|
2308
|
+
"text/plain": {
|
|
2309
|
+
"schema": {
|
|
2310
|
+
"type": "object",
|
|
2311
|
+
"additionalProperties": {
|
|
2312
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Banks.BankResult"
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
"application/json": {
|
|
2317
|
+
"schema": {
|
|
2318
|
+
"type": "object",
|
|
2319
|
+
"additionalProperties": {
|
|
2320
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Banks.BankResult"
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
"text/json": {
|
|
2325
|
+
"schema": {
|
|
2326
|
+
"type": "object",
|
|
2327
|
+
"additionalProperties": {
|
|
2328
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Banks.BankResult"
|
|
2329
|
+
}
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
"204": {
|
|
2335
|
+
"description": "No Content"
|
|
2336
|
+
},
|
|
2337
|
+
"401": {
|
|
2338
|
+
"description": "Unauthorized"
|
|
2339
|
+
},
|
|
2340
|
+
"403": {
|
|
2341
|
+
"description": "Forbidden"
|
|
2342
|
+
},
|
|
2343
|
+
"206": {
|
|
2344
|
+
"description": "PartialContent",
|
|
2345
|
+
"headers": {
|
|
2346
|
+
"Content-Range": {
|
|
2347
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
2348
|
+
"schema": {
|
|
2349
|
+
"type": "string"
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2357
|
+
"/Banks/{bankId}": {
|
|
2358
|
+
"get": {
|
|
2359
|
+
"tags": [
|
|
2360
|
+
"Banks"
|
|
2361
|
+
],
|
|
2362
|
+
"summary": "Метод получения данных банка",
|
|
2363
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **BankGet**",
|
|
2364
|
+
"parameters": [
|
|
2365
|
+
{
|
|
2366
|
+
"name": "bankId",
|
|
2367
|
+
"in": "path",
|
|
2368
|
+
"required": true,
|
|
2369
|
+
"schema": {
|
|
2370
|
+
"type": "integer",
|
|
2371
|
+
"format": "int32"
|
|
2372
|
+
}
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"name": "Authorization",
|
|
2376
|
+
"in": "header",
|
|
2377
|
+
"description": "Bearer",
|
|
2378
|
+
"required": true,
|
|
2379
|
+
"schema": {
|
|
2380
|
+
"type": "string"
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
],
|
|
2384
|
+
"responses": {
|
|
2385
|
+
"200": {
|
|
2386
|
+
"description": "OK",
|
|
2387
|
+
"content": {
|
|
2388
|
+
"text/plain": {
|
|
2389
|
+
"schema": {
|
|
2390
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Banks.BankResult"
|
|
2391
|
+
}
|
|
2392
|
+
},
|
|
2393
|
+
"application/json": {
|
|
2394
|
+
"schema": {
|
|
2395
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Banks.BankResult"
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2398
|
+
"text/json": {
|
|
2399
|
+
"schema": {
|
|
2400
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Banks.BankResult"
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
},
|
|
2405
|
+
"404": {
|
|
2406
|
+
"description": "Not Found"
|
|
2407
|
+
},
|
|
2408
|
+
"401": {
|
|
2409
|
+
"description": "Unauthorized"
|
|
2410
|
+
},
|
|
2411
|
+
"403": {
|
|
2412
|
+
"description": "Forbidden"
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
},
|
|
2417
|
+
"/Contacts/{contactID}": {
|
|
2418
|
+
"get": {
|
|
2419
|
+
"tags": [
|
|
2420
|
+
"Contacts"
|
|
2421
|
+
],
|
|
2422
|
+
"summary": "Метод получения данных контакта",
|
|
2423
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ContactGet**",
|
|
2424
|
+
"parameters": [
|
|
2425
|
+
{
|
|
2426
|
+
"name": "contactID",
|
|
2427
|
+
"in": "path",
|
|
2428
|
+
"required": true,
|
|
2429
|
+
"schema": {
|
|
2430
|
+
"type": "integer",
|
|
2431
|
+
"format": "int32"
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
"name": "Authorization",
|
|
2436
|
+
"in": "header",
|
|
2437
|
+
"description": "Bearer",
|
|
2438
|
+
"required": true,
|
|
2439
|
+
"schema": {
|
|
2440
|
+
"type": "string"
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
],
|
|
2444
|
+
"responses": {
|
|
2445
|
+
"200": {
|
|
2446
|
+
"description": "OK",
|
|
2447
|
+
"content": {
|
|
2448
|
+
"text/plain": {
|
|
2449
|
+
"schema": {
|
|
2450
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Contacts.GetResult"
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"application/json": {
|
|
2454
|
+
"schema": {
|
|
2455
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Contacts.GetResult"
|
|
2456
|
+
}
|
|
2457
|
+
},
|
|
2458
|
+
"text/json": {
|
|
2459
|
+
"schema": {
|
|
2460
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Contacts.GetResult"
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
"404": {
|
|
2466
|
+
"description": "Not Found"
|
|
2467
|
+
},
|
|
2468
|
+
"204": {
|
|
2469
|
+
"description": "No Content"
|
|
2470
|
+
},
|
|
2471
|
+
"401": {
|
|
2472
|
+
"description": "Unauthorized"
|
|
2473
|
+
},
|
|
2474
|
+
"403": {
|
|
2475
|
+
"description": "Forbidden"
|
|
2476
|
+
}
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
"/Contacts": {
|
|
2481
|
+
"get": {
|
|
2482
|
+
"tags": [
|
|
2483
|
+
"Contacts"
|
|
2484
|
+
],
|
|
2485
|
+
"summary": "Метод получения данных контакта",
|
|
2486
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ContactsList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
2487
|
+
"parameters": [
|
|
2488
|
+
{
|
|
2489
|
+
"name": "searchText",
|
|
2490
|
+
"in": "query",
|
|
2491
|
+
"schema": {
|
|
2492
|
+
"type": "string"
|
|
2493
|
+
}
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"name": "Authorization",
|
|
2497
|
+
"in": "header",
|
|
2498
|
+
"description": "Bearer",
|
|
2499
|
+
"required": true,
|
|
2500
|
+
"schema": {
|
|
2501
|
+
"type": "string"
|
|
2502
|
+
}
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
"name": "Range",
|
|
2506
|
+
"in": "header",
|
|
2507
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
2508
|
+
"schema": {
|
|
2509
|
+
"type": "string"
|
|
2510
|
+
}
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"name": "offset",
|
|
2514
|
+
"in": "query",
|
|
2515
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
2516
|
+
"schema": {
|
|
2517
|
+
"type": "string"
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
"name": "fetch",
|
|
2522
|
+
"in": "query",
|
|
2523
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
2524
|
+
"schema": {
|
|
2525
|
+
"type": "string"
|
|
2526
|
+
}
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"name": "isDeleted",
|
|
2530
|
+
"in": "query",
|
|
2531
|
+
"description": "Признак удаления контакта",
|
|
2532
|
+
"schema": {
|
|
2533
|
+
"enum": [
|
|
2534
|
+
"true",
|
|
2535
|
+
"false"
|
|
2536
|
+
],
|
|
2537
|
+
"type": "boolean",
|
|
2538
|
+
"default": null
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"name": "contactID",
|
|
2543
|
+
"in": "query",
|
|
2544
|
+
"description": "Идентификаторы контактов, по которым будет отфильтрован результат",
|
|
2545
|
+
"schema": {
|
|
2546
|
+
"type": "int32",
|
|
2547
|
+
"default": null
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
],
|
|
2551
|
+
"responses": {
|
|
2552
|
+
"200": {
|
|
2553
|
+
"description": "OK",
|
|
2554
|
+
"content": {
|
|
2555
|
+
"text/plain": {
|
|
2556
|
+
"schema": {
|
|
2557
|
+
"type": "object",
|
|
2558
|
+
"additionalProperties": {
|
|
2559
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Contacts.ListResult"
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
"application/json": {
|
|
2564
|
+
"schema": {
|
|
2565
|
+
"type": "object",
|
|
2566
|
+
"additionalProperties": {
|
|
2567
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Contacts.ListResult"
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
},
|
|
2571
|
+
"text/json": {
|
|
2572
|
+
"schema": {
|
|
2573
|
+
"type": "object",
|
|
2574
|
+
"additionalProperties": {
|
|
2575
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Contacts.ListResult"
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
},
|
|
2581
|
+
"204": {
|
|
2582
|
+
"description": "No Content"
|
|
2583
|
+
},
|
|
2584
|
+
"401": {
|
|
2585
|
+
"description": "Unauthorized"
|
|
2586
|
+
},
|
|
2587
|
+
"403": {
|
|
2588
|
+
"description": "Forbidden"
|
|
2589
|
+
},
|
|
2590
|
+
"206": {
|
|
2591
|
+
"description": "PartialContent",
|
|
2592
|
+
"headers": {
|
|
2593
|
+
"Content-Range": {
|
|
2594
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
2595
|
+
"schema": {
|
|
2596
|
+
"type": "string"
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
},
|
|
2603
|
+
"post": {
|
|
2604
|
+
"tags": [
|
|
2605
|
+
"Contacts"
|
|
2606
|
+
],
|
|
2607
|
+
"summary": "Метод создания контакта",
|
|
2608
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ContactAdd**",
|
|
2609
|
+
"parameters": [
|
|
2610
|
+
{
|
|
2611
|
+
"name": "Authorization",
|
|
2612
|
+
"in": "header",
|
|
2613
|
+
"description": "Bearer",
|
|
2614
|
+
"required": true,
|
|
2615
|
+
"schema": {
|
|
2616
|
+
"type": "string"
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
],
|
|
2620
|
+
"requestBody": {
|
|
2621
|
+
"content": {
|
|
2622
|
+
"application/json-patch+json": {
|
|
2623
|
+
"schema": {
|
|
2624
|
+
"type": "array",
|
|
2625
|
+
"items": {
|
|
2626
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Contact.AddData"
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
},
|
|
2630
|
+
"application/json": {
|
|
2631
|
+
"schema": {
|
|
2632
|
+
"type": "array",
|
|
2633
|
+
"items": {
|
|
2634
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Contact.AddData"
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2637
|
+
},
|
|
2638
|
+
"text/json": {
|
|
2639
|
+
"schema": {
|
|
2640
|
+
"type": "array",
|
|
2641
|
+
"items": {
|
|
2642
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Contact.AddData"
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
},
|
|
2646
|
+
"application/*+json": {
|
|
2647
|
+
"schema": {
|
|
2648
|
+
"type": "array",
|
|
2649
|
+
"items": {
|
|
2650
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Contact.AddData"
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
}
|
|
2655
|
+
},
|
|
2656
|
+
"responses": {
|
|
2657
|
+
"201": {
|
|
2658
|
+
"description": "Created"
|
|
2659
|
+
},
|
|
2660
|
+
"401": {
|
|
2661
|
+
"description": "Unauthorized"
|
|
2662
|
+
},
|
|
2663
|
+
"403": {
|
|
2664
|
+
"description": "Forbidden"
|
|
2665
|
+
}
|
|
2666
|
+
}
|
|
2667
|
+
},
|
|
2668
|
+
"put": {
|
|
2669
|
+
"tags": [
|
|
2670
|
+
"Contacts"
|
|
2671
|
+
],
|
|
2672
|
+
"summary": "Метод изменения контактов",
|
|
2673
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ContactUpdate**",
|
|
2674
|
+
"parameters": [
|
|
2675
|
+
{
|
|
2676
|
+
"name": "Authorization",
|
|
2677
|
+
"in": "header",
|
|
2678
|
+
"description": "Bearer",
|
|
2679
|
+
"required": true,
|
|
2680
|
+
"schema": {
|
|
2681
|
+
"type": "string"
|
|
2682
|
+
}
|
|
2683
|
+
}
|
|
2684
|
+
],
|
|
2685
|
+
"requestBody": {
|
|
2686
|
+
"content": {
|
|
2687
|
+
"application/json-patch+json": {
|
|
2688
|
+
"schema": {
|
|
2689
|
+
"type": "array",
|
|
2690
|
+
"items": {
|
|
2691
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Contact.UpdateData"
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
},
|
|
2695
|
+
"application/json": {
|
|
2696
|
+
"schema": {
|
|
2697
|
+
"type": "array",
|
|
2698
|
+
"items": {
|
|
2699
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Contact.UpdateData"
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
},
|
|
2703
|
+
"text/json": {
|
|
2704
|
+
"schema": {
|
|
2705
|
+
"type": "array",
|
|
2706
|
+
"items": {
|
|
2707
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Contact.UpdateData"
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
},
|
|
2711
|
+
"application/*+json": {
|
|
2712
|
+
"schema": {
|
|
2713
|
+
"type": "array",
|
|
2714
|
+
"items": {
|
|
2715
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.Contact.UpdateData"
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
},
|
|
2721
|
+
"responses": {
|
|
2722
|
+
"202": {
|
|
2723
|
+
"description": "Accepted"
|
|
2724
|
+
},
|
|
2725
|
+
"401": {
|
|
2726
|
+
"description": "Unauthorized"
|
|
2727
|
+
},
|
|
2728
|
+
"403": {
|
|
2729
|
+
"description": "Forbidden"
|
|
2730
|
+
}
|
|
2731
|
+
}
|
|
2732
|
+
},
|
|
2733
|
+
"delete": {
|
|
2734
|
+
"tags": [
|
|
2735
|
+
"Contacts"
|
|
2736
|
+
],
|
|
2737
|
+
"summary": "Метод удаления контактов",
|
|
2738
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ContactDelete**",
|
|
2739
|
+
"parameters": [
|
|
2740
|
+
{
|
|
2741
|
+
"name": "Authorization",
|
|
2742
|
+
"in": "header",
|
|
2743
|
+
"description": "Bearer",
|
|
2744
|
+
"required": true,
|
|
2745
|
+
"schema": {
|
|
2746
|
+
"type": "string"
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
],
|
|
2750
|
+
"requestBody": {
|
|
2751
|
+
"content": {
|
|
2752
|
+
"application/json-patch+json": {
|
|
2753
|
+
"schema": {
|
|
2754
|
+
"type": "array",
|
|
2755
|
+
"items": {
|
|
2756
|
+
"type": "integer",
|
|
2757
|
+
"format": "int32"
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
},
|
|
2761
|
+
"application/json": {
|
|
2762
|
+
"schema": {
|
|
2763
|
+
"type": "array",
|
|
2764
|
+
"items": {
|
|
2765
|
+
"type": "integer",
|
|
2766
|
+
"format": "int32"
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2769
|
+
},
|
|
2770
|
+
"text/json": {
|
|
2771
|
+
"schema": {
|
|
2772
|
+
"type": "array",
|
|
2773
|
+
"items": {
|
|
2774
|
+
"type": "integer",
|
|
2775
|
+
"format": "int32"
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
},
|
|
2779
|
+
"application/*+json": {
|
|
2780
|
+
"schema": {
|
|
2781
|
+
"type": "array",
|
|
2782
|
+
"items": {
|
|
2783
|
+
"type": "integer",
|
|
2784
|
+
"format": "int32"
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
},
|
|
2790
|
+
"responses": {
|
|
2791
|
+
"202": {
|
|
2792
|
+
"description": "Accepted"
|
|
2793
|
+
},
|
|
2794
|
+
"401": {
|
|
2795
|
+
"description": "Unauthorized"
|
|
2796
|
+
},
|
|
2797
|
+
"403": {
|
|
2798
|
+
"description": "Forbidden"
|
|
2799
|
+
}
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
},
|
|
2803
|
+
"/Contacts/{id}": {
|
|
2804
|
+
"delete": {
|
|
2805
|
+
"tags": [
|
|
2806
|
+
"Contacts"
|
|
2807
|
+
],
|
|
2808
|
+
"summary": "Метод удаления контакта",
|
|
2809
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ContactDelete**",
|
|
2810
|
+
"parameters": [
|
|
2811
|
+
{
|
|
2812
|
+
"name": "id",
|
|
2813
|
+
"in": "path",
|
|
2814
|
+
"required": true,
|
|
2815
|
+
"schema": {
|
|
2816
|
+
"type": "integer",
|
|
2817
|
+
"format": "int32"
|
|
2818
|
+
}
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
"name": "Authorization",
|
|
2822
|
+
"in": "header",
|
|
2823
|
+
"description": "Bearer",
|
|
2824
|
+
"required": true,
|
|
2825
|
+
"schema": {
|
|
2826
|
+
"type": "string"
|
|
2827
|
+
}
|
|
2828
|
+
}
|
|
2829
|
+
],
|
|
2830
|
+
"responses": {
|
|
2831
|
+
"202": {
|
|
2832
|
+
"description": "Accepted"
|
|
2833
|
+
},
|
|
2834
|
+
"401": {
|
|
2835
|
+
"description": "Unauthorized"
|
|
2836
|
+
},
|
|
2837
|
+
"403": {
|
|
2838
|
+
"description": "Forbidden"
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
},
|
|
2843
|
+
"/Countries": {
|
|
2844
|
+
"get": {
|
|
2845
|
+
"tags": [
|
|
2846
|
+
"Countries"
|
|
2847
|
+
],
|
|
2848
|
+
"summary": "Метод получения списка стран",
|
|
2849
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **CountriesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
2850
|
+
"parameters": [
|
|
2851
|
+
{
|
|
2852
|
+
"name": "Authorization",
|
|
2853
|
+
"in": "header",
|
|
2854
|
+
"description": "Bearer",
|
|
2855
|
+
"required": true,
|
|
2856
|
+
"schema": {
|
|
2857
|
+
"type": "string"
|
|
2858
|
+
}
|
|
2859
|
+
},
|
|
2860
|
+
{
|
|
2861
|
+
"name": "Range",
|
|
2862
|
+
"in": "header",
|
|
2863
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
2864
|
+
"schema": {
|
|
2865
|
+
"type": "string"
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
"name": "offset",
|
|
2870
|
+
"in": "query",
|
|
2871
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
2872
|
+
"schema": {
|
|
2873
|
+
"type": "string"
|
|
2874
|
+
}
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"name": "fetch",
|
|
2878
|
+
"in": "query",
|
|
2879
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
2880
|
+
"schema": {
|
|
2881
|
+
"type": "string"
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
],
|
|
2885
|
+
"responses": {
|
|
2886
|
+
"200": {
|
|
2887
|
+
"description": "OK",
|
|
2888
|
+
"content": {
|
|
2889
|
+
"text/plain": {
|
|
2890
|
+
"schema": {
|
|
2891
|
+
"type": "object",
|
|
2892
|
+
"additionalProperties": {
|
|
2893
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Countries.ListResult"
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
},
|
|
2897
|
+
"application/json": {
|
|
2898
|
+
"schema": {
|
|
2899
|
+
"type": "object",
|
|
2900
|
+
"additionalProperties": {
|
|
2901
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Countries.ListResult"
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
"text/json": {
|
|
2906
|
+
"schema": {
|
|
2907
|
+
"type": "object",
|
|
2908
|
+
"additionalProperties": {
|
|
2909
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Countries.ListResult"
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
},
|
|
2915
|
+
"401": {
|
|
2916
|
+
"description": "Unauthorized"
|
|
2917
|
+
},
|
|
2918
|
+
"403": {
|
|
2919
|
+
"description": "Forbidden"
|
|
2920
|
+
},
|
|
2921
|
+
"206": {
|
|
2922
|
+
"description": "PartialContent",
|
|
2923
|
+
"headers": {
|
|
2924
|
+
"Content-Range": {
|
|
2925
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
2926
|
+
"schema": {
|
|
2927
|
+
"type": "string"
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
"/Currencies": {
|
|
2936
|
+
"get": {
|
|
2937
|
+
"tags": [
|
|
2938
|
+
"Currencies"
|
|
2939
|
+
],
|
|
2940
|
+
"summary": "Метод получения списка валют",
|
|
2941
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **CurrenciesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
2942
|
+
"parameters": [
|
|
2943
|
+
{
|
|
2944
|
+
"name": "Authorization",
|
|
2945
|
+
"in": "header",
|
|
2946
|
+
"description": "Bearer",
|
|
2947
|
+
"required": true,
|
|
2948
|
+
"schema": {
|
|
2949
|
+
"type": "string"
|
|
2950
|
+
}
|
|
2951
|
+
},
|
|
2952
|
+
{
|
|
2953
|
+
"name": "Range",
|
|
2954
|
+
"in": "header",
|
|
2955
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
2956
|
+
"schema": {
|
|
2957
|
+
"type": "string"
|
|
2958
|
+
}
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"name": "offset",
|
|
2962
|
+
"in": "query",
|
|
2963
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
2964
|
+
"schema": {
|
|
2965
|
+
"type": "string"
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"name": "fetch",
|
|
2970
|
+
"in": "query",
|
|
2971
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
2972
|
+
"schema": {
|
|
2973
|
+
"type": "string"
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2976
|
+
],
|
|
2977
|
+
"responses": {
|
|
2978
|
+
"200": {
|
|
2979
|
+
"description": "OK",
|
|
2980
|
+
"content": {
|
|
2981
|
+
"text/plain": {
|
|
2982
|
+
"schema": {
|
|
2983
|
+
"type": "object",
|
|
2984
|
+
"additionalProperties": {
|
|
2985
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Currencies.ListResult"
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
"application/json": {
|
|
2990
|
+
"schema": {
|
|
2991
|
+
"type": "object",
|
|
2992
|
+
"additionalProperties": {
|
|
2993
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Currencies.ListResult"
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
},
|
|
2997
|
+
"text/json": {
|
|
2998
|
+
"schema": {
|
|
2999
|
+
"type": "object",
|
|
3000
|
+
"additionalProperties": {
|
|
3001
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Currencies.ListResult"
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
},
|
|
3007
|
+
"401": {
|
|
3008
|
+
"description": "Unauthorized"
|
|
3009
|
+
},
|
|
3010
|
+
"403": {
|
|
3011
|
+
"description": "Forbidden"
|
|
3012
|
+
},
|
|
3013
|
+
"206": {
|
|
3014
|
+
"description": "PartialContent",
|
|
3015
|
+
"headers": {
|
|
3016
|
+
"Content-Range": {
|
|
3017
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
3018
|
+
"schema": {
|
|
3019
|
+
"type": "string"
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
}
|
|
3023
|
+
}
|
|
3024
|
+
}
|
|
3025
|
+
}
|
|
3026
|
+
},
|
|
3027
|
+
"/Events": {
|
|
3028
|
+
"get": {
|
|
3029
|
+
"tags": [
|
|
3030
|
+
"Events"
|
|
3031
|
+
],
|
|
3032
|
+
"summary": "Метод получения списка доступных событий",
|
|
3033
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **EventList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
3034
|
+
"parameters": [
|
|
3035
|
+
{
|
|
3036
|
+
"name": "Authorization",
|
|
3037
|
+
"in": "header",
|
|
3038
|
+
"description": "Bearer",
|
|
3039
|
+
"required": true,
|
|
3040
|
+
"schema": {
|
|
3041
|
+
"type": "string"
|
|
3042
|
+
}
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"name": "Range",
|
|
3046
|
+
"in": "header",
|
|
3047
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
3048
|
+
"schema": {
|
|
3049
|
+
"type": "string"
|
|
3050
|
+
}
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
"name": "offset",
|
|
3054
|
+
"in": "query",
|
|
3055
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
3056
|
+
"schema": {
|
|
3057
|
+
"type": "string"
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
"name": "fetch",
|
|
3062
|
+
"in": "query",
|
|
3063
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
3064
|
+
"schema": {
|
|
3065
|
+
"type": "string"
|
|
3066
|
+
}
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
"name": "eventTransportTypeID",
|
|
3070
|
+
"in": "query",
|
|
3071
|
+
"description": "Тип отправки событий, выдаваемых в списке",
|
|
3072
|
+
"schema": {
|
|
3073
|
+
"type": "int16",
|
|
3074
|
+
"default": null
|
|
3075
|
+
}
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
"name": "isSystem",
|
|
3079
|
+
"in": "query",
|
|
3080
|
+
"description": "Признак включения в список только системных событий",
|
|
3081
|
+
"schema": {
|
|
3082
|
+
"enum": [
|
|
3083
|
+
"true",
|
|
3084
|
+
"false"
|
|
3085
|
+
],
|
|
3086
|
+
"type": "boolean",
|
|
3087
|
+
"default": null
|
|
3088
|
+
}
|
|
3089
|
+
},
|
|
3090
|
+
{
|
|
3091
|
+
"name": "isHidden",
|
|
3092
|
+
"in": "query",
|
|
3093
|
+
"description": "Признак включения в список скрытых событий",
|
|
3094
|
+
"schema": {
|
|
3095
|
+
"enum": [
|
|
3096
|
+
"true",
|
|
3097
|
+
"false"
|
|
3098
|
+
],
|
|
3099
|
+
"type": "boolean",
|
|
3100
|
+
"default": null
|
|
3101
|
+
}
|
|
3102
|
+
}
|
|
3103
|
+
],
|
|
3104
|
+
"responses": {
|
|
3105
|
+
"200": {
|
|
3106
|
+
"description": "OK",
|
|
3107
|
+
"content": {
|
|
3108
|
+
"text/plain": {
|
|
3109
|
+
"schema": {
|
|
3110
|
+
"type": "array",
|
|
3111
|
+
"items": {
|
|
3112
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Events.ListResult"
|
|
3113
|
+
}
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
"application/json": {
|
|
3117
|
+
"schema": {
|
|
3118
|
+
"type": "array",
|
|
3119
|
+
"items": {
|
|
3120
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Events.ListResult"
|
|
3121
|
+
}
|
|
3122
|
+
}
|
|
3123
|
+
},
|
|
3124
|
+
"text/json": {
|
|
3125
|
+
"schema": {
|
|
3126
|
+
"type": "array",
|
|
3127
|
+
"items": {
|
|
3128
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Events.ListResult"
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
},
|
|
3134
|
+
"401": {
|
|
3135
|
+
"description": "Unauthorized"
|
|
3136
|
+
},
|
|
3137
|
+
"403": {
|
|
3138
|
+
"description": "Forbidden"
|
|
3139
|
+
},
|
|
3140
|
+
"206": {
|
|
3141
|
+
"description": "PartialContent",
|
|
3142
|
+
"headers": {
|
|
3143
|
+
"Content-Range": {
|
|
3144
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
3145
|
+
"schema": {
|
|
3146
|
+
"type": "string"
|
|
3147
|
+
}
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
},
|
|
3154
|
+
"/MeasurementUnits": {
|
|
3155
|
+
"get": {
|
|
3156
|
+
"tags": [
|
|
3157
|
+
"MeasurementUnits"
|
|
3158
|
+
],
|
|
3159
|
+
"summary": "Метод получения списка единиц измерения",
|
|
3160
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **MeasurementUnitList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
3161
|
+
"parameters": [
|
|
3162
|
+
{
|
|
3163
|
+
"name": "Authorization",
|
|
3164
|
+
"in": "header",
|
|
3165
|
+
"description": "Bearer",
|
|
3166
|
+
"required": true,
|
|
3167
|
+
"schema": {
|
|
3168
|
+
"type": "string"
|
|
3169
|
+
}
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
"name": "Range",
|
|
3173
|
+
"in": "header",
|
|
3174
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
3175
|
+
"schema": {
|
|
3176
|
+
"type": "string"
|
|
3177
|
+
}
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"name": "offset",
|
|
3181
|
+
"in": "query",
|
|
3182
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
3183
|
+
"schema": {
|
|
3184
|
+
"type": "string"
|
|
3185
|
+
}
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
"name": "fetch",
|
|
3189
|
+
"in": "query",
|
|
3190
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
3191
|
+
"schema": {
|
|
3192
|
+
"type": "string"
|
|
3193
|
+
}
|
|
3194
|
+
}
|
|
3195
|
+
],
|
|
3196
|
+
"responses": {
|
|
3197
|
+
"200": {
|
|
3198
|
+
"description": "OK",
|
|
3199
|
+
"content": {
|
|
3200
|
+
"text/plain": {
|
|
3201
|
+
"schema": {
|
|
3202
|
+
"type": "object",
|
|
3203
|
+
"additionalProperties": {
|
|
3204
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Common.MeasurementUnitResult"
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3207
|
+
},
|
|
3208
|
+
"application/json": {
|
|
3209
|
+
"schema": {
|
|
3210
|
+
"type": "object",
|
|
3211
|
+
"additionalProperties": {
|
|
3212
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Common.MeasurementUnitResult"
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
},
|
|
3216
|
+
"text/json": {
|
|
3217
|
+
"schema": {
|
|
3218
|
+
"type": "object",
|
|
3219
|
+
"additionalProperties": {
|
|
3220
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Common.MeasurementUnitResult"
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
3223
|
+
}
|
|
3224
|
+
}
|
|
3225
|
+
},
|
|
3226
|
+
"401": {
|
|
3227
|
+
"description": "Unauthorized"
|
|
3228
|
+
},
|
|
3229
|
+
"403": {
|
|
3230
|
+
"description": "Forbidden"
|
|
3231
|
+
},
|
|
3232
|
+
"206": {
|
|
3233
|
+
"description": "PartialContent",
|
|
3234
|
+
"headers": {
|
|
3235
|
+
"Content-Range": {
|
|
3236
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
3237
|
+
"schema": {
|
|
3238
|
+
"type": "string"
|
|
3239
|
+
}
|
|
3240
|
+
}
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3245
|
+
},
|
|
3246
|
+
"/PowerBIReports": {
|
|
3247
|
+
"get": {
|
|
3248
|
+
"tags": [
|
|
3249
|
+
"PowerBIReports"
|
|
3250
|
+
],
|
|
3251
|
+
"summary": "Метод получения информации по PowerBI отчетам",
|
|
3252
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **PowerBIReportList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
3253
|
+
"parameters": [
|
|
3254
|
+
{
|
|
3255
|
+
"name": "Authorization",
|
|
3256
|
+
"in": "header",
|
|
3257
|
+
"description": "Bearer",
|
|
3258
|
+
"required": true,
|
|
3259
|
+
"schema": {
|
|
3260
|
+
"type": "string"
|
|
3261
|
+
}
|
|
3262
|
+
},
|
|
3263
|
+
{
|
|
3264
|
+
"name": "Range",
|
|
3265
|
+
"in": "header",
|
|
3266
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
3267
|
+
"schema": {
|
|
3268
|
+
"type": "string"
|
|
3269
|
+
}
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"name": "offset",
|
|
3273
|
+
"in": "query",
|
|
3274
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
3275
|
+
"schema": {
|
|
3276
|
+
"type": "string"
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"name": "fetch",
|
|
3281
|
+
"in": "query",
|
|
3282
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
3283
|
+
"schema": {
|
|
3284
|
+
"type": "string"
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3287
|
+
],
|
|
3288
|
+
"responses": {
|
|
3289
|
+
"200": {
|
|
3290
|
+
"description": "OK",
|
|
3291
|
+
"content": {
|
|
3292
|
+
"text/plain": {
|
|
3293
|
+
"schema": {
|
|
3294
|
+
"type": "array",
|
|
3295
|
+
"items": {
|
|
3296
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.PowerBiReports.PowerBIReportResult"
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
},
|
|
3300
|
+
"application/json": {
|
|
3301
|
+
"schema": {
|
|
3302
|
+
"type": "array",
|
|
3303
|
+
"items": {
|
|
3304
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.PowerBiReports.PowerBIReportResult"
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
},
|
|
3308
|
+
"text/json": {
|
|
3309
|
+
"schema": {
|
|
3310
|
+
"type": "array",
|
|
3311
|
+
"items": {
|
|
3312
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.PowerBiReports.PowerBIReportResult"
|
|
3313
|
+
}
|
|
3314
|
+
}
|
|
3315
|
+
}
|
|
3316
|
+
}
|
|
3317
|
+
},
|
|
3318
|
+
"401": {
|
|
3319
|
+
"description": "Unauthorized"
|
|
3320
|
+
},
|
|
3321
|
+
"403": {
|
|
3322
|
+
"description": "Forbidden"
|
|
3323
|
+
},
|
|
3324
|
+
"206": {
|
|
3325
|
+
"description": "PartialContent",
|
|
3326
|
+
"headers": {
|
|
3327
|
+
"Content-Range": {
|
|
3328
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
3329
|
+
"schema": {
|
|
3330
|
+
"type": "string"
|
|
3331
|
+
}
|
|
3332
|
+
}
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
},
|
|
3338
|
+
"/PowerBIReports/{id}": {
|
|
3339
|
+
"get": {
|
|
3340
|
+
"tags": [
|
|
3341
|
+
"PowerBIReports"
|
|
3342
|
+
],
|
|
3343
|
+
"summary": "Метод получения данных отчета",
|
|
3344
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **PowerBIReportGet**",
|
|
3345
|
+
"parameters": [
|
|
3346
|
+
{
|
|
3347
|
+
"name": "id",
|
|
3348
|
+
"in": "path",
|
|
3349
|
+
"required": true,
|
|
3350
|
+
"schema": {
|
|
3351
|
+
"type": "integer",
|
|
3352
|
+
"format": "int32"
|
|
3353
|
+
}
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
"name": "Authorization",
|
|
3357
|
+
"in": "header",
|
|
3358
|
+
"description": "Bearer",
|
|
3359
|
+
"required": true,
|
|
3360
|
+
"schema": {
|
|
3361
|
+
"type": "string"
|
|
3362
|
+
}
|
|
3363
|
+
}
|
|
3364
|
+
],
|
|
3365
|
+
"responses": {
|
|
3366
|
+
"200": {
|
|
3367
|
+
"description": "OK",
|
|
3368
|
+
"content": {
|
|
3369
|
+
"text/plain": {
|
|
3370
|
+
"schema": {
|
|
3371
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.PowerBiReports.PowerBIReportResult"
|
|
3372
|
+
}
|
|
3373
|
+
},
|
|
3374
|
+
"application/json": {
|
|
3375
|
+
"schema": {
|
|
3376
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.PowerBiReports.PowerBIReportResult"
|
|
3377
|
+
}
|
|
3378
|
+
},
|
|
3379
|
+
"text/json": {
|
|
3380
|
+
"schema": {
|
|
3381
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.PowerBiReports.PowerBIReportResult"
|
|
3382
|
+
}
|
|
3383
|
+
}
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
"404": {
|
|
3387
|
+
"description": "Not Found"
|
|
3388
|
+
},
|
|
3389
|
+
"401": {
|
|
3390
|
+
"description": "Unauthorized"
|
|
3391
|
+
},
|
|
3392
|
+
"403": {
|
|
3393
|
+
"description": "Forbidden"
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
}
|
|
3397
|
+
},
|
|
3398
|
+
"/SystemTags": {
|
|
3399
|
+
"get": {
|
|
3400
|
+
"tags": [
|
|
3401
|
+
"SystemTags"
|
|
3402
|
+
],
|
|
3403
|
+
"summary": "Метод получения списка доступных системных тэгов",
|
|
3404
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TagsList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
3405
|
+
"parameters": [
|
|
3406
|
+
{
|
|
3407
|
+
"name": "Authorization",
|
|
3408
|
+
"in": "header",
|
|
3409
|
+
"description": "Bearer",
|
|
3410
|
+
"required": true,
|
|
3411
|
+
"schema": {
|
|
3412
|
+
"type": "string"
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"name": "Range",
|
|
3417
|
+
"in": "header",
|
|
3418
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
3419
|
+
"schema": {
|
|
3420
|
+
"type": "string"
|
|
3421
|
+
}
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"name": "offset",
|
|
3425
|
+
"in": "query",
|
|
3426
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
3427
|
+
"schema": {
|
|
3428
|
+
"type": "string"
|
|
3429
|
+
}
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"name": "fetch",
|
|
3433
|
+
"in": "query",
|
|
3434
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
3435
|
+
"schema": {
|
|
3436
|
+
"type": "string"
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
],
|
|
3440
|
+
"responses": {
|
|
3441
|
+
"200": {
|
|
3442
|
+
"description": "OK",
|
|
3443
|
+
"content": {
|
|
3444
|
+
"text/plain": {
|
|
3445
|
+
"schema": {
|
|
3446
|
+
"type": "array",
|
|
3447
|
+
"items": {
|
|
3448
|
+
"$ref": "#/components/schemas/SmartService.Common.Results.IdNameResult`1[[System.Int16, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
|
|
3449
|
+
}
|
|
3450
|
+
}
|
|
3451
|
+
},
|
|
3452
|
+
"application/json": {
|
|
3453
|
+
"schema": {
|
|
3454
|
+
"type": "array",
|
|
3455
|
+
"items": {
|
|
3456
|
+
"$ref": "#/components/schemas/SmartService.Common.Results.IdNameResult`1[[System.Int16, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
|
|
3457
|
+
}
|
|
3458
|
+
}
|
|
3459
|
+
},
|
|
3460
|
+
"text/json": {
|
|
3461
|
+
"schema": {
|
|
3462
|
+
"type": "array",
|
|
3463
|
+
"items": {
|
|
3464
|
+
"$ref": "#/components/schemas/SmartService.Common.Results.IdNameResult`1[[System.Int16, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
|
|
3465
|
+
}
|
|
3466
|
+
}
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
},
|
|
3470
|
+
"401": {
|
|
3471
|
+
"description": "Unauthorized"
|
|
3472
|
+
},
|
|
3473
|
+
"403": {
|
|
3474
|
+
"description": "Forbidden"
|
|
3475
|
+
},
|
|
3476
|
+
"206": {
|
|
3477
|
+
"description": "PartialContent",
|
|
3478
|
+
"headers": {
|
|
3479
|
+
"Content-Range": {
|
|
3480
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
3481
|
+
"schema": {
|
|
3482
|
+
"type": "string"
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
},
|
|
3490
|
+
"/Tags": {
|
|
3491
|
+
"get": {
|
|
3492
|
+
"tags": [
|
|
3493
|
+
"Tags"
|
|
3494
|
+
],
|
|
3495
|
+
"summary": "Метод получения списка доступных тэгов",
|
|
3496
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TagsList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
3497
|
+
"parameters": [
|
|
3498
|
+
{
|
|
3499
|
+
"name": "searchText",
|
|
3500
|
+
"in": "query",
|
|
3501
|
+
"description": "Тексовый поиск по тэгам (like-синтаксис)",
|
|
3502
|
+
"schema": {
|
|
3503
|
+
"type": "string"
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
"name": "Authorization",
|
|
3508
|
+
"in": "header",
|
|
3509
|
+
"description": "Bearer",
|
|
3510
|
+
"required": true,
|
|
3511
|
+
"schema": {
|
|
3512
|
+
"type": "string"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "Range",
|
|
3517
|
+
"in": "header",
|
|
3518
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
3519
|
+
"schema": {
|
|
3520
|
+
"type": "string"
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"name": "offset",
|
|
3525
|
+
"in": "query",
|
|
3526
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
3527
|
+
"schema": {
|
|
3528
|
+
"type": "string"
|
|
3529
|
+
}
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"name": "fetch",
|
|
3533
|
+
"in": "query",
|
|
3534
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
3535
|
+
"schema": {
|
|
3536
|
+
"type": "string"
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
],
|
|
3540
|
+
"responses": {
|
|
3541
|
+
"200": {
|
|
3542
|
+
"description": "OK",
|
|
3543
|
+
"content": {
|
|
3544
|
+
"text/plain": {
|
|
3545
|
+
"schema": {
|
|
3546
|
+
"type": "array",
|
|
3547
|
+
"items": {
|
|
3548
|
+
"type": "string"
|
|
3549
|
+
}
|
|
3550
|
+
}
|
|
3551
|
+
},
|
|
3552
|
+
"application/json": {
|
|
3553
|
+
"schema": {
|
|
3554
|
+
"type": "array",
|
|
3555
|
+
"items": {
|
|
3556
|
+
"type": "string"
|
|
3557
|
+
}
|
|
3558
|
+
}
|
|
3559
|
+
},
|
|
3560
|
+
"text/json": {
|
|
3561
|
+
"schema": {
|
|
3562
|
+
"type": "array",
|
|
3563
|
+
"items": {
|
|
3564
|
+
"type": "string"
|
|
3565
|
+
}
|
|
3566
|
+
}
|
|
3567
|
+
}
|
|
3568
|
+
}
|
|
3569
|
+
},
|
|
3570
|
+
"401": {
|
|
3571
|
+
"description": "Unauthorized"
|
|
3572
|
+
},
|
|
3573
|
+
"403": {
|
|
3574
|
+
"description": "Forbidden"
|
|
3575
|
+
},
|
|
3576
|
+
"206": {
|
|
3577
|
+
"description": "PartialContent",
|
|
3578
|
+
"headers": {
|
|
3579
|
+
"Content-Range": {
|
|
3580
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
3581
|
+
"schema": {
|
|
3582
|
+
"type": "string"
|
|
3583
|
+
}
|
|
3584
|
+
}
|
|
3585
|
+
}
|
|
3586
|
+
}
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
},
|
|
3590
|
+
"/Timezones": {
|
|
3591
|
+
"get": {
|
|
3592
|
+
"tags": [
|
|
3593
|
+
"Timezones"
|
|
3594
|
+
],
|
|
3595
|
+
"summary": "Метод получения списка временных зон",
|
|
3596
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TimezonesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
3597
|
+
"parameters": [
|
|
3598
|
+
{
|
|
3599
|
+
"name": "Authorization",
|
|
3600
|
+
"in": "header",
|
|
3601
|
+
"description": "Bearer",
|
|
3602
|
+
"required": true,
|
|
3603
|
+
"schema": {
|
|
3604
|
+
"type": "string"
|
|
3605
|
+
}
|
|
3606
|
+
},
|
|
3607
|
+
{
|
|
3608
|
+
"name": "Range",
|
|
3609
|
+
"in": "header",
|
|
3610
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
3611
|
+
"schema": {
|
|
3612
|
+
"type": "string"
|
|
3613
|
+
}
|
|
3614
|
+
},
|
|
3615
|
+
{
|
|
3616
|
+
"name": "offset",
|
|
3617
|
+
"in": "query",
|
|
3618
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
3619
|
+
"schema": {
|
|
3620
|
+
"type": "string"
|
|
3621
|
+
}
|
|
3622
|
+
},
|
|
3623
|
+
{
|
|
3624
|
+
"name": "fetch",
|
|
3625
|
+
"in": "query",
|
|
3626
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
3627
|
+
"schema": {
|
|
3628
|
+
"type": "string"
|
|
3629
|
+
}
|
|
3630
|
+
}
|
|
3631
|
+
],
|
|
3632
|
+
"responses": {
|
|
3633
|
+
"200": {
|
|
3634
|
+
"description": "OK",
|
|
3635
|
+
"content": {
|
|
3636
|
+
"text/plain": {
|
|
3637
|
+
"schema": {
|
|
3638
|
+
"type": "object",
|
|
3639
|
+
"additionalProperties": {
|
|
3640
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Timezones.ListResult"
|
|
3641
|
+
}
|
|
3642
|
+
}
|
|
3643
|
+
},
|
|
3644
|
+
"application/json": {
|
|
3645
|
+
"schema": {
|
|
3646
|
+
"type": "object",
|
|
3647
|
+
"additionalProperties": {
|
|
3648
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Timezones.ListResult"
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
},
|
|
3652
|
+
"text/json": {
|
|
3653
|
+
"schema": {
|
|
3654
|
+
"type": "object",
|
|
3655
|
+
"additionalProperties": {
|
|
3656
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Timezones.ListResult"
|
|
3657
|
+
}
|
|
3658
|
+
}
|
|
3659
|
+
}
|
|
3660
|
+
}
|
|
3661
|
+
},
|
|
3662
|
+
"401": {
|
|
3663
|
+
"description": "Unauthorized"
|
|
3664
|
+
},
|
|
3665
|
+
"403": {
|
|
3666
|
+
"description": "Forbidden"
|
|
3667
|
+
},
|
|
3668
|
+
"206": {
|
|
3669
|
+
"description": "PartialContent",
|
|
3670
|
+
"headers": {
|
|
3671
|
+
"Content-Range": {
|
|
3672
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
3673
|
+
"schema": {
|
|
3674
|
+
"type": "string"
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
}
|
|
3678
|
+
}
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3681
|
+
},
|
|
3682
|
+
"/Timezones/info": {
|
|
3683
|
+
"get": {
|
|
3684
|
+
"tags": [
|
|
3685
|
+
"Timezones"
|
|
3686
|
+
],
|
|
3687
|
+
"summary": "Метод получения часового пояса тенанта",
|
|
3688
|
+
"description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TimezonesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
|
|
3689
|
+
"parameters": [
|
|
3690
|
+
{
|
|
3691
|
+
"name": "timezoneId",
|
|
3692
|
+
"in": "query",
|
|
3693
|
+
"schema": {
|
|
3694
|
+
"type": "integer",
|
|
3695
|
+
"format": "int32"
|
|
3696
|
+
}
|
|
3697
|
+
},
|
|
3698
|
+
{
|
|
3699
|
+
"name": "Authorization",
|
|
3700
|
+
"in": "header",
|
|
3701
|
+
"description": "Bearer",
|
|
3702
|
+
"required": true,
|
|
3703
|
+
"schema": {
|
|
3704
|
+
"type": "string"
|
|
3705
|
+
}
|
|
3706
|
+
},
|
|
3707
|
+
{
|
|
3708
|
+
"name": "Range",
|
|
3709
|
+
"in": "header",
|
|
3710
|
+
"description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
|
|
3711
|
+
"schema": {
|
|
3712
|
+
"type": "string"
|
|
3713
|
+
}
|
|
3714
|
+
},
|
|
3715
|
+
{
|
|
3716
|
+
"name": "offset",
|
|
3717
|
+
"in": "query",
|
|
3718
|
+
"description": "количество элементов, которое нобходимо пропустить",
|
|
3719
|
+
"schema": {
|
|
3720
|
+
"type": "string"
|
|
3721
|
+
}
|
|
3722
|
+
},
|
|
3723
|
+
{
|
|
3724
|
+
"name": "fetch",
|
|
3725
|
+
"in": "query",
|
|
3726
|
+
"description": "количество эементов, которое необходимо вернуть",
|
|
3727
|
+
"schema": {
|
|
3728
|
+
"type": "string"
|
|
3729
|
+
}
|
|
3730
|
+
}
|
|
3731
|
+
],
|
|
3732
|
+
"responses": {
|
|
3733
|
+
"200": {
|
|
3734
|
+
"description": "OK",
|
|
3735
|
+
"content": {
|
|
3736
|
+
"text/plain": {
|
|
3737
|
+
"schema": {
|
|
3738
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Timezones.TimezoneGetResult"
|
|
3739
|
+
}
|
|
3740
|
+
},
|
|
3741
|
+
"application/json": {
|
|
3742
|
+
"schema": {
|
|
3743
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Timezones.TimezoneGetResult"
|
|
3744
|
+
}
|
|
3745
|
+
},
|
|
3746
|
+
"text/json": {
|
|
3747
|
+
"schema": {
|
|
3748
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Timezones.TimezoneGetResult"
|
|
3749
|
+
}
|
|
3750
|
+
}
|
|
3751
|
+
}
|
|
3752
|
+
},
|
|
3753
|
+
"401": {
|
|
3754
|
+
"description": "Unauthorized"
|
|
3755
|
+
},
|
|
3756
|
+
"403": {
|
|
3757
|
+
"description": "Forbidden"
|
|
3758
|
+
},
|
|
3759
|
+
"206": {
|
|
3760
|
+
"description": "PartialContent",
|
|
3761
|
+
"headers": {
|
|
3762
|
+
"Content-Range": {
|
|
3763
|
+
"description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
|
|
3764
|
+
"schema": {
|
|
3765
|
+
"type": "string"
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
}
|
|
3772
|
+
}
|
|
3773
|
+
},
|
|
3774
|
+
"components": {
|
|
3775
|
+
"schemas": {
|
|
3776
|
+
"HubEx.DataProvider.Api.Data.COMMON.Attribute.AddData": {
|
|
3777
|
+
"required": [
|
|
3778
|
+
"attributeTypeID",
|
|
3779
|
+
"isPublic",
|
|
3780
|
+
"name"
|
|
3781
|
+
],
|
|
3782
|
+
"type": "object",
|
|
3783
|
+
"properties": {
|
|
3784
|
+
"name": {
|
|
3785
|
+
"minLength": 1,
|
|
3786
|
+
"type": "string"
|
|
3787
|
+
},
|
|
3788
|
+
"attributeTypeID": {
|
|
3789
|
+
"type": "integer",
|
|
3790
|
+
"format": "int32"
|
|
3791
|
+
},
|
|
3792
|
+
"domainID": {
|
|
3793
|
+
"type": "integer",
|
|
3794
|
+
"format": "int32",
|
|
3795
|
+
"nullable": true
|
|
3796
|
+
},
|
|
3797
|
+
"isPublic": {
|
|
3798
|
+
"type": "boolean"
|
|
3799
|
+
},
|
|
3800
|
+
"measurementUnitID": {
|
|
3801
|
+
"type": "integer",
|
|
3802
|
+
"format": "int32",
|
|
3803
|
+
"nullable": true
|
|
3804
|
+
},
|
|
3805
|
+
"isRelevantForTask": {
|
|
3806
|
+
"type": "boolean"
|
|
3807
|
+
},
|
|
3808
|
+
"isRelevantForAsset": {
|
|
3809
|
+
"type": "boolean"
|
|
3810
|
+
},
|
|
3811
|
+
"isRelevantForCheckList": {
|
|
3812
|
+
"type": "boolean"
|
|
3813
|
+
},
|
|
3814
|
+
"isRelevantForCompletedWork": {
|
|
3815
|
+
"type": "boolean"
|
|
3816
|
+
},
|
|
3817
|
+
"isRelevantForContract": {
|
|
3818
|
+
"type": "boolean"
|
|
3819
|
+
},
|
|
3820
|
+
"isRelevantForCompany": {
|
|
3821
|
+
"type": "boolean"
|
|
3822
|
+
},
|
|
3823
|
+
"isRelevantForCustomer": {
|
|
3824
|
+
"type": "boolean"
|
|
3825
|
+
},
|
|
3826
|
+
"isRelevantForTechnician": {
|
|
3827
|
+
"type": "boolean"
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3830
|
+
"additionalProperties": false
|
|
3831
|
+
},
|
|
3832
|
+
"HubEx.DataProvider.Api.Data.COMMON.Attribute.UpdateData": {
|
|
3833
|
+
"required": [
|
|
3834
|
+
"attributeTypeID",
|
|
3835
|
+
"isPublic",
|
|
3836
|
+
"name"
|
|
3837
|
+
],
|
|
3838
|
+
"type": "object",
|
|
3839
|
+
"properties": {
|
|
3840
|
+
"name": {
|
|
3841
|
+
"minLength": 1,
|
|
3842
|
+
"type": "string"
|
|
3843
|
+
},
|
|
3844
|
+
"attributeTypeID": {
|
|
3845
|
+
"type": "integer",
|
|
3846
|
+
"format": "int32"
|
|
3847
|
+
},
|
|
3848
|
+
"domainID": {
|
|
3849
|
+
"type": "integer",
|
|
3850
|
+
"format": "int32",
|
|
3851
|
+
"nullable": true
|
|
3852
|
+
},
|
|
3853
|
+
"isPublic": {
|
|
3854
|
+
"type": "boolean"
|
|
3855
|
+
},
|
|
3856
|
+
"measurementUnitID": {
|
|
3857
|
+
"type": "integer",
|
|
3858
|
+
"format": "int32",
|
|
3859
|
+
"nullable": true
|
|
3860
|
+
},
|
|
3861
|
+
"isRelevantForTask": {
|
|
3862
|
+
"type": "boolean"
|
|
3863
|
+
},
|
|
3864
|
+
"isRelevantForAsset": {
|
|
3865
|
+
"type": "boolean"
|
|
3866
|
+
},
|
|
3867
|
+
"isRelevantForCheckList": {
|
|
3868
|
+
"type": "boolean"
|
|
3869
|
+
},
|
|
3870
|
+
"isRelevantForCompletedWork": {
|
|
3871
|
+
"type": "boolean"
|
|
3872
|
+
},
|
|
3873
|
+
"isRelevantForContract": {
|
|
3874
|
+
"type": "boolean"
|
|
3875
|
+
},
|
|
3876
|
+
"isRelevantForCompany": {
|
|
3877
|
+
"type": "boolean"
|
|
3878
|
+
},
|
|
3879
|
+
"isRelevantForCustomer": {
|
|
3880
|
+
"type": "boolean"
|
|
3881
|
+
},
|
|
3882
|
+
"isRelevantForTechnician": {
|
|
3883
|
+
"type": "boolean"
|
|
3884
|
+
},
|
|
3885
|
+
"id": {
|
|
3886
|
+
"type": "integer",
|
|
3887
|
+
"format": "int32"
|
|
3888
|
+
}
|
|
3889
|
+
},
|
|
3890
|
+
"additionalProperties": false
|
|
3891
|
+
},
|
|
3892
|
+
"HubEx.DataProvider.Api.Data.COMMON.AttributeListOfValue.ListOfValueData": {
|
|
3893
|
+
"required": [
|
|
3894
|
+
"key",
|
|
3895
|
+
"value"
|
|
3896
|
+
],
|
|
3897
|
+
"type": "object",
|
|
3898
|
+
"properties": {
|
|
3899
|
+
"key": {
|
|
3900
|
+
"minLength": 1,
|
|
3901
|
+
"type": "string"
|
|
3902
|
+
},
|
|
3903
|
+
"value": {
|
|
3904
|
+
"minLength": 1,
|
|
3905
|
+
"type": "string"
|
|
3906
|
+
}
|
|
3907
|
+
},
|
|
3908
|
+
"additionalProperties": false
|
|
3909
|
+
},
|
|
3910
|
+
"HubEx.DataProvider.Api.Data.COMMON.AttributeListOfValue.MergeData": {
|
|
3911
|
+
"required": [
|
|
3912
|
+
"data"
|
|
3913
|
+
],
|
|
3914
|
+
"type": "object",
|
|
3915
|
+
"properties": {
|
|
3916
|
+
"data": {
|
|
3917
|
+
"type": "array",
|
|
3918
|
+
"items": {
|
|
3919
|
+
"$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.COMMON.AttributeListOfValue.ListOfValueData"
|
|
3920
|
+
}
|
|
3921
|
+
},
|
|
3922
|
+
"attributeID": {
|
|
3923
|
+
"type": "integer",
|
|
3924
|
+
"format": "int32"
|
|
3925
|
+
}
|
|
3926
|
+
},
|
|
3927
|
+
"additionalProperties": false
|
|
3928
|
+
},
|
|
3929
|
+
"HubEx.DataProvider.Api.Data.COMMON.Contact.AddData": {
|
|
3930
|
+
"required": [
|
|
3931
|
+
"fullName"
|
|
3932
|
+
],
|
|
3933
|
+
"type": "object",
|
|
3934
|
+
"properties": {
|
|
3935
|
+
"fullName": {
|
|
3936
|
+
"maxLength": 128,
|
|
3937
|
+
"minLength": 0,
|
|
3938
|
+
"type": "string"
|
|
3939
|
+
},
|
|
3940
|
+
"email": {
|
|
3941
|
+
"maxLength": 128,
|
|
3942
|
+
"minLength": 0,
|
|
3943
|
+
"type": "string",
|
|
3944
|
+
"nullable": true
|
|
3945
|
+
},
|
|
3946
|
+
"phone": {
|
|
3947
|
+
"maxLength": 32,
|
|
3948
|
+
"minLength": 0,
|
|
3949
|
+
"type": "string",
|
|
3950
|
+
"nullable": true
|
|
3951
|
+
},
|
|
3952
|
+
"position": {
|
|
3953
|
+
"maxLength": 128,
|
|
3954
|
+
"minLength": 0,
|
|
3955
|
+
"type": "string",
|
|
3956
|
+
"nullable": true
|
|
3957
|
+
},
|
|
3958
|
+
"description": {
|
|
3959
|
+
"maxLength": 512,
|
|
3960
|
+
"minLength": 0,
|
|
3961
|
+
"type": "string",
|
|
3962
|
+
"nullable": true
|
|
3963
|
+
}
|
|
3964
|
+
},
|
|
3965
|
+
"additionalProperties": false
|
|
3966
|
+
},
|
|
3967
|
+
"HubEx.DataProvider.Api.Data.COMMON.Contact.UpdateData": {
|
|
3968
|
+
"required": [
|
|
3969
|
+
"fullName",
|
|
3970
|
+
"id"
|
|
3971
|
+
],
|
|
3972
|
+
"type": "object",
|
|
3973
|
+
"properties": {
|
|
3974
|
+
"fullName": {
|
|
3975
|
+
"maxLength": 128,
|
|
3976
|
+
"minLength": 0,
|
|
3977
|
+
"type": "string"
|
|
3978
|
+
},
|
|
3979
|
+
"email": {
|
|
3980
|
+
"maxLength": 128,
|
|
3981
|
+
"minLength": 0,
|
|
3982
|
+
"type": "string",
|
|
3983
|
+
"nullable": true
|
|
3984
|
+
},
|
|
3985
|
+
"phone": {
|
|
3986
|
+
"maxLength": 32,
|
|
3987
|
+
"minLength": 0,
|
|
3988
|
+
"type": "string",
|
|
3989
|
+
"nullable": true
|
|
3990
|
+
},
|
|
3991
|
+
"position": {
|
|
3992
|
+
"maxLength": 128,
|
|
3993
|
+
"minLength": 0,
|
|
3994
|
+
"type": "string",
|
|
3995
|
+
"nullable": true
|
|
3996
|
+
},
|
|
3997
|
+
"description": {
|
|
3998
|
+
"maxLength": 512,
|
|
3999
|
+
"minLength": 0,
|
|
4000
|
+
"type": "string",
|
|
4001
|
+
"nullable": true
|
|
4002
|
+
},
|
|
4003
|
+
"id": {
|
|
4004
|
+
"maximum": 2147483647,
|
|
4005
|
+
"minimum": 1,
|
|
4006
|
+
"type": "integer",
|
|
4007
|
+
"format": "int32"
|
|
4008
|
+
}
|
|
4009
|
+
},
|
|
4010
|
+
"additionalProperties": false
|
|
4011
|
+
},
|
|
4012
|
+
"HubEx.Service.COMMON.Api.Results.Application.ApplicationResult": {
|
|
4013
|
+
"type": "object",
|
|
4014
|
+
"properties": {
|
|
4015
|
+
"code": {
|
|
4016
|
+
"type": "string",
|
|
4017
|
+
"description": "Кодовое обозначение приложения",
|
|
4018
|
+
"nullable": true
|
|
4019
|
+
},
|
|
4020
|
+
"nameRu": {
|
|
4021
|
+
"type": "string",
|
|
4022
|
+
"description": "Название приложения на русском",
|
|
4023
|
+
"nullable": true
|
|
4024
|
+
}
|
|
4025
|
+
},
|
|
4026
|
+
"additionalProperties": false,
|
|
4027
|
+
"description": "Модель для контроллера метода получения списка приложений"
|
|
4028
|
+
},
|
|
4029
|
+
"HubEx.Service.COMMON.Api.Results.Attachments.GetResult": {
|
|
4030
|
+
"type": "object",
|
|
4031
|
+
"properties": {
|
|
4032
|
+
"id": {
|
|
4033
|
+
"type": "integer",
|
|
4034
|
+
"description": "Идентификатор файла",
|
|
4035
|
+
"format": "int32"
|
|
4036
|
+
},
|
|
4037
|
+
"fileName": {
|
|
4038
|
+
"type": "string",
|
|
4039
|
+
"description": "Название файла (с расширением)",
|
|
4040
|
+
"nullable": true
|
|
4041
|
+
},
|
|
4042
|
+
"description": {
|
|
4043
|
+
"type": "string",
|
|
4044
|
+
"description": "Описание файла",
|
|
4045
|
+
"nullable": true
|
|
4046
|
+
},
|
|
4047
|
+
"publicUrl": {
|
|
4048
|
+
"type": "string",
|
|
4049
|
+
"description": "Публичная ссылка на файл (только для опубликованных файлов)",
|
|
4050
|
+
"nullable": true
|
|
4051
|
+
},
|
|
4052
|
+
"isUploaded": {
|
|
4053
|
+
"type": "boolean",
|
|
4054
|
+
"description": "Признак успешной загрузки в облачное хранилище (false если сейчас файл загружается)"
|
|
4055
|
+
},
|
|
4056
|
+
"isProtected": {
|
|
4057
|
+
"type": "boolean",
|
|
4058
|
+
"description": "Признак того, что вложенный файл доступен ограниченному набору ролей"
|
|
4059
|
+
},
|
|
4060
|
+
"size": {
|
|
4061
|
+
"type": "integer",
|
|
4062
|
+
"description": "Размер файла в байтах",
|
|
4063
|
+
"format": "int32"
|
|
4064
|
+
},
|
|
4065
|
+
"created": {
|
|
4066
|
+
"type": "string",
|
|
4067
|
+
"description": "Дата загрузки UTC",
|
|
4068
|
+
"format": "date-time"
|
|
4069
|
+
}
|
|
4070
|
+
},
|
|
4071
|
+
"additionalProperties": false,
|
|
4072
|
+
"description": "Данные прикрепленного файла"
|
|
4073
|
+
},
|
|
4074
|
+
"HubEx.Service.COMMON.Api.Results.Attachments.ListResult": {
|
|
4075
|
+
"type": "object",
|
|
4076
|
+
"properties": {
|
|
4077
|
+
"id": {
|
|
4078
|
+
"type": "integer",
|
|
4079
|
+
"description": "Идентификатор файла",
|
|
4080
|
+
"format": "int32"
|
|
4081
|
+
},
|
|
4082
|
+
"fileName": {
|
|
4083
|
+
"type": "string",
|
|
4084
|
+
"description": "Название файла (с расширением)",
|
|
4085
|
+
"nullable": true
|
|
4086
|
+
},
|
|
4087
|
+
"description": {
|
|
4088
|
+
"type": "string",
|
|
4089
|
+
"description": "Описание файла",
|
|
4090
|
+
"nullable": true
|
|
4091
|
+
},
|
|
4092
|
+
"publicUrl": {
|
|
4093
|
+
"type": "string",
|
|
4094
|
+
"description": "Публичная ссылка на файл (только для опубликованных файлов)",
|
|
4095
|
+
"nullable": true
|
|
4096
|
+
},
|
|
4097
|
+
"isUploaded": {
|
|
4098
|
+
"type": "boolean",
|
|
4099
|
+
"description": "Признак успешной загрузки в облачное хранилище (false если сейчас файл загружается)"
|
|
4100
|
+
},
|
|
4101
|
+
"isProtected": {
|
|
4102
|
+
"type": "boolean",
|
|
4103
|
+
"description": "Признак того, что вложенный файл доступен ограниченному набору ролей"
|
|
4104
|
+
},
|
|
4105
|
+
"size": {
|
|
4106
|
+
"type": "integer",
|
|
4107
|
+
"description": "Размер файла в байтах",
|
|
4108
|
+
"format": "int32"
|
|
4109
|
+
},
|
|
4110
|
+
"created": {
|
|
4111
|
+
"type": "string",
|
|
4112
|
+
"description": "Дата загрузки UTC",
|
|
4113
|
+
"format": "date-time"
|
|
4114
|
+
}
|
|
4115
|
+
},
|
|
4116
|
+
"additionalProperties": false,
|
|
4117
|
+
"description": "Данные прикрепленного файла"
|
|
4118
|
+
},
|
|
4119
|
+
"HubEx.Service.COMMON.Api.Results.Attachments.PublishResult": {
|
|
4120
|
+
"type": "object",
|
|
4121
|
+
"properties": {
|
|
4122
|
+
"attachmentID": {
|
|
4123
|
+
"type": "integer",
|
|
4124
|
+
"description": "Идентификатор вложенного файла",
|
|
4125
|
+
"format": "int32"
|
|
4126
|
+
},
|
|
4127
|
+
"publicUrl": {
|
|
4128
|
+
"type": "string",
|
|
4129
|
+
"description": "Публичная ссылка",
|
|
4130
|
+
"nullable": true
|
|
4131
|
+
}
|
|
4132
|
+
},
|
|
4133
|
+
"additionalProperties": false,
|
|
4134
|
+
"description": "Результат публикации файлов для общего доступа"
|
|
4135
|
+
},
|
|
4136
|
+
"HubEx.Service.COMMON.Api.Results.Attachments.UploadResult": {
|
|
4137
|
+
"type": "object",
|
|
4138
|
+
"properties": {
|
|
4139
|
+
"attachmentID": {
|
|
4140
|
+
"type": "integer",
|
|
4141
|
+
"description": "Идентификатор вложенного файла",
|
|
4142
|
+
"format": "int32"
|
|
4143
|
+
},
|
|
4144
|
+
"checkSum": {
|
|
4145
|
+
"type": "string",
|
|
4146
|
+
"description": "Проверочная сумма MD5",
|
|
4147
|
+
"nullable": true
|
|
4148
|
+
},
|
|
4149
|
+
"fileName": {
|
|
4150
|
+
"type": "string",
|
|
4151
|
+
"description": "Имя загруженного файла",
|
|
4152
|
+
"nullable": true
|
|
4153
|
+
},
|
|
4154
|
+
"isProtected": {
|
|
4155
|
+
"type": "boolean",
|
|
4156
|
+
"description": "Признак того, что вложенный файл доступен ограниченному набору ролей"
|
|
4157
|
+
}
|
|
4158
|
+
},
|
|
4159
|
+
"additionalProperties": false,
|
|
4160
|
+
"description": "Результат загрузки файла"
|
|
4161
|
+
},
|
|
4162
|
+
"HubEx.Service.COMMON.Api.Results.AttributeTypes.ExtListResult": {
|
|
4163
|
+
"type": "object",
|
|
4164
|
+
"properties": {
|
|
4165
|
+
"code": {
|
|
4166
|
+
"type": "string",
|
|
4167
|
+
"description": "Код типа атрибута",
|
|
4168
|
+
"nullable": true
|
|
4169
|
+
},
|
|
4170
|
+
"name": {
|
|
4171
|
+
"type": "string",
|
|
4172
|
+
"description": "Название типа атрибута",
|
|
4173
|
+
"nullable": true
|
|
4174
|
+
},
|
|
4175
|
+
"id": {
|
|
4176
|
+
"type": "integer",
|
|
4177
|
+
"description": "Идентификатор типа атрибута",
|
|
4178
|
+
"format": "int32"
|
|
4179
|
+
},
|
|
4180
|
+
"domain": {
|
|
4181
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.DomainResult"
|
|
4182
|
+
}
|
|
4183
|
+
},
|
|
4184
|
+
"additionalProperties": false,
|
|
4185
|
+
"description": "Представляет тип атрибута и его домен"
|
|
4186
|
+
},
|
|
4187
|
+
"HubEx.Service.COMMON.Api.Results.AttributeTypes.ListResult": {
|
|
4188
|
+
"type": "object",
|
|
4189
|
+
"properties": {
|
|
4190
|
+
"code": {
|
|
4191
|
+
"type": "string",
|
|
4192
|
+
"description": "Код типа атрибута",
|
|
4193
|
+
"nullable": true
|
|
4194
|
+
},
|
|
4195
|
+
"name": {
|
|
4196
|
+
"type": "string",
|
|
4197
|
+
"description": "Название типа атрибута",
|
|
4198
|
+
"nullable": true
|
|
4199
|
+
}
|
|
4200
|
+
},
|
|
4201
|
+
"additionalProperties": false,
|
|
4202
|
+
"description": "Элемент списка типов атрибутов"
|
|
4203
|
+
},
|
|
4204
|
+
"HubEx.Service.COMMON.Api.Results.Attributes.AttributeResultGet": {
|
|
4205
|
+
"type": "object",
|
|
4206
|
+
"properties": {
|
|
4207
|
+
"name": {
|
|
4208
|
+
"type": "string",
|
|
4209
|
+
"description": "Название пользовательского поля",
|
|
4210
|
+
"nullable": true
|
|
4211
|
+
},
|
|
4212
|
+
"type": {
|
|
4213
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.AttributeTypeResult"
|
|
4214
|
+
},
|
|
4215
|
+
"domain": {
|
|
4216
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.DomainResult"
|
|
4217
|
+
},
|
|
4218
|
+
"isPublic": {
|
|
4219
|
+
"type": "boolean",
|
|
4220
|
+
"description": "Признак публичного пользоваетльского поля (поля будет доступно на шильде)"
|
|
4221
|
+
},
|
|
4222
|
+
"measurementUnit": {
|
|
4223
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Common.MeasurementUnitResult"
|
|
4224
|
+
},
|
|
4225
|
+
"deleted": {
|
|
4226
|
+
"type": "string",
|
|
4227
|
+
"description": "Метка времени удаления атрибута",
|
|
4228
|
+
"format": "date-time",
|
|
4229
|
+
"nullable": true
|
|
4230
|
+
},
|
|
4231
|
+
"relevantFor": {
|
|
4232
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.RelevantAttributeResult"
|
|
4233
|
+
},
|
|
4234
|
+
"listOfValues": {
|
|
4235
|
+
"type": "array",
|
|
4236
|
+
"items": {
|
|
4237
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Auxiliary.KeyValueDeleted`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
|
|
4238
|
+
},
|
|
4239
|
+
"description": "Список доступных значений",
|
|
4240
|
+
"nullable": true
|
|
4241
|
+
}
|
|
4242
|
+
},
|
|
4243
|
+
"additionalProperties": false,
|
|
4244
|
+
"description": "Пользовательское поле (атрибут)"
|
|
4245
|
+
},
|
|
4246
|
+
"HubEx.Service.COMMON.Api.Results.Attributes.AttributeResultList": {
|
|
4247
|
+
"type": "object",
|
|
4248
|
+
"properties": {
|
|
4249
|
+
"name": {
|
|
4250
|
+
"type": "string",
|
|
4251
|
+
"description": "Название пользовательского поля",
|
|
4252
|
+
"nullable": true
|
|
4253
|
+
},
|
|
4254
|
+
"type": {
|
|
4255
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.AttributeTypeResult"
|
|
4256
|
+
},
|
|
4257
|
+
"domain": {
|
|
4258
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.DomainResult"
|
|
4259
|
+
},
|
|
4260
|
+
"isPublic": {
|
|
4261
|
+
"type": "boolean",
|
|
4262
|
+
"description": "Признак публичного пользоваетльского поля (поля будет доступно на шильде)"
|
|
4263
|
+
},
|
|
4264
|
+
"measurementUnit": {
|
|
4265
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Common.MeasurementUnitResult"
|
|
4266
|
+
},
|
|
4267
|
+
"deleted": {
|
|
4268
|
+
"type": "string",
|
|
4269
|
+
"description": "Метка времени удаления атрибута",
|
|
4270
|
+
"format": "date-time",
|
|
4271
|
+
"nullable": true
|
|
4272
|
+
},
|
|
4273
|
+
"relevantFor": {
|
|
4274
|
+
"$ref": "#/components/schemas/HubEx.Service.COMMON.Api.Results.Attributes.RelevantAttributeResult"
|
|
4275
|
+
},
|
|
4276
|
+
"listOfValues": {
|
|
4277
|
+
"type": "object",
|
|
4278
|
+
"additionalProperties": {
|
|
4279
|
+
"type": "string",
|
|
4280
|
+
"nullable": true
|
|
4281
|
+
},
|
|
4282
|
+
"description": "Список доступных значений",
|
|
4283
|
+
"nullable": true
|
|
4284
|
+
}
|
|
4285
|
+
},
|
|
4286
|
+
"additionalProperties": false,
|
|
4287
|
+
"description": "Пользовательское поле (атрибут)"
|
|
4288
|
+
},
|
|
4289
|
+
"HubEx.Service.COMMON.Api.Results.Attributes.AttributeTypeResult": {
|
|
4290
|
+
"type": "object",
|
|
4291
|
+
"properties": {
|
|
4292
|
+
"id": {
|
|
4293
|
+
"type": "integer",
|
|
4294
|
+
"format": "int32"
|
|
4295
|
+
},
|
|
4296
|
+
"name": {
|
|
4297
|
+
"type": "string",
|
|
4298
|
+
"nullable": true
|
|
4299
|
+
},
|
|
4300
|
+
"code": {
|
|
4301
|
+
"type": "string",
|
|
4302
|
+
"description": "Код атрибута",
|
|
4303
|
+
"nullable": true
|
|
4304
|
+
}
|
|
4305
|
+
},
|
|
4306
|
+
"additionalProperties": false,
|
|
4307
|
+
"description": "Тип атрибута"
|
|
4308
|
+
},
|
|
4309
|
+
"HubEx.Service.COMMON.Api.Results.Attributes.DomainResult": {
|
|
4310
|
+
"type": "object",
|
|
4311
|
+
"properties": {
|
|
4312
|
+
"id": {
|
|
4313
|
+
"type": "integer",
|
|
4314
|
+
"description": "Внутренний идентификатор домена",
|
|
4315
|
+
"format": "int32",
|
|
4316
|
+
"nullable": true
|
|
4317
|
+
},
|
|
4318
|
+
"name": {
|
|
4319
|
+
"type": "string",
|
|
4320
|
+
"description": "Описание для UI домена",
|
|
4321
|
+
"nullable": true
|
|
4322
|
+
},
|
|
4323
|
+
"code": {
|
|
4324
|
+
"type": "string",
|
|
4325
|
+
"description": "Код домена - указывает базовую сущность для формирования источника данных для атрибута.списка атрибутов",
|
|
4326
|
+
"nullable": true
|
|
4327
|
+
}
|
|
4328
|
+
},
|
|
4329
|
+
"additionalProperties": false,
|
|
4330
|
+
"description": "Домен атрибута"
|
|
4331
|
+
},
|
|
4332
|
+
"HubEx.Service.COMMON.Api.Results.Attributes.RelevantAttributeResult": {
|
|
4333
|
+
"type": "object",
|
|
4334
|
+
"properties": {
|
|
4335
|
+
"task": {
|
|
4336
|
+
"type": "boolean",
|
|
4337
|
+
"description": "Флаг применимости к задаче"
|
|
4338
|
+
},
|
|
4339
|
+
"asset": {
|
|
4340
|
+
"type": "boolean",
|
|
4341
|
+
"description": "Флаг применимости к оборудованию"
|
|
4342
|
+
},
|
|
4343
|
+
"checkList": {
|
|
4344
|
+
"type": "boolean",
|
|
4345
|
+
"description": "Флаг применимости к чек-листу"
|
|
4346
|
+
},
|
|
4347
|
+
"completedWork": {
|
|
4348
|
+
"type": "boolean",
|
|
4349
|
+
"description": "Флаг применимости к выполненной работе"
|
|
4350
|
+
},
|
|
4351
|
+
"contract": {
|
|
4352
|
+
"type": "boolean",
|
|
4353
|
+
"description": "Флаг применимости к договорам"
|
|
4354
|
+
},
|
|
4355
|
+
"company": {
|
|
4356
|
+
"type": "boolean",
|
|
4357
|
+
"description": "Флаг применимости к компании"
|
|
4358
|
+
},
|
|
4359
|
+
"customer": {
|
|
4360
|
+
"type": "boolean",
|
|
4361
|
+
"description": "Флаг применимости к заказчику"
|
|
4362
|
+
},
|
|
4363
|
+
"technician": {
|
|
4364
|
+
"type": "boolean",
|
|
4365
|
+
"description": "Флаг применимости к сотруднику"
|
|
4366
|
+
}
|
|
4367
|
+
},
|
|
4368
|
+
"additionalProperties": false,
|
|
4369
|
+
"description": "Применимость атрибута к сущности"
|
|
4370
|
+
},
|
|
4371
|
+
"HubEx.Service.COMMON.Api.Results.Auxiliary.KeyValueDeleted`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": {
|
|
4372
|
+
"type": "object",
|
|
4373
|
+
"properties": {
|
|
4374
|
+
"key": {
|
|
4375
|
+
"type": "string",
|
|
4376
|
+
"description": "Ключ",
|
|
4377
|
+
"nullable": true
|
|
4378
|
+
},
|
|
4379
|
+
"value": {
|
|
4380
|
+
"type": "string",
|
|
4381
|
+
"description": "Значение",
|
|
4382
|
+
"nullable": true
|
|
4383
|
+
},
|
|
4384
|
+
"deleted": {
|
|
4385
|
+
"type": "string",
|
|
4386
|
+
"description": "Признак удаленного",
|
|
4387
|
+
"format": "date-time",
|
|
4388
|
+
"nullable": true
|
|
4389
|
+
}
|
|
4390
|
+
},
|
|
4391
|
+
"additionalProperties": false,
|
|
4392
|
+
"description": "Значение из списка"
|
|
4393
|
+
},
|
|
4394
|
+
"HubEx.Service.COMMON.Api.Results.Banks.BankResult": {
|
|
4395
|
+
"type": "object",
|
|
4396
|
+
"properties": {
|
|
4397
|
+
"id": {
|
|
4398
|
+
"type": "integer",
|
|
4399
|
+
"description": "Идентификатор банка",
|
|
4400
|
+
"format": "int32"
|
|
4401
|
+
},
|
|
4402
|
+
"name": {
|
|
4403
|
+
"type": "string",
|
|
4404
|
+
"description": "Название банка",
|
|
4405
|
+
"nullable": true
|
|
4406
|
+
},
|
|
4407
|
+
"bic": {
|
|
4408
|
+
"type": "string",
|
|
4409
|
+
"description": "БИК (банковский идентификационный код)",
|
|
4410
|
+
"nullable": true
|
|
4411
|
+
},
|
|
4412
|
+
"correspondingAccount": {
|
|
4413
|
+
"type": "string",
|
|
4414
|
+
"description": "Корреспондентский счет",
|
|
4415
|
+
"nullable": true
|
|
4416
|
+
},
|
|
4417
|
+
"swift": {
|
|
4418
|
+
"type": "string",
|
|
4419
|
+
"description": "SWIFT",
|
|
4420
|
+
"nullable": true
|
|
4421
|
+
},
|
|
4422
|
+
"phone": {
|
|
4423
|
+
"type": "string",
|
|
4424
|
+
"description": "Телефон",
|
|
4425
|
+
"nullable": true
|
|
4426
|
+
},
|
|
4427
|
+
"eMail": {
|
|
4428
|
+
"type": "string",
|
|
4429
|
+
"description": "E-mail",
|
|
4430
|
+
"nullable": true
|
|
4431
|
+
},
|
|
4432
|
+
"address": {
|
|
4433
|
+
"type": "string",
|
|
4434
|
+
"description": "Адрес",
|
|
4435
|
+
"nullable": true
|
|
4436
|
+
},
|
|
4437
|
+
"isActive": {
|
|
4438
|
+
"type": "boolean",
|
|
4439
|
+
"description": "Статус активности"
|
|
4440
|
+
}
|
|
4441
|
+
},
|
|
4442
|
+
"additionalProperties": false,
|
|
4443
|
+
"description": "Банк"
|
|
4444
|
+
},
|
|
4445
|
+
"HubEx.Service.COMMON.Api.Results.Common.MeasurementUnitResult": {
|
|
4446
|
+
"type": "object",
|
|
4447
|
+
"properties": {
|
|
4448
|
+
"id": {
|
|
4449
|
+
"type": "integer",
|
|
4450
|
+
"description": "Идентификатор единицы измерения",
|
|
4451
|
+
"format": "int32",
|
|
4452
|
+
"nullable": true
|
|
4453
|
+
},
|
|
4454
|
+
"name": {
|
|
4455
|
+
"type": "string",
|
|
4456
|
+
"description": "Название единицы измерения",
|
|
4457
|
+
"nullable": true
|
|
4458
|
+
},
|
|
4459
|
+
"abbreviation": {
|
|
4460
|
+
"type": "string",
|
|
4461
|
+
"description": "Аббревиатура единицы измерения",
|
|
4462
|
+
"nullable": true
|
|
4463
|
+
},
|
|
4464
|
+
"designation": {
|
|
4465
|
+
"type": "string",
|
|
4466
|
+
"description": "Обозначение единицы измерения",
|
|
4467
|
+
"nullable": true
|
|
4468
|
+
}
|
|
4469
|
+
},
|
|
4470
|
+
"additionalProperties": false,
|
|
4471
|
+
"description": "Класс единиц измерения"
|
|
4472
|
+
},
|
|
4473
|
+
"HubEx.Service.COMMON.Api.Results.Contacts.GetResult": {
|
|
4474
|
+
"type": "object",
|
|
4475
|
+
"properties": {
|
|
4476
|
+
"id": {
|
|
4477
|
+
"type": "integer",
|
|
4478
|
+
"description": "Идентификатор контакта",
|
|
4479
|
+
"format": "int32"
|
|
4480
|
+
},
|
|
4481
|
+
"fullName": {
|
|
4482
|
+
"type": "string",
|
|
4483
|
+
"description": "ФИО контакта",
|
|
4484
|
+
"nullable": true
|
|
4485
|
+
},
|
|
4486
|
+
"email": {
|
|
4487
|
+
"type": "string",
|
|
4488
|
+
"description": "Электронная почта контакта",
|
|
4489
|
+
"nullable": true
|
|
4490
|
+
},
|
|
4491
|
+
"phone": {
|
|
4492
|
+
"type": "string",
|
|
4493
|
+
"description": "Мобильный телефон контакта",
|
|
4494
|
+
"nullable": true
|
|
4495
|
+
},
|
|
4496
|
+
"position": {
|
|
4497
|
+
"type": "string",
|
|
4498
|
+
"description": "Должность контакта",
|
|
4499
|
+
"nullable": true
|
|
4500
|
+
},
|
|
4501
|
+
"description": {
|
|
4502
|
+
"type": "string",
|
|
4503
|
+
"description": "Комментарий к контакту",
|
|
4504
|
+
"nullable": true
|
|
4505
|
+
},
|
|
4506
|
+
"deleted": {
|
|
4507
|
+
"type": "string",
|
|
4508
|
+
"description": "Отметка удаления контакта",
|
|
4509
|
+
"format": "date-time",
|
|
4510
|
+
"nullable": true
|
|
4511
|
+
}
|
|
4512
|
+
},
|
|
4513
|
+
"additionalProperties": false,
|
|
4514
|
+
"description": "Данные контакта"
|
|
4515
|
+
},
|
|
4516
|
+
"HubEx.Service.COMMON.Api.Results.Contacts.ListResult": {
|
|
4517
|
+
"type": "object",
|
|
4518
|
+
"properties": {
|
|
4519
|
+
"id": {
|
|
4520
|
+
"type": "integer",
|
|
4521
|
+
"description": "Идентификатор контакта",
|
|
4522
|
+
"format": "int32"
|
|
4523
|
+
},
|
|
4524
|
+
"fullName": {
|
|
4525
|
+
"type": "string",
|
|
4526
|
+
"description": "ФИО контакта",
|
|
4527
|
+
"nullable": true
|
|
4528
|
+
},
|
|
4529
|
+
"email": {
|
|
4530
|
+
"type": "string",
|
|
4531
|
+
"description": "Электронная почта контакта",
|
|
4532
|
+
"nullable": true
|
|
4533
|
+
},
|
|
4534
|
+
"phone": {
|
|
4535
|
+
"type": "string",
|
|
4536
|
+
"description": "Мобильный телефон контакта",
|
|
4537
|
+
"nullable": true
|
|
4538
|
+
},
|
|
4539
|
+
"position": {
|
|
4540
|
+
"type": "string",
|
|
4541
|
+
"description": "Должность контакта",
|
|
4542
|
+
"nullable": true
|
|
4543
|
+
},
|
|
4544
|
+
"description": {
|
|
4545
|
+
"type": "string",
|
|
4546
|
+
"description": "Комментарий к контакту",
|
|
4547
|
+
"nullable": true
|
|
4548
|
+
},
|
|
4549
|
+
"deleted": {
|
|
4550
|
+
"type": "string",
|
|
4551
|
+
"description": "Отметка удаления контакта",
|
|
4552
|
+
"format": "date-time",
|
|
4553
|
+
"nullable": true
|
|
4554
|
+
},
|
|
4555
|
+
"isUsed": {
|
|
4556
|
+
"type": "boolean",
|
|
4557
|
+
"description": "Отметка что контакт используется"
|
|
4558
|
+
}
|
|
4559
|
+
},
|
|
4560
|
+
"additionalProperties": false,
|
|
4561
|
+
"description": "Данные контакта"
|
|
4562
|
+
},
|
|
4563
|
+
"HubEx.Service.COMMON.Api.Results.Countries.ListResult": {
|
|
4564
|
+
"type": "object",
|
|
4565
|
+
"properties": {
|
|
4566
|
+
"name": {
|
|
4567
|
+
"type": "string",
|
|
4568
|
+
"description": "Название страны",
|
|
4569
|
+
"nullable": true
|
|
4570
|
+
},
|
|
4571
|
+
"twoSymbolCode": {
|
|
4572
|
+
"type": "string",
|
|
4573
|
+
"description": "Двухсимвольный код страны",
|
|
4574
|
+
"nullable": true
|
|
4575
|
+
},
|
|
4576
|
+
"threeSymbolCode": {
|
|
4577
|
+
"type": "string",
|
|
4578
|
+
"description": "Трехсимвольный код страны",
|
|
4579
|
+
"nullable": true
|
|
4580
|
+
}
|
|
4581
|
+
},
|
|
4582
|
+
"additionalProperties": false,
|
|
4583
|
+
"description": "Класс списка стран"
|
|
4584
|
+
},
|
|
4585
|
+
"HubEx.Service.COMMON.Api.Results.Currencies.ListResult": {
|
|
4586
|
+
"type": "object",
|
|
4587
|
+
"properties": {
|
|
4588
|
+
"name": {
|
|
4589
|
+
"type": "string",
|
|
4590
|
+
"description": "Полное название валюты",
|
|
4591
|
+
"nullable": true
|
|
4592
|
+
},
|
|
4593
|
+
"shortName": {
|
|
4594
|
+
"type": "string",
|
|
4595
|
+
"description": "Краткое название валюты",
|
|
4596
|
+
"nullable": true
|
|
4597
|
+
},
|
|
4598
|
+
"asciiCode": {
|
|
4599
|
+
"type": "string",
|
|
4600
|
+
"description": "ASCII код валюты",
|
|
4601
|
+
"nullable": true
|
|
4602
|
+
}
|
|
4603
|
+
},
|
|
4604
|
+
"additionalProperties": false,
|
|
4605
|
+
"description": "Класс списка валют"
|
|
4606
|
+
},
|
|
4607
|
+
"HubEx.Service.COMMON.Api.Results.Events.ListResult": {
|
|
4608
|
+
"type": "object",
|
|
4609
|
+
"properties": {
|
|
4610
|
+
"id": {
|
|
4611
|
+
"type": "integer",
|
|
4612
|
+
"format": "int32"
|
|
4613
|
+
},
|
|
4614
|
+
"name": {
|
|
4615
|
+
"type": "string",
|
|
4616
|
+
"nullable": true
|
|
4617
|
+
},
|
|
4618
|
+
"code": {
|
|
4619
|
+
"type": "string",
|
|
4620
|
+
"description": "Код события",
|
|
4621
|
+
"nullable": true
|
|
4622
|
+
}
|
|
4623
|
+
},
|
|
4624
|
+
"additionalProperties": false,
|
|
4625
|
+
"description": "Класс списка событий"
|
|
4626
|
+
},
|
|
4627
|
+
"HubEx.Service.COMMON.Api.Results.PowerBiReports.PowerBIReportResult": {
|
|
4628
|
+
"type": "object",
|
|
4629
|
+
"properties": {
|
|
4630
|
+
"id": {
|
|
4631
|
+
"type": "integer",
|
|
4632
|
+
"format": "int32"
|
|
4633
|
+
},
|
|
4634
|
+
"name": {
|
|
4635
|
+
"type": "string",
|
|
4636
|
+
"nullable": true
|
|
4637
|
+
},
|
|
4638
|
+
"reportID": {
|
|
4639
|
+
"type": "string",
|
|
4640
|
+
"description": "Идентификатор отчета",
|
|
4641
|
+
"nullable": true
|
|
4642
|
+
},
|
|
4643
|
+
"reportType": {
|
|
4644
|
+
"$ref": "#/components/schemas/SmartService.Common.Results.IdNameResult`1[[System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
|
|
4645
|
+
}
|
|
4646
|
+
},
|
|
4647
|
+
"additionalProperties": false,
|
|
4648
|
+
"description": "Отчет PowerBI"
|
|
4649
|
+
},
|
|
4650
|
+
"HubEx.Service.COMMON.Api.Results.Timezones.ListResult": {
|
|
4651
|
+
"type": "object",
|
|
4652
|
+
"properties": {
|
|
4653
|
+
"name": {
|
|
4654
|
+
"type": "string",
|
|
4655
|
+
"description": "Название временной зоны",
|
|
4656
|
+
"nullable": true
|
|
4657
|
+
},
|
|
4658
|
+
"utcTimeOffset": {
|
|
4659
|
+
"type": "string",
|
|
4660
|
+
"description": "Разница во времени относительно UTC",
|
|
4661
|
+
"nullable": true
|
|
4662
|
+
}
|
|
4663
|
+
},
|
|
4664
|
+
"additionalProperties": false,
|
|
4665
|
+
"description": "Класс списка временных зон"
|
|
4666
|
+
},
|
|
4667
|
+
"HubEx.Service.COMMON.Api.Results.Timezones.TimezoneGetResult": {
|
|
4668
|
+
"type": "object",
|
|
4669
|
+
"properties": {
|
|
4670
|
+
"name": {
|
|
4671
|
+
"type": "string",
|
|
4672
|
+
"description": "Название временной зоны",
|
|
4673
|
+
"nullable": true
|
|
4674
|
+
},
|
|
4675
|
+
"utcTimeOffsetMinutes": {
|
|
4676
|
+
"type": "integer",
|
|
4677
|
+
"description": "Разница во времени относительно UTC",
|
|
4678
|
+
"format": "int32"
|
|
4679
|
+
}
|
|
4680
|
+
},
|
|
4681
|
+
"additionalProperties": false,
|
|
4682
|
+
"description": "Информация о таймзоне"
|
|
4683
|
+
},
|
|
4684
|
+
"HubEx.Service.Common.AspNetCore.Data.Attachments.FromBodyUploadData": {
|
|
4685
|
+
"required": [
|
|
4686
|
+
"contentType",
|
|
4687
|
+
"file",
|
|
4688
|
+
"fileName"
|
|
4689
|
+
],
|
|
4690
|
+
"type": "object",
|
|
4691
|
+
"properties": {
|
|
4692
|
+
"uid": {
|
|
4693
|
+
"type": "string",
|
|
4694
|
+
"format": "uuid"
|
|
4695
|
+
},
|
|
4696
|
+
"contentStream": {
|
|
4697
|
+
"type": "string",
|
|
4698
|
+
"format": "binary",
|
|
4699
|
+
"nullable": true
|
|
4700
|
+
},
|
|
4701
|
+
"md5Hash": {
|
|
4702
|
+
"type": "string",
|
|
4703
|
+
"nullable": true
|
|
4704
|
+
},
|
|
4705
|
+
"contentLength": {
|
|
4706
|
+
"type": "integer",
|
|
4707
|
+
"format": "int32",
|
|
4708
|
+
"nullable": true
|
|
4709
|
+
},
|
|
4710
|
+
"file": {
|
|
4711
|
+
"minLength": 1,
|
|
4712
|
+
"type": "string"
|
|
4713
|
+
},
|
|
4714
|
+
"fileName": {
|
|
4715
|
+
"minLength": 1,
|
|
4716
|
+
"type": "string"
|
|
4717
|
+
},
|
|
4718
|
+
"contentType": {
|
|
4719
|
+
"minLength": 1,
|
|
4720
|
+
"type": "string"
|
|
4721
|
+
},
|
|
4722
|
+
"roles": {
|
|
4723
|
+
"type": "array",
|
|
4724
|
+
"items": {
|
|
4725
|
+
"type": "integer",
|
|
4726
|
+
"format": "int32"
|
|
4727
|
+
},
|
|
4728
|
+
"nullable": true
|
|
4729
|
+
},
|
|
4730
|
+
"coordinate": {
|
|
4731
|
+
"type": "string",
|
|
4732
|
+
"nullable": true
|
|
4733
|
+
},
|
|
4734
|
+
"description": {
|
|
4735
|
+
"type": "string",
|
|
4736
|
+
"nullable": true
|
|
4737
|
+
},
|
|
4738
|
+
"isPublic": {
|
|
4739
|
+
"type": "boolean"
|
|
4740
|
+
},
|
|
4741
|
+
"isIgnorePossibleDuplication": {
|
|
4742
|
+
"type": "boolean"
|
|
4743
|
+
},
|
|
4744
|
+
"checkSum": {
|
|
4745
|
+
"type": "string",
|
|
4746
|
+
"nullable": true
|
|
4747
|
+
}
|
|
4748
|
+
},
|
|
4749
|
+
"additionalProperties": false
|
|
4750
|
+
},
|
|
4751
|
+
"HubEx.Service.Common.AspNetCore.Data.Attachments.FromFormUploadData": {
|
|
4752
|
+
"required": [
|
|
4753
|
+
"file"
|
|
4754
|
+
],
|
|
4755
|
+
"type": "object",
|
|
4756
|
+
"properties": {
|
|
4757
|
+
"uid": {
|
|
4758
|
+
"type": "string",
|
|
4759
|
+
"format": "uuid"
|
|
4760
|
+
},
|
|
4761
|
+
"contentStream": {
|
|
4762
|
+
"type": "string",
|
|
4763
|
+
"format": "binary",
|
|
4764
|
+
"nullable": true
|
|
4765
|
+
},
|
|
4766
|
+
"md5Hash": {
|
|
4767
|
+
"type": "string",
|
|
4768
|
+
"nullable": true
|
|
4769
|
+
},
|
|
4770
|
+
"contentLength": {
|
|
4771
|
+
"type": "integer",
|
|
4772
|
+
"format": "int32",
|
|
4773
|
+
"nullable": true
|
|
4774
|
+
},
|
|
4775
|
+
"description": {
|
|
4776
|
+
"type": "string",
|
|
4777
|
+
"nullable": true
|
|
4778
|
+
},
|
|
4779
|
+
"isPublic": {
|
|
4780
|
+
"type": "boolean"
|
|
4781
|
+
},
|
|
4782
|
+
"isIgnorePossibleDuplication": {
|
|
4783
|
+
"type": "boolean"
|
|
4784
|
+
},
|
|
4785
|
+
"roles": {
|
|
4786
|
+
"type": "array",
|
|
4787
|
+
"items": {
|
|
4788
|
+
"type": "integer",
|
|
4789
|
+
"format": "int32"
|
|
4790
|
+
},
|
|
4791
|
+
"nullable": true
|
|
4792
|
+
},
|
|
4793
|
+
"coordinate": {
|
|
4794
|
+
"type": "string",
|
|
4795
|
+
"nullable": true
|
|
4796
|
+
},
|
|
4797
|
+
"file": {
|
|
4798
|
+
"type": "string",
|
|
4799
|
+
"format": "binary"
|
|
4800
|
+
},
|
|
4801
|
+
"fileName": {
|
|
4802
|
+
"type": "string",
|
|
4803
|
+
"nullable": true
|
|
4804
|
+
},
|
|
4805
|
+
"contentType": {
|
|
4806
|
+
"type": "string",
|
|
4807
|
+
"nullable": true
|
|
4808
|
+
}
|
|
4809
|
+
},
|
|
4810
|
+
"additionalProperties": false
|
|
4811
|
+
},
|
|
4812
|
+
"SmartService.Common.ExceptionHandling.Models.ErrorModel": {
|
|
4813
|
+
"type": "object",
|
|
4814
|
+
"properties": {
|
|
4815
|
+
"traceIdentifier": {
|
|
4816
|
+
"type": "string",
|
|
4817
|
+
"nullable": true
|
|
4818
|
+
},
|
|
4819
|
+
"code": {
|
|
4820
|
+
"type": "string",
|
|
4821
|
+
"nullable": true
|
|
4822
|
+
},
|
|
4823
|
+
"message": {
|
|
4824
|
+
"type": "string",
|
|
4825
|
+
"nullable": true
|
|
4826
|
+
},
|
|
4827
|
+
"arguments": {
|
|
4828
|
+
"type": "object",
|
|
4829
|
+
"additionalProperties": {
|
|
4830
|
+
"type": "string",
|
|
4831
|
+
"nullable": true
|
|
4832
|
+
},
|
|
4833
|
+
"nullable": true
|
|
4834
|
+
}
|
|
4835
|
+
},
|
|
4836
|
+
"additionalProperties": false
|
|
4837
|
+
},
|
|
4838
|
+
"SmartService.Common.FileStorage.Result.DownloadLinkResult": {
|
|
4839
|
+
"type": "object",
|
|
4840
|
+
"properties": {
|
|
4841
|
+
"downloadUrl": {
|
|
4842
|
+
"type": "string",
|
|
4843
|
+
"nullable": true
|
|
4844
|
+
},
|
|
4845
|
+
"headers": {
|
|
4846
|
+
"type": "array",
|
|
4847
|
+
"items": {
|
|
4848
|
+
"$ref": "#/components/schemas/SmartService.Common.FileStorage.Result.HttpHeader"
|
|
4849
|
+
},
|
|
4850
|
+
"nullable": true
|
|
4851
|
+
},
|
|
4852
|
+
"expiresAfter": {
|
|
4853
|
+
"type": "string",
|
|
4854
|
+
"format": "date-time"
|
|
4855
|
+
},
|
|
4856
|
+
"failures": {
|
|
4857
|
+
"type": "array",
|
|
4858
|
+
"items": {
|
|
4859
|
+
"type": "string"
|
|
4860
|
+
},
|
|
4861
|
+
"nullable": true
|
|
4862
|
+
}
|
|
4863
|
+
},
|
|
4864
|
+
"additionalProperties": false
|
|
4865
|
+
},
|
|
4866
|
+
"SmartService.Common.FileStorage.Result.HttpHeader": {
|
|
4867
|
+
"type": "object",
|
|
4868
|
+
"properties": {
|
|
4869
|
+
"name": {
|
|
4870
|
+
"type": "string",
|
|
4871
|
+
"nullable": true
|
|
4872
|
+
},
|
|
4873
|
+
"value": {
|
|
4874
|
+
"type": "string",
|
|
4875
|
+
"nullable": true
|
|
4876
|
+
}
|
|
4877
|
+
},
|
|
4878
|
+
"additionalProperties": false
|
|
4879
|
+
},
|
|
4880
|
+
"SmartService.Common.Results.IdNameResult`1[[System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": {
|
|
4881
|
+
"type": "object",
|
|
4882
|
+
"properties": {
|
|
4883
|
+
"id": {
|
|
4884
|
+
"type": "integer",
|
|
4885
|
+
"format": "int32"
|
|
4886
|
+
},
|
|
4887
|
+
"name": {
|
|
4888
|
+
"type": "string",
|
|
4889
|
+
"nullable": true
|
|
4890
|
+
}
|
|
4891
|
+
},
|
|
4892
|
+
"additionalProperties": false
|
|
4893
|
+
},
|
|
4894
|
+
"SmartService.Common.Results.IdNameResult`1[[System.Int16, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": {
|
|
4895
|
+
"type": "object",
|
|
4896
|
+
"properties": {
|
|
4897
|
+
"id": {
|
|
4898
|
+
"type": "integer",
|
|
4899
|
+
"format": "int32"
|
|
4900
|
+
},
|
|
4901
|
+
"name": {
|
|
4902
|
+
"type": "string",
|
|
4903
|
+
"nullable": true
|
|
4904
|
+
}
|
|
4905
|
+
},
|
|
4906
|
+
"additionalProperties": false
|
|
4907
|
+
}
|
|
4908
|
+
}
|
|
4909
|
+
}
|
|
4910
|
+
}
|