summaryrefslogtreecommitdiff
path: root/data/en_us/workorder/2020-03-26/api-docs.php
blob: 75e4b01b1c464ea8c072d8ec4c1ee4e09d5be64a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2020-03-26'],
    'directories' => [
        [
            'id' => 69792,
            'title' => null,
            'type' => 'directory',
            'children' => ['CreateTicket', 'ListTicketNotes', 'ListTickets', 'CloseTicket'],
        ],
        [
            'id' => 69798,
            'title' => null,
            'type' => 'directory',
            'children' => ['ListCategories', 'ListProducts'],
        ],
    ],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'CreateTicket' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'deprecated' => true,
            'systemTags' => ['operationType' => 'create', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'Language',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'zh'],
                ],
                [
                    'name' => 'Title',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
                ],
                [
                    'name' => 'Content',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => ''],
                ],
                [
                    'name' => 'SecretContent',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
                ],
                [
                    'name' => 'ProductCode',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ecs'],
                ],
                [
                    'name' => 'Category',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
                ],
                [
                    'name' => 'Phone',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '13288888888'],
                ],
                [
                    'name' => 'Email',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'support@aliyun.com'],
                ],
                [
                    'name' => 'NotifyTimeRange',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'all'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['type' => 'string'],
                            'Message' => ['type' => 'string'],
                            'Data' => ['type' => 'string'],
                            'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
                            'Success' => ['type' => 'boolean'],
                            'AccessDeniedDetail' => ['type' => 'string'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
                    ['errorCode' => 'illegalParam.emailOrPhone', 'errorMessage' => 'The specified contact email or mobile phone number must be the data received by the account messenger.'],
                    ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
                    ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
                ],
                [
                    ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
                ],
                403 => [
                    ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
                ],
                500 => [
                    ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
                ],
            ],
            'staticInfo' => [
                'substitutions' => ['Workorder::2021-06-10::CreateTicket'],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"TicketId\\": \\"ETARNPP\\",\\n  \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\"\\n}","errorExample":""},{"type":"xml","example":"<TicketId>ETARNPP</TicketId>\\n<RequestId>CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC</RequestId>","errorExample":""}]',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
        ],
        'ListTicketNotes' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => true,
            'systemTags' => ['operationType' => 'get', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'Language',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'zh'],
                ],
                [
                    'name' => 'TicketId',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'G2BKRWG'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
                            'Message' => ['description' => '', 'type' => 'string', 'example' => 'success'],
                            'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
                            'Success' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
                            'Data' => [
                                'description' => '',
                                'type' => 'object',
                                'properties' => [
                                    'List' => [
                                        'description' => '',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'FromOfficial' => ['description' => '', 'type' => 'boolean', 'example' => 'false'],
                                                'GmtCreated' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1586920240'],
                                                'NoteId' => ['description' => '', 'type' => 'string', 'example' => 'CT24GHXT'],
                                                'Content' => ['description' => '', 'type' => 'string', 'example' => ''],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                            'AccessDeniedDetail' => ['type' => 'string'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
                    ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
                    ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
                ],
                [
                    ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
                ],
                403 => [
                    ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
                ],
                500 => [
                    ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
                ],
            ],
            'staticInfo' => [
                'substitutions' => ['Workorder::2021-06-10::ListTicketNotes'],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"Code\\": 200,\\n  \\"Message\\": \\"success\\",\\n  \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n  \\"Success\\": true,\\n  \\"Data\\": {\\n    \\"List\\": [\\n      {\\n        \\"FromOfficial\\": false,\\n        \\"GmtCreated\\": 1586920240,\\n        \\"NoteId\\": \\"CT24GHXT\\",\\n        \\"Content\\": \\"您好我有个问题需要请教下\\"\\n      }\\n    ]\\n  }\\n}","errorExample":""},{"type":"xml","example":"<Message>successful</Message>\\n<Data>\\n    <List>\\n        <NoteId>CT24GHXT</NoteId>\\n        <FromOfficial>false</FromOfficial>\\n        <Content>有个问题请教下</Content>\\n        <GmtCreated>1586920240</GmtCreated>\\n    </List>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
        ],
        'ListTickets' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => true,
            'systemTags' => ['operationType' => 'get', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'Ids',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ETARNPP,RTARNP'],
                ],
                [
                    'name' => 'CreatedAfterTime',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1585790280'],
                ],
                [
                    'name' => 'CreatedBeforeTime',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1586049480'],
                ],
                [
                    'name' => 'ProductCode',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
                ],
                [
                    'name' => 'TicketStatus',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'wait_confirm,dealing'],
                ],
                [
                    'name' => 'PageStart',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
                ],
                [
                    'name' => 'SubUserId',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '252448085032933023'],
                ],
                [
                    'name' => 'Language',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'zh'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
                            'Message' => ['description' => '', 'type' => 'string', 'example' => 'success'],
                            'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
                            'Success' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
                            'Data' => [
                                'description' => '',
                                'type' => 'object',
                                'properties' => [
                                    'CurrentPage' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
                                    'PageSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
                                    'Total' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '99'],
                                    'List' => [
                                        'description' => '',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'Title' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                'CreatorId' => ['description' => '', 'type' => 'string', 'example' => '252448085032933023'],
                                                'AddTime' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1585818240'],
                                                'Id' => ['description' => '', 'type' => 'string', 'example' => 'CAB327A'],
                                                'TicketStatus' => ['description' => '', 'type' => 'string', 'example' => 'assigned'],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                            'AccessDeniedDetail' => ['type' => 'string'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
                    ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
                    ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
                ],
                [
                    ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
                ],
                403 => [
                    ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
                ],
                500 => [
                    ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
                ],
            ],
            'staticInfo' => [
                'substitutions' => ['Workorder::2021-06-10::ListTickets'],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"Code\\": 200,\\n  \\"Message\\": \\"success\\",\\n  \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n  \\"Success\\": true,\\n  \\"Data\\": {\\n    \\"CurrentPage\\": 1,\\n    \\"PageSize\\": 15,\\n    \\"Total\\": 99,\\n    \\"List\\": [\\n      {\\n        \\"Title\\": \\"这是一个测试工单\\",\\n        \\"CreatorId\\": \\"252448085032933023\\",\\n        \\"AddTime\\": 1585818240,\\n        \\"Id\\": \\"CAB327A\\",\\n        \\"TicketStatus\\": \\"assigned\\"\\n      }\\n    ]\\n  }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Data>\\n    <PageSize>20</PageSize>\\n    <CurrentPage>1</CurrentPage>\\n    <Total>9</Total>\\n    <List>\\n        <Title>pop测试</Title>\\n        <TicketStatus>assigned</TicketStatus>\\n        <Id>CAB327A</Id>\\n        <AddTime>1585818240</AddTime>\\n    </List>\\n    <List>\\n        <Title>pop测试</Title>\\n        <TicketStatus>assigned</TicketStatus>\\n        <Id>2HB89DX</Id>\\n        <AddTime>1585818240</AddTime>\\n    </List>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
        ],
        'CloseTicket' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'deprecated' => true,
            'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'Language',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'zh'],
                ],
                [
                    'name' => 'TicketId',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3EBYRY7'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
                            'Message' => ['description' => '', 'type' => 'string', 'example' => 'success'],
                            'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
                            'Success' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
                            'AccessDeniedDetail' => ['type' => 'string'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                200 => [
                    ['errorCode' => 'business.error', 'errorMessage' => 'The business does not allow the current operation'],
                ],
                400 => [
                    ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
                    ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
                    ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
                ],
                [
                    ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
                ],
                403 => [
                    ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
                ],
                500 => [
                    ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
                ],
            ],
            'staticInfo' => [
                'substitutions' => ['Workorder::2021-06-10::CloseTicket'],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"Code\\": 200,\\n  \\"Message\\": \\"success\\",\\n  \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n  \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<Success>true</Success>\\n<RequestId>CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC</RequestId>","errorExample":""}]',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
        ],
        'ListCategories' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => true,
            'systemTags' => ['operationType' => 'get', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'Language',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'zh'],
                ],
                [
                    'name' => 'ProductCode',
                    'in' => 'query',
                    'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ecs'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
                            'Message' => ['description' => '', 'type' => 'string', 'example' => 'success'],
                            'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
                            'Success' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
                            'Data' => [
                                'description' => '',
                                'type' => 'object',
                                'properties' => [
                                    'List' => [
                                        'description' => '',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '793'],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
                    ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
                    ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
                ],
                [
                    ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
                ],
                500 => [
                    ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
                ],
            ],
            'staticInfo' => [
                'substitutions' => ['Workorder::2021-06-10::ListCategories'],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"Code\\": 200,\\n  \\"Message\\": \\"success\\",\\n  \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n  \\"Success\\": true,\\n  \\"Data\\": {\\n    \\"List\\": [\\n      {\\n        \\"Name\\": \\"ECS无法远程\\",\\n        \\"Id\\": 793\\n      }\\n    ]\\n  }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Data>\\n    <List>\\n        <Id>793</Id>\\n        <Name>ECS无法远程</Name>\\n    </List>\\n    <List>\\n        <Id>794</Id>\\n        <Name>服务器打不开</Name>\\n    </List>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
        ],
        'ListProducts' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => true,
            'systemTags' => ['operationType' => 'get', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'Language',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
                            'Message' => ['description' => '', 'type' => 'string', 'example' => 'success'],
                            'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
                            'Success' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
                            'Data' => [
                                'description' => '',
                                'type' => 'object',
                                'properties' => [
                                    'TechMore' => [
                                        'description' => '',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'GroupName' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                'ProductList' => [
                                                    'description' => '',
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                            'Description' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                            'ProductCode' => ['description' => '', 'type' => 'string', 'example' => 'oss'],
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                    'HotConsultation' => [
                                        'description' => '',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                'Description' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                'ProductCode' => ['description' => '', 'type' => 'string', 'example' => 'agent'],
                                            ],
                                        ],
                                    ],
                                    'ConsultationMore' => [
                                        'description' => '',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                'Description' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                'ProductCode' => ['description' => '', 'type' => 'string', 'example' => 'account'],
                                            ],
                                        ],
                                    ],
                                    'HotTech' => [
                                        'description' => '',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                'Description' => ['description' => '', 'type' => 'string', 'example' => ''],
                                                'ProductCode' => ['description' => '', 'type' => 'string', 'example' => 'ecs'],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
                    ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
                    ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
                ],
                [
                    ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
                ],
                500 => [
                    ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
                ],
            ],
            'staticInfo' => [
                'substitutions' => ['Workorder::2021-06-10::ListProducts'],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"Code\\": 200,\\n  \\"Message\\": \\"success\\",\\n  \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n  \\"Success\\": true,\\n  \\"Data\\": {\\n    \\"TechMore\\": [\\n      {\\n        \\"GroupName\\": \\"存储与CDN\\",\\n        \\"ProductList\\": [\\n          {\\n            \\"Name\\": \\"对象存储 OSS\\",\\n            \\"Description\\": \\"对象存储 OSS\\",\\n            \\"ProductCode\\": \\"oss\\"\\n          }\\n        ]\\n      }\\n    ],\\n    \\"HotConsultation\\": [\\n      {\\n        \\"Name\\": \\"代理商类\\",\\n        \\"Description\\": \\"代理商类相关问题\\",\\n        \\"ProductCode\\": \\"agent\\"\\n      }\\n    ],\\n    \\"ConsultationMore\\": [\\n      {\\n        \\"Name\\": \\"会员帐号\\",\\n        \\"Description\\": \\"换绑手机/邮箱、实名认证、找回用户名/密码等相关问题\\",\\n        \\"ProductCode\\": \\"account\\"\\n      }\\n    ],\\n    \\"HotTech\\": [\\n      {\\n        \\"Name\\": \\"云服务器 ECS\\",\\n        \\"Description\\": \\"服务器无法远程、网站无法访问、安全等服务器咨询或技术问题\\",\\n        \\"ProductCode\\": \\"ecs\\"\\n      }\\n    ]\\n  }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Data>\\n    <ConsultationMore>\\n        <Description>备案咨询、补偿、退款、等相关问题</Description>\\n        <Id>76</Id>\\n        <Name>备案</Name>\\n    </ConsultationMore>\\n    <HotConsultation>\\n        <Description>订单,提现,发票,汇款,代金券等相关问题</Description>\\n        <Id>1193</Id>\\n        <Name>财务类</Name>\\n    </HotConsultation>\\n    <HotConsultation>\\n        <Description>换绑手机/邮箱、实名认证、找回用户名/密码等相关问题</Description>\\n        <Id>1194</Id>\\n        <Name>会员帐号</Name>\\n    </HotConsultation>\\n    <HotConsultation>\\n        <Description>客户端配置/使用、收发信件异常及退信、postmaster管理员、垃圾邮件等相关问题</Description>\\n        <Id>88</Id>\\n        <Name>企业邮箱</Name>\\n    </HotConsultation>\\n    <TechMore>\\n        <GroupName>弹性计算</GroupName>\\n        <ProductList>\\n            <Description>无法配置SLB、负载不均衡、健康检查异常等问题</Description>\\n            <Id>86</Id>\\n            <Name>负载均衡</Name>\\n        </ProductList>\\n        <ProductList>\\n            <Description>bucket创建/使用、API密钥等OSS咨询或技术问题--</Description>\\n            <Id>22</Id>\\n            <Name>对象存储 OSS</Name>\\n        </ProductList>\\n        <ProductList>\\n            <Description>独享主机重启、远程无法连接、密码初始化、系统初始化等相关问题</Description>\\n            <Id>101</Id>\\n            <Name>独享主机</Name>\\n        </ProductList>\\n        <ProductList>\\n            <Description>控制面板、FTP使用、数据库、网站访问等轻云服务器问题</Description>\\n            <Id>1205</Id>\\n            <Name>轻云服务器</Name>\\n        </ProductList>\\n        <ProductList>\\n            <Description>(原万网)虚拟主机、独享主机、轻云服务器、云享服务器相关问题</Description>\\n            <Id>1215</Id>\\n            <Name>(原万网)主机</Name>\\n        </ProductList>\\n    </TechMore>\\n    <TechMore>\\n        <GroupName>更多</GroupName>\\n        <ProductList>\\n            <Description>竞赛规则、技术咨询等相关问题</Description>\\n            <Id>1209</Id>\\n            <Name>天池</Name>\\n        </ProductList>\\n    </TechMore>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
        ],
    ],
    'endpoints' => [
        ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
        ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
        ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
        ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
    ],
];