Changes for page 07 HTTP API

Last modified by Devin Chen on 2025/04/10 16:16

From version 19.1
edited by xingzhi lin
on 2025/04/01 11:34
Change comment: There is no comment for this version
To version 4.1
edited by Hunter
on 2022/07/11 10:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -07 HTTP API
1 +05 HTTP API
Parent
... ... @@ -1,1 +1,1 @@
1 -V-BOX.V-Net.Manual.WebHome
1 +V-BOX.V-Net.1\.User Manual.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.lxz
1 +XWiki.Hunter
Content
... ... @@ -1,4 +1,4 @@
1 -= **General** =
1 += **1 General** =
2 2  
3 3  This documents introduces WECON V-BOX HTTP API. And this document also shows some examples. All example is tested from postman application.
4 4  
... ... @@ -19,7 +19,7 @@
19 19  [[http:~~/~~/api.eu.v-box.net>>url:http://api.v-box.net/]]
20 20  
21 21  (% style="text-align:center" %)
22 -[[image:V-BOX HTTP manual_html_ceb1e13ef4c1fa5d.png||height="361" width="800" class="img-thumbnail"]]
22 +[[image:V-BOX HTTP manual_html_ceb1e13ef4c1fa5d.png||class="img-thumbnail" height="361" width="800"]]
23 23  
24 24  For **ASEAN server** V-BOX, now can use http, the server address is api.asean.v-box.net.
25 25  
... ... @@ -43,19 +43,14 @@
43 43  
44 44  screctkey=f1cd9351930d4e589922edbcf3b09a7c
45 45  
46 -(% class="box infomessage" %)
47 -(((
48 -**✎Note:** If it is for Virtual Deployment, the comid and comkey would not be the same with values above. Try to get the actual value from HTTP access (V-NET~-~-Services~-~-HTTP access)
49 -)))
46 +== 1.1 Interface parameter description ==
50 50  
51 -== **Interface Parameter Description** ==
52 -
53 53  **Global parameters**
54 54  
55 55  The following acturls need to have global parameters (The global parameter client is put into the JSON format and placed in the common parameters of the Headers)
56 56  
57 57  (% style="text-align:center" %)
58 -[[image:企业微信截图_20210531172144.png||height="467" width="800" class="img-thumbnail"]]
53 +[[image:企业微信截图_20210531172144.png||class="img-thumbnail" height="467" width="800"]]
59 59  
60 60  **The returned result represented by Json and case sensitive:**
61 61  
... ... @@ -67,12 +67,12 @@
67 67  
68 68  {"code" : 200 , "result": {}, "msg" : "ok", "reqId":"1502074141465"}
69 69  
70 -**Status Code**
65 +**State code description**
71 71  
72 72  (% style="text-align:center" %)
73 -[[image:1.png||height="141" width="500" class="img-thumbnail"]]
68 +[[image:1.png||class="img-thumbnail" height="141" width="500"]]
74 74  
75 -== **Example key and value** ==
70 +== **1.2 Example key and value** ==
76 76  
77 77  1).**comid**=2
78 78  
... ... @@ -83,27 +83,26 @@
83 83  4).**ts**=1573897380
84 84  
85 85  (((
86 -= **Basic API** =
81 += **2 Basic API** =
87 87  )))
88 88  
89 -== **{{id name="_Toc24963726"/}}Login operation** ==
84 +== **2.1 {{id name="_Toc24963726"/}}Login operation** ==
90 90  
91 91  (((
92 92  **2.1.1 Parameters**
93 93  )))
94 94  
95 -(% class="table-bordered" style="width:888px" %)
96 -|**Acturl**|(% colspan="2" style="width:731px" %)we-data/login
97 -|**Function**|(% colspan="2" style="width:731px" %)Login with username, email, phone number
98 -|(% colspan="1" rowspan="4" %)**Parameters**|Items|(% style="width:535px" %)Description
99 -|alias|(% style="width:535px" %)Must be username, registered email will fail to login
100 -|password|(% style="width:535px" %)32bit password (MD5 encryption)
101 -|domain(Optional)|(% style="width:535px" %)3rd party interface domain(Only available for Virtual Deployment)
102 -|(% rowspan="3" %)**Return value**|Items|(% style="width:535px" %)Description
103 -|utype|(% style="width:535px" %)User Type: 1-Manage Account, 2-Viewer Account
104 -|sid|(% style="width:535px" %)User session ID (Only available for 12 hours)
90 +(% class="table-bordered" %)
91 +|**Acturl**|(% colspan="2" %)we-data/login
92 +|**Function**|(% colspan="2" %)Login with username, email, phone number
93 +|(% rowspan="3" %)**Parameters**|Items|Description
94 +|alias|Username, email, phone number
95 +|password|32bit password (MD5 encryption)
96 +|(% rowspan="3" %)**Return value**|Items|Description
97 +|utype|User Type: 1-Manage Account, 2-Viewer Account
98 +|sid|User session ID
105 105  
106 -**Operating procedures**
100 +**2.1.2 Operating procedures**
107 107  
108 108  **Setp1: ** Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/login>>url:http://api.v-box.net/box-data/api/we-data/login]]
109 109  
... ... @@ -127,14 +127,6 @@
127 127  
128 128  "sign":"997513ff1320862f0cbb9ce19d0bd253"
129 129  
130 -{{info}}
131 -**✎Note: **For Virtual Deployment, the sign string should be append with domain, so the format would be like following:
132 -
133 -alias=xxx&comid=xxx&compvtkey=xxx&domain=xxx&password=xxx&ts=1657682972386&key=f1cd9351930d4e589922edbcf3b09a7c
134 -
135 -The timestamp must be unit as Millisecond level
136 -{{/info}}
137 -
138 138  **Step4: ** Set common of header
139 139  
140 140  {"comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"997513ff1320862f0cbb9ce19d0bd253"}
... ... @@ -143,7 +143,7 @@
143 143  [[image:V-BOX HTTP manual_html_cbfc9bbb7d0d4f84.png||height="230" width="700" class="img-thumbnail"]]
144 144  
145 145  (((
146 -**Result**
132 +**2.1.3 Result**
147 147  )))
148 148  
149 149  {
... ... @@ -170,22 +170,22 @@
170 170  [[image:V-BOX HTTP manual_html_b00e7e6a00828e27.png||height="291" width="500" class="img-thumbnail"]]
171 171  
172 172  (((
173 -= **Service data APIs** =
159 += **3 Service data APIs** =
174 174  )))
175 175  
176 -== **V-Box list** ==
162 +== **3.1 V-Box list** ==
177 177  
178 -**{{id name="_Toc24963732"/}}Parameters**
164 +**3.1.1 {{id name="_Toc24963732"/}}Parameters**
179 179  
180 180  (% style="text-align:center" %)
181 -[[image:X.png||height="412" width="700" class="img-thumbnail"]]
167 +[[image:X.png||class="img-thumbnail" height="412" width="700"]]
182 182  
183 -**~ {{id name="_Toc24963733"/}}Operating procedures**
169 +**3.1.2 {{id name="_Toc24963733"/}}Operating procedures**
184 184  
185 185  **Step1:**  Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/boxs>>url:http://api.v-box.net/box-data/api/we-data/boxs]]
186 186  
187 187  (% style="text-align:center" %)
188 -[[image:V-BOX HTTP manual_html_7555868f6d398292.png||height="48" width="700" class="img-thumbnail"]]
174 +[[image:V-BOX HTTP manual_html_7555868f6d398292.png||class="img-thumbnail" height="48" width="700"]]
189 189  
190 190  **Step2:**  Set parameters on Params
191 191  
... ... @@ -202,9 +202,9 @@
202 202  {"sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"8fb4fbf99fcc1331c3274e708a403034"}
203 203  
204 204  (% style="text-align:center" %)
205 -[[image:V-BOX HTTP manual_html_999832f3a31ac851.png||height="232" width="700" class="img-thumbnail"]]
191 +[[image:V-BOX HTTP manual_html_999832f3a31ac851.png||class="img-thumbnail" height="232" width="700"]]
206 206  
207 -**Result**
193 +**3.1.3 Result**
208 208  
209 209  {
210 210  
... ... @@ -331,11 +331,11 @@
331 331  }
332 332  
333 333  (% style="text-align:center" %)
334 -[[image:V-BOX HTTP manual_html_5999b14ed63e8065.png||height="348" width="600" class="img-thumbnail"]]
320 +[[image:V-BOX HTTP manual_html_5999b14ed63e8065.png||class="img-thumbnail" height="348" width="600"]]
335 335  
336 -== **Real-time group list** ==
322 +== **3.2 Real-time group list** ==
337 337  
338 -**{{id name="_Toc24963736"/}} Parameters**
324 +**3.2.1{{id name="_Toc24963736"/}} Parameters**
339 339  
340 340  (% class="table-bordered" %)
341 341  |**acturl**|(% colspan="3" %)we-data/realgroups
... ... @@ -347,12 +347,12 @@
347 347  |groupId|Group ID
348 348  |groupName|Group name
349 349  
350 -**Operating procedures**
336 +**3.2.2 Operating procedures**
351 351  
352 352  **Step1: **Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/realgroups>>url:http://api.v-box.net/box-data/api/we-data/realgroups]]
353 353  
354 354  (% style="text-align:center" %)
355 -[[image:V-BOX HTTP manual_html_abb2159981171c6.png||height="46" width="700" class="img-thumbnail"]]
341 +[[image:V-BOX HTTP manual_html_abb2159981171c6.png||class="img-thumbnail" height="46" width="700"]]
356 356  
357 357  **Step2: **Set parameters on Params
358 358  
... ... @@ -359,7 +359,7 @@
359 359  "boxId": "973"
360 360  
361 361  (% style="text-align:center" %)
362 -[[image:V-BOX HTTP manual_html_5c3ab35ebdab144e.png||height="151" width="800" class="img-thumbnail"]]
348 +[[image:V-BOX HTTP manual_html_5c3ab35ebdab144e.png||class="img-thumbnail" height="151" width="800"]]
363 363  
364 364  **Step3: **Get sign
365 365  
... ... @@ -372,9 +372,9 @@
372 372  {"boxId":"973","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"9b267b7549083167954b7ede30916ff5"}
373 373  
374 374  (% style="text-align:center" %)
375 -[[image:V-BOX HTTP manual_html_cc06cac462c1b77a.png||height="172" width="800" class="img-thumbnail"]]
361 +[[image:V-BOX HTTP manual_html_cc06cac462c1b77a.png||class="img-thumbnail" height="172" width="800"]]
376 376  
377 -**Result**
363 +**3.2.3 Result**
378 378  
379 379  {
380 380  
... ... @@ -420,9 +420,9 @@
420 420  
421 421  [[image:V-BOX HTTP manual_html_2445c358293d621.png||height="531" width="532"]]
422 422  
423 -== **Real-time tags configuration list** ==
409 +== **3.3 Real-time tags configuration list** ==
424 424  
425 -**Parameters**
411 +**3.3.1 Parameters**
426 426  
427 427  (% class="table-bordered" %)
428 428  |**acturl**|(% colspan="3" %)we-data/realcfgs
... ... @@ -464,12 +464,12 @@
464 464  |totalRecord|(% colspan="2" %)Total record number
465 465  |currentPage|(% colspan="2" %)Current page number
466 466  
467 -**Operating procedures**
453 +**3.3.2 Operating procedures**
468 468  
469 469  **Step1: **Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/realcfgs>>url:http://api.v-box.net/box-data/api/we-data/realcfgs]]
470 470  
471 471  (% style="text-align:center" %)
472 -[[image:V-BOX HTTP manual_html_3fff373ae27e2e00.png||height="44" width="700" class="img-thumbnail"]]
458 +[[image:V-BOX HTTP manual_html_3fff373ae27e2e00.png||class="img-thumbnail" height="44" width="700"]]
473 473  
474 474  **Step2: **Set parameters on Params
475 475  
... ... @@ -482,7 +482,7 @@
482 482  "pageIndex":"2"
483 483  
484 484  (% style="text-align:center" %)
485 -[[image:V-BOX HTTP manual_html_52bf7d95165a3e3a.png||height="273" width="700" class="img-thumbnail"]]
471 +[[image:V-BOX HTTP manual_html_52bf7d95165a3e3a.png||class="img-thumbnail" height="273" width="700"]]
486 486  
487 487  **Step3:** Get sign
488 488  
... ... @@ -495,9 +495,9 @@
495 495  {"boxId":"973","groupId":"7325","pageSize":"5","pageIndex":"2","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"0769228e66c945eed5431c41a96949f2"}
496 496  
497 497  (% style="text-align:center" %)
498 -[[image:V-BOX HTTP manual_html_d284dfdd7b4844ee.png||height="288" width="800" class="img-thumbnail"]]
484 +[[image:V-BOX HTTP manual_html_d284dfdd7b4844ee.png||class="img-thumbnail" height="288" width="800"]]
499 499  
500 -**Result**
486 +**3.3.3 Result**
501 501  
502 502  {
503 503  
... ... @@ -578,16 +578,12 @@
578 578  }
579 579  
580 580  (% style="text-align:center" %)
581 -[[image:V-BOX HTTP manual_html_e7271097b71941cc.png||height="644" width="800" class="img-thumbnail"]]
567 +[[image:V-BOX HTTP manual_html_e7271097b71941cc.png||class="img-thumbnail" height="644" width="800"]]
582 582  
583 -== **Tags data list** ==
569 +== (% id="cke_bm_1151S" style="display:none" %)** {{id name="_Toc24963743"/}}**(%%)**3.4 Tags data list** ==
584 584  
585 -{{warning}}
586 -This API is not for getting the real-time data all the time.If you need to get the continuously updated real-time monitoring point data values,you need to use with this API
587 -{{/warning}}
571 +**3.4.1 {{id name="_Toc24963744"/}}Parameters**
588 588  
589 -**~ {{id name="_Toc24963744"/}}Parameters**
590 -
591 591  (% class="table-bordered" %)
592 592  |**acturl**|(% colspan="3" %)we-data/realdata
593 593  |**Functions**|(% colspan="3" %)Get the tags data in the specified group in V-BOX.
... ... @@ -608,12 +608,12 @@
608 608  |totalRecord|(% colspan="2" %)Total record
609 609  |currentPage|(% colspan="2" %)current page
610 610  
611 -**~ {{id name="_Toc24963745"/}}Operating procedures**
593 +**3.4.2 {{id name="_Toc24963745"/}}Operating procedures**
612 612  
613 613  **Step1: **Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/realdata>>url:http://api.v-box.net/box-data/api/we-data/realdata]]
614 614  
615 615  (% style="text-align:center" %)
616 -[[image:V-BOX HTTP manual_html_839fb0577dac88c1.png||height="45" width="700" class="img-thumbnail"]]
598 +[[image:V-BOX HTTP manual_html_839fb0577dac88c1.png||class="img-thumbnail" height="45" width="700"]]
617 617  
618 618  **Step2: **Set parameters on Params
619 619  
... ... @@ -626,7 +626,7 @@
626 626  "pageIndex":"2"
627 627  
628 628  (% style="text-align:center" %)
629 -[[image:V-BOX HTTP manual_html_b860bab44ebbc128.png||height="272" width="700" class="img-thumbnail"]]
611 +[[image:V-BOX HTTP manual_html_b860bab44ebbc128.png||class="img-thumbnail" height="272" width="700"]]
630 630  
631 631  **Step3:** Get sign
632 632  
... ... @@ -636,7 +636,7 @@
636 636  
637 637  {"boxId":"973","groupId":"7325","pageSize":"5","pageIndex":"2","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"0769228e66c945eed5431c41a96949f2"}
638 638  
639 -**~ {{id name="_Toc24963746"/}}Result**
621 +**3.4.3 {{id name="_Toc24963746"/}}Result**
640 640  
641 641  {
642 642  
... ... @@ -699,12 +699,12 @@
699 699  }
700 700  
701 701  (% style="text-align:center" %)
702 -[[image:V-BOX HTTP manual_html_705682e81eae5ea7.png||height="651" width="800" class="img-thumbnail"]]
684 +[[image:V-BOX HTTP manual_html_705682e81eae5ea7.png||class="img-thumbnail" height="651" width="800"]]
703 703  
704 -== **Modify tag data** ==
686 +== **3.5 Modify tag data** ==
705 705  
706 706  (((
707 -**Parameters**
689 +**3.5.1 Parameters**
708 708  )))
709 709  
710 710  (% class="table-bordered" %)
... ... @@ -715,12 +715,12 @@
715 715  |value|value
716 716  |**Return value**|(% colspan="2" %)None
717 717  
718 -**Operating procedures**
700 +**3.5.2 Operating procedures**
719 719  
720 720  **Step1:** Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/updrealdata>>url:http://api.v-box.net/box-data/api/we-data/updrealdata]]
721 721  
722 722  (% style="text-align:center" %)
723 -[[image:1651915094120-525.png||height="45" width="700" class="img-thumbnail"]]
705 +[[image:1651915094120-525.png||class="img-thumbnail" height="45" width="700"]]
724 724  
725 725  **Step2:** Set parameters on Params
726 726  
... ... @@ -729,7 +729,7 @@
729 729  "value":"60"
730 730  
731 731  (% style="text-align:center" %)
732 -[[image:V-BOX HTTP manual_html_5a3153add75ca7b4.png||height="246" width="800" class="img-thumbnail"]]
714 +[[image:V-BOX HTTP manual_html_5a3153add75ca7b4.png||class="img-thumbnail" height="246" width="800"]]
733 733  
734 734  **Step3:** Get sign
735 735  
... ... @@ -742,9 +742,9 @@
742 742  {"monitorId":"91541","value":"60","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"4119b1abc9176a187f781bece04a5296"}
743 743  
744 744  (% style="text-align:center" %)
745 -[[image:V-BOX HTTP manual_html_59d54a5d886ef614.png||height="244" width="700" class="img-thumbnail"]]
727 +[[image:V-BOX HTTP manual_html_59d54a5d886ef614.png||class="img-thumbnail" height="244" width="700"]]
746 746  
747 -**Result**
729 +**3.5.3 Result**
748 748  
749 749  {
750 750  
... ... @@ -759,11 +759,11 @@
759 759  }
760 760  
761 761  (% style="text-align:center" %)
762 -[[image:V-BOX HTTP manual_html_590c8dab9e80fd0f.png||height="425" width="700" class="img-thumbnail"]]
744 +[[image:V-BOX HTTP manual_html_590c8dab9e80fd0f.png||class="img-thumbnail" height="425" width="700"]]
763 763  
764 -== **Historical tags name list** ==
746 +== **3.6 {{id name="_Toc24963751"/}}Historical tags name list** ==
765 765  
766 -**Parameters**
748 +**3.6.1 Parameters**
767 767  
768 768  (% class="table-bordered" %)
769 769  |**acturl**|(% colspan="3" %)we-data/monitors
... ... @@ -775,12 +775,12 @@
775 775  |monitorId|tag ID
776 776  |monitorName|tag name
777 777  
778 -**Operating procedures**
760 +**​​​​​​​3.6.2 Operating procedures**
779 779  
780 780  **Step1: **Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/monitors>>url:http://api.v-box.net/box-data/api/we-data/monitors]]
781 781  
782 782  (% style="text-align:center" %)
783 -[[image:V-BOX HTTP manual_html_456f00c6af3ea1b7.png||height="45" width="700" class="img-thumbnail"]]
765 +[[image:V-BOX HTTP manual_html_456f00c6af3ea1b7.png||class="img-thumbnail" height="45" width="700"]]
784 784  
785 785  **Step2: **Set parameters on Params
786 786  
... ... @@ -787,7 +787,7 @@
787 787  "boxId":"973"
788 788  
789 789  (% style="text-align:center" %)
790 -[[image:V-BOX HTTP manual_html_8bf7c3f9b3ce3897.png||height="185" width="700" class="img-thumbnail"]]
772 +[[image:V-BOX HTTP manual_html_8bf7c3f9b3ce3897.png||class="img-thumbnail" height="185" width="700"]]
791 791  
792 792  **Step3:** Get sign
793 793  
... ... @@ -800,9 +800,9 @@
800 800  {"boxId":"973","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"9b267b7549083167954b7ede30916ff5"}
801 801  
802 802  (% style="text-align:center" %)
803 -[[image:V-BOX HTTP manual_html_dba52ac718eeb66e.png||height="228" width="700" class="img-thumbnail"]]
785 +[[image:V-BOX HTTP manual_html_dba52ac718eeb66e.png||class="img-thumbnail" height="228" width="700"]]
804 804  
805 -**Result**
787 +**​​​​​​​3.6.3 Result**
806 806  
807 807  {
808 808  
... ... @@ -843,11 +843,11 @@
843 843  }
844 844  
845 845  (% style="text-align:center" %)
846 -[[image:V-BOX HTTP manual_html_2a739377a9fb10b2.png||height="400" width="700" class="img-thumbnail"]]
828 +[[image:V-BOX HTTP manual_html_2a739377a9fb10b2.png||class="img-thumbnail" height="400" width="700"]]
847 847  
848 -== **Historical tag data list** ==
830 +== (% id="cke_bm_1218S" style="display:none" %)** **(%%)**3.7 {{id name="_Toc24963755"/}}Historical tag data list** ==
849 849  
850 -**~ {{id name="_Toc24963756"/}}Parameters**
832 +**​​​​​​​3.7.1 {{id name="_Toc24963756"/}}Parameters**
851 851  
852 852  (% class="table-bordered" %)
853 853  |**acturl**|(% colspan="3" %)we-data/historydata
... ... @@ -867,12 +867,12 @@
867 867  |totalRecord|(% colspan="2" %)Total records
868 868  |currentPage|(% colspan="2" %)Current page
869 869  
870 -**Operating procedures**
852 +​​​​​​​**3.7.2 Operating procedures**
871 871  
872 872  **Step:** Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/historydata>>url:http://api.v-box.net/box-data/api/we-data/historydata]]
873 873  
874 874  (% style="text-align:center" %)
875 -[[image:V-BOX HTTP manual_html_cd2fdea1493dc20e.png||height="47" width="700" class="img-thumbnail"]]
857 +[[image:V-BOX HTTP manual_html_cd2fdea1493dc20e.png||class="img-thumbnail" height="47" width="700"]]
876 876  
877 877  **Step2:** Set parameters on Params
878 878  
... ... @@ -887,7 +887,7 @@
887 887  "pageIndex":"2"
888 888  
889 889  (% style="text-align:center" %)
890 -[[image:V-BOX HTTP manual_html_f169ff87c20ce6c4.png||height="302" width="700" class="img-thumbnail"]]
872 +[[image:V-BOX HTTP manual_html_f169ff87c20ce6c4.png||class="img-thumbnail" height="302" width="700"]]
891 891  
892 892  **Step3: **Get sign
893 893  
... ... @@ -900,9 +900,9 @@
900 900  {"monitorId":"91577","monitorBeginTime":"2019-11-16 10:45:44.000","monitorEndTime":"2019-11-16 20:45:44.000","pageSize":"10","pageIndex":"2","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"feeae8ddb4014951cfc2c02de4744bc4"}
901 901  
902 902  (% style="text-align:center" %)
903 -[[image:V-BOX HTTP manual_html_fac48b1179b555ee.png||height="291" width="700" class="img-thumbnail"]]
885 +[[image:V-BOX HTTP manual_html_fac48b1179b555ee.png||class="img-thumbnail" height="291" width="700"]]
904 904  
905 -**Result**
887 +**3.7.3 Result**
906 906  
907 907  {
908 908  
... ... @@ -963,11 +963,11 @@
963 963  }
964 964  
965 965  (% style="text-align:center" %)
966 -[[image:V-BOX HTTP manual_html_f3b62eb69687a214.png||height="476" width="700" class="img-thumbnail"]]
948 +[[image:V-BOX HTTP manual_html_f3b62eb69687a214.png||class="img-thumbnail" height="476" width="700"]]
967 967  
968 -== **Alarm tags data list** ==
950 +== **3.8 Alarm tags data list** ==
969 969  
970 -**{{id name="_Toc24963760"/}}Parameters**
952 +**​​​​​​​​​​​​​​3.8.1 {{id name="_Toc24963760"/}}Parameters**
971 971  
972 972  (% class="table-bordered" %)
973 973  |**acturl**|(% colspan="3" %)we-data/alarmdata
... ... @@ -1002,12 +1002,12 @@
1002 1002  |totalRecord|(% colspan="2" %)Total records
1003 1003  |currentPage|(% colspan="2" %)Current page
1004 1004  
1005 -**~ {{id name="_Toc24963761"/}}Operating procedures**
987 +**​​​​​​​​​​​​​​3.8.2 {{id name="_Toc24963761"/}}Operating procedures**
1006 1006  
1007 1007  **Step1:** Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/alarmdata>>url:http://api.v-box.net/box-data/api/we-data/alarmdata]]
1008 1008  
1009 1009  (% style="text-align:center" %)
1010 -[[image:V-BOX HTTP manual_html_4ebee4d4fcf0097c.png||height="45" width="700" class="img-thumbnail"]]
992 +[[image:V-BOX HTTP manual_html_4ebee4d4fcf0097c.png||class="img-thumbnail" height="45" width="700"]]
1011 1011  
1012 1012  **Step2:** Set parameters on Params
1013 1013  
... ... @@ -1024,7 +1024,7 @@
1024 1024  "state":"2"
1025 1025  
1026 1026  (% style="text-align:center" %)
1027 -[[image:V-BOX HTTP manual_html_2361d0eaa7447a9c.png||height="327" width="700" class="img-thumbnail"]]
1009 +[[image:V-BOX HTTP manual_html_2361d0eaa7447a9c.png||class="img-thumbnail" height="327" width="700"]]
1028 1028  
1029 1029  **Step3:** Get sign
1030 1030  
... ... @@ -1037,9 +1037,9 @@
1037 1037  {"monitorId":"91931","monitorBeginTime":"2019-11-16 20:30:44.000","monitorEndTime":"2019-11-16 21:30:44.000","pageSize":"10","pageIndex":"1","state":"2","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"4056006bbc71bd80a3c632987626e15b"}
1038 1038  
1039 1039  (% style="text-align:center" %)
1040 -[[image:V-BOX HTTP manual_html_cd9ce84648b86cb9.png||height="269" width="700" class="img-thumbnail"]]
1022 +[[image:V-BOX HTTP manual_html_cd9ce84648b86cb9.png||class="img-thumbnail" height="269" width="700"]]
1041 1041  
1042 -**Result**
1024 +**3.8.3 Result**
1043 1043  
1044 1044  {
1045 1045  
... ... @@ -1116,11 +1116,11 @@
1116 1116  }
1117 1117  
1118 1118  (% style="text-align:center" %)
1119 -[[image:V-BOX HTTP manual_html_d4a3e0114c402c27.png||height="475" width="700" class="img-thumbnail"]]
1101 +[[image:V-BOX HTTP manual_html_d4a3e0114c402c27.png||class="img-thumbnail" height="475" width="700"]]
1120 1120  
1121 -== **Get device state** ==
1103 +== **3.9 Get device state** ==
1122 1122  
1123 -**~ {{id name="_Toc24963760"/}}Parameters**
1105 +**3.9.1 {{id name="_Toc24963760"/}}Parameters**
1124 1124  
1125 1125  (% class="table-bordered" %)
1126 1126  |**acturl**|(% colspan="3" %)we-data/getDeviceState
... ... @@ -1130,7 +1130,7 @@
1130 1130  |(% rowspan="2" %)**Return value**|Field name|(% colspan="2" %)Description
1131 1131  |state|(% colspan="2" %)vbox state: 1-online,  0-offline
1132 1132  
1133 -== **Send switch to device** ==
1115 +== **3.10 Send switch to device** ==
1134 1134  
1135 1135  **3.10.1 {{id name="_Toc24963760"/}}Parameters**
1136 1136  
... ... @@ -1141,9 +1141,9 @@
1141 1141  |(% style="width:450px" %)boxId|(% colspan="2" %)boxId(required)
1142 1142  |(% rowspan="1" style="width:102px" %)**Return value**|(% style="width:450px" %)Field name|(% colspan="2" %)Description
1143 1143  
1144 -= **Appendix** =
1126 += **4 Appendix** =
1145 1145  
1146 -== (% style="color:inherit; font-family:inherit; font-size:26px" %)**Data type**(%%) ==
1128 +== (% style="color:inherit; font-family:inherit; font-size:26px" %)**4.1 Data type**(%%) ==
1147 1147  
1148 1148  100: 16-bit binary
1149 1149