Changes for page 07 HTTP API
Last modified by Devin Chen on 2025/06/30 14:16
From version 12.1
edited by Hunter
on 2023/08/03 15:02
on 2023/08/03 15:02
Change comment:
Replaced user [xwiki:XWiki.hunter123] in fields [author, contentAuthor] to user [xwiki:XWiki.Hunter]
To version 29.1
edited by Devin Chen
on 2025/06/30 14:16
on 2025/06/30 14:16
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 10 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -7 HTTP API 1 +07 HTTP API - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.DevinChen - Content
-
... ... @@ -1,4 +1,4 @@ 1 -= ** 1General** =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 ... ... @@ -25,9 +25,9 @@ 25 25 26 26 The common KEY is: 27 27 28 -**comid=2** 28 +**comid=128** 29 29 30 -**comkey= 589625dce895454dbff9782c299db156**30 +**comkey=7e421dd30a394d74b7b9c079e67e272c** 31 31 32 32 screctkey=f1cd9351930d4e589922edbcf3b09a7c 33 33 ... ... @@ -43,9 +43,12 @@ 43 43 44 44 screctkey=f1cd9351930d4e589922edbcf3b09a7c 45 45 46 +(% class="box infomessage" %) 47 +((( 46 46 **✎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 +))) 47 47 48 -== ** 1.1Interface Parameter Description** ==51 +== **Interface Parameter Description** == 49 49 50 50 **Global parameters** 51 51 ... ... @@ -69,7 +69,7 @@ 69 69 (% style="text-align:center" %) 70 70 [[image:1.png||height="141" width="500" class="img-thumbnail"]] 71 71 72 -== ** 1.2Example key and value** ==75 +== **Example key and value** == 73 73 74 74 1).**comid**=2 75 75 ... ... @@ -80,10 +80,10 @@ 80 80 4).**ts**=1573897380 81 81 82 82 ((( 83 -= ** 2Basic API** =86 += **Basic API** = 84 84 ))) 85 85 86 -== ** 2.1{{id name="_Toc24963726"/}}Login operation** ==89 +== **{{id name="_Toc24963726"/}}Login operation** == 87 87 88 88 ((( 89 89 **2.1.1 Parameters** ... ... @@ -100,7 +100,7 @@ 100 100 |utype|(% style="width:535px" %)User Type: 1-Manage Account, 2-Viewer Account 101 101 |sid|(% style="width:535px" %)User session ID (Only available for 12 hours) 102 102 103 -** 2.1.2Operating procedures**106 +**Operating procedures** 104 104 105 105 **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]] 106 106 ... ... @@ -140,7 +140,7 @@ 140 140 [[image:V-BOX HTTP manual_html_cbfc9bbb7d0d4f84.png||height="230" width="700" class="img-thumbnail"]] 141 141 142 142 ((( 143 -** 2.1.3Result**146 +**Result** 144 144 ))) 145 145 146 146 { ... ... @@ -167,17 +167,17 @@ 167 167 [[image:V-BOX HTTP manual_html_b00e7e6a00828e27.png||height="291" width="500" class="img-thumbnail"]] 168 168 169 169 ((( 170 -= ** 3Service data APIs** =173 += **Service data APIs** = 171 171 ))) 172 172 173 -== ** 3.1V-Box list** ==176 +== **V-Box list** == 174 174 175 -** 3.1.1{{id name="_Toc24963732"/}}Parameters**178 +**{{id name="_Toc24963732"/}}Parameters** 176 176 177 177 (% style="text-align:center" %) 178 178 [[image:X.png||height="412" width="700" class="img-thumbnail"]] 179 179 180 -** 3.1.2{{id name="_Toc24963733"/}}Operating procedures**183 +**~ {{id name="_Toc24963733"/}}Operating procedures** 181 181 182 182 **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]] 183 183 ... ... @@ -201,7 +201,7 @@ 201 201 (% style="text-align:center" %) 202 202 [[image:V-BOX HTTP manual_html_999832f3a31ac851.png||height="232" width="700" class="img-thumbnail"]] 203 203 204 -** 3.1.3Result**207 +**Result** 205 205 206 206 { 207 207 ... ... @@ -330,9 +330,9 @@ 330 330 (% style="text-align:center" %) 331 331 [[image:V-BOX HTTP manual_html_5999b14ed63e8065.png||height="348" width="600" class="img-thumbnail"]] 332 332 333 -== ** 3.2Real-time group list** ==336 +== **Real-time group list** == 334 334 335 -** 3.2.1{{id name="_Toc24963736"/}}338 +**{{id name="_Toc24963736"/}} Parameters** 336 336 337 337 (% class="table-bordered" %) 338 338 |**acturl**|(% colspan="3" %)we-data/realgroups ... ... @@ -344,7 +344,7 @@ 344 344 |groupId|Group ID 345 345 |groupName|Group name 346 346 347 -** 3.2.2Operating procedures**350 +**Operating procedures** 348 348 349 349 **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]] 350 350 ... ... @@ -371,7 +371,7 @@ 371 371 (% style="text-align:center" %) 372 372 [[image:V-BOX HTTP manual_html_cc06cac462c1b77a.png||height="172" width="800" class="img-thumbnail"]] 373 373 374 -** 3.2.3Result**377 +**Result** 375 375 376 376 { 377 377 ... ... @@ -417,18 +417,19 @@ 417 417 418 418 [[image:V-BOX HTTP manual_html_2445c358293d621.png||height="531" width="532"]] 419 419 420 -== ** 3.3Real-time tags configuration list** ==423 +== **Real-time tags configuration list** == 421 421 422 -** 3.3.1Parameters**425 +**Parameters** 423 423 424 424 (% class="table-bordered" %) 425 425 |**acturl**|(% colspan="3" %)we-data/realcfgs 426 426 |**Functions**|(% colspan="3" %)Get the tags configuration information in the specified group in V-BOX. 427 -|(% rowspan=" 5" %)**Parameters**|Parameter|(% colspan="2" %)Description430 +|(% colspan="1" rowspan="6" %)**Parameters**|Parameter|(% colspan="2" %)Description 428 428 |boxId|(% colspan="2" %)VBoxID(“None” means custom tags grouping) 429 429 |groupId|(% colspan="2" %)Group ID (Required) 430 430 |pageSize|(% colspan="2" %)Number of each page, 10 by default 431 431 |pageIndex|(% colspan="2" %)Number of current page, start from 1 435 +|devType|(% colspan="2" %)Device type (0:Box, 1:HMI) 432 432 |(% rowspan="15" %)**Return value**|Field name|(% colspan="2" %)Description 433 433 |(% rowspan="11" %)cfgList|monitorId|Tags ID 434 434 |monitorName|Tags name ... ... @@ -461,7 +461,7 @@ 461 461 |totalRecord|(% colspan="2" %)Total record number 462 462 |currentPage|(% colspan="2" %)Current page number 463 463 464 -** 3.3.2Operating procedures**468 +**Operating procedures** 465 465 466 466 **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]] 467 467 ... ... @@ -474,101 +474,185 @@ 474 474 475 475 "groupId":"7325" 476 476 481 +"devType":"0" 482 + 477 477 "pageSize":"5" 478 478 479 479 "pageIndex":"2" 480 480 481 481 (% style="text-align:center" %) 482 -[[image: V-BOX HTTP manual_html_52bf7d95165a3e3a.png||height="273" width="700"class="img-thumbnail"]]488 +[[image:1751263596452-675.png||height="222" width="555"]] 483 483 484 484 **Step3:** Get sign 485 485 486 -boxId= 973&comid=2&compvtkey=589625dce895454dbff9782c299db156&groupId=7325&pageIndex=2&pageSize=5&sid=2d7bfd344aa64d8ebc9beea0e4dad8ad&ts=1573897380&key=f1cd9351930d4e589922edbcf3b09a7c492 +boxId=763&comid=128&compvtkey=7e421dd30a394d74b7b9c079e67e272c&devType=0&groupId=211608&pageIndex=1&pageSize=5&sid=0e583b1f48cf467bbf738365b3da1a26&ts=1751263335125&key=f1cd9351930d4e589922edbcf3b09a7c 487 487 488 -MD5 sign: 0769228e66c945eed5431c41a96949f2494 +MD5 sign: 27a89c93a4990d0497a8bd47dea4aed3 489 489 490 490 **Step4:** Set common of header 491 491 492 -{" boxId":"973","groupId":"7325","pageSize":"5","pageIndex":"2","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"0769228e66c945eed5431c41a96949f2"}498 +{"compvtkey":"7e421dd30a394d74b7b9c079e67e272c","sign":"27a89c93a4990d0497a8bd47dea4aed3","comid":"128","sid":"0e583b1f48cf467bbf738365b3da1a26","ts":1751263335125} 493 493 494 494 (% style="text-align:center" %) 495 -[[image: V-BOX HTTP manual_html_d284dfdd7b4844ee.png||height="288" width="800" class="img-thumbnail"]]501 +[[image:1751263680622-643.png]] 496 496 497 -** 3.3.3Result**503 +**Result** 498 498 499 499 { 500 500 501 - "code": 507 + "code": 200, 502 502 503 - "msg": 509 + "msg": "ok", 504 504 505 - "reqId": 573903822419",511 + "reqId": "1751263500705", 506 506 507 - "result": 513 + "result": { 508 508 509 - "cfgList": 515 + "cfgList": [ 510 510 511 511 { 512 512 513 - "monitorId": 91545,519 + "monitorId": 2276374, 514 514 515 - " dataId":105,521 + "monitorName": "x0", 516 516 517 - " monitorName":Temp_9",523 + "digitBinary": "", 518 518 519 - " updTime":571965761000,525 + "float_point": -1, 520 520 521 - " dataLimit":0 7999",527 + "rid": "X", 522 522 523 - " digitBinary":"十进制",529 + "roleType": 1, 524 524 525 - " addr":"9",531 + "string_point": -1, 526 526 527 - " rid":"D",533 + "dataId": 105, 528 528 529 - "ro leType":3,535 + "addr_stat_no": -1, 530 530 531 - "di gitCount":"5,0",537 + "updTime": 1745481123000, 532 532 533 - " addrType":2539 + "dataLimit": "0 1", 534 534 541 + "addr": "0", 542 + 543 + "digitCount": "", 544 + 545 + "boxId": 763, 546 + 547 + "addrType": 0 548 + 535 535 }, 536 536 537 - ……………551 + { 538 538 553 + "monitorId": 2276373, 554 + 555 + "monitorName": "y0", 556 + 557 + "digitBinary": "", 558 + 559 + "float_point": -1, 560 + 561 + "rid": "Y", 562 + 563 + "roleType": 3, 564 + 565 + "string_point": -1, 566 + 567 + "dataId": 105, 568 + 569 + "addr_stat_no": -1, 570 + 571 + "updTime": 1745480354000, 572 + 573 + "dataLimit": "0 1", 574 + 575 + "addr": "0", 576 + 577 + "digitCount": "", 578 + 579 + "boxId": 763, 580 + 581 + "addrType": 0 582 + 583 + }, 584 + 539 539 { 540 540 541 - "monitorId": 91541,587 + "monitorId": 2276367, 542 542 543 - " dataId":105,589 + "monitorName": "okg", 544 544 545 - " monitorName":Temp_5",591 + "digitBinary": "", 546 546 547 - " updTime":571965761000,593 + "float_point": 1, 548 548 549 - " dataLimit":0 7999",595 + "rid": "HDW", 550 550 551 - " digitBinary":"十进制",597 + "roleType": 3, 552 552 553 - " addr":"5",599 + "string_point": -1, 554 554 555 - " rid":"D",601 + "dataId": 105, 556 556 557 - "ro leType":3,603 + "addr_stat_no": -1, 558 558 559 - "di gitCount":"5,0",605 + "updTime": 1745475213000, 560 560 561 - " addrType":607 + "dataLimit": "0 299999", 562 562 609 + "addr": "10", 610 + 611 + "digitCount": "5,0", 612 + 613 + "boxId": 763, 614 + 615 + "addrType": 2 616 + 617 + }, 618 + 619 + { 620 + 621 + "monitorId": 2276366, 622 + 623 + "monitorName": "hjdfh", 624 + 625 + "digitBinary": "", 626 + 627 + "float_point": -1, 628 + 629 + "rid": "HDX", 630 + 631 + "roleType": 3, 632 + 633 + "string_point": -1, 634 + 635 + "dataId": 105, 636 + 637 + "addr_stat_no": -1, 638 + 639 + "updTime": 1745475139000, 640 + 641 + "dataLimit": "0 299999,0 15", 642 + 643 + "addr": "0,0", 644 + 645 + "digitCount": "", 646 + 647 + "boxId": 763, 648 + 649 + "addrType": 0 650 + 563 563 } 564 564 565 565 ], 566 566 567 - "totalPage": 3,655 + "totalPage": 1, 568 568 569 - "totalRecord": 15,657 + "totalRecord": 4, 570 570 571 - "currentPage": 2659 + "currentPage": 1 572 572 573 573 } 574 574 ... ... @@ -575,20 +575,25 @@ 575 575 } 576 576 577 577 (% style="text-align:center" %) 578 -[[image: V-BOX HTTP manual_html_e7271097b71941cc.png||height="644" width="800" class="img-thumbnail"]]666 +[[image:1751263773173-191.png]] 579 579 580 -== (% id="cke_bm_1151S" style="display:none" %)**{{id name="_Toc24963743"/}}**(%%)**3.4 Tags data list** ==668 +== **Tags data list** == 581 581 582 -**3.4.1 {{id name="_Toc24963744"/}}Parameters** 670 +{{warning}} 671 +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 **[[Send switch to device>>https://docs.we-con.com.cn/bin/view/V-BOX/V-Net/Manual/6%20HTTP%20API/#HSendswitchtodevice]] **API with this API 672 +{{/warning}} 583 583 674 +**~ {{id name="_Toc24963744"/}}Parameters** 675 + 584 584 (% class="table-bordered" %) 585 585 |**acturl**|(% colspan="3" %)we-data/realdata 586 586 |**Functions**|(% colspan="3" %)Get the tags data in the specified group in V-BOX. 587 -|(% rowspan=" 5" %)**Parameters**|Parameter|(% colspan="2" %)Description679 +|(% colspan="1" rowspan="6" %)**Parameters**|Parameter|(% colspan="2" %)Description 588 588 |boxId|(% colspan="2" %)VBoxID(“None” means custom tag grouping) 589 589 |groupId|(% colspan="2" %)Group ID (Required) 590 590 |pageSize|(% colspan="2" %)Number of each page, 10 by default 591 591 |pageIndex|(% colspan="2" %)Number of current page, start from 1 684 +|devType|(% colspan="2" %)Device type (0:Box, 1:HMI) 592 592 |(% rowspan="11" %)**Return value**|Field name|(% colspan="2" %)Description 593 593 |(% rowspan="7" %)List|(% colspan="2" %)Real-time data list 594 594 |com|Communication port ID ... ... @@ -601,7 +601,7 @@ 601 601 |totalRecord|(% colspan="2" %)Total record 602 602 |currentPage|(% colspan="2" %)current page 603 603 604 -** 3.4.2{{id name="_Toc24963745"/}}Operating procedures**697 +**~ {{id name="_Toc24963745"/}}Operating procedures** 605 605 606 606 **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]] 607 607 ... ... @@ -612,6 +612,8 @@ 612 612 613 613 "boxId":"973" 614 614 708 +"devType":"0" 709 + 615 615 "groupId":"7325" 616 616 617 617 "pageSize":"5" ... ... @@ -619,73 +619,149 @@ 619 619 "pageIndex":"2" 620 620 621 621 (% style="text-align:center" %) 622 -[[image: V-BOX HTTP manual_html_b860bab44ebbc128.png||height="272" width="700"class="img-thumbnail"]]717 +[[image:1751264089450-269.png||height="221" width="607"]] 623 623 624 624 **Step3:** Get sign 625 625 626 -boxId= 973&comid=2&compvtkey=589625dce895454dbff9782c299db156&groupId=7325&pageIndex=2&pageSize=5&sid=2d7bfd344aa64d8ebc9beea0e4dad8ad&ts=1573897380&key=f1cd9351930d4e589922edbcf3b09a7c721 +boxId=763&comid=128&compvtkey=7e421dd30a394d74b7b9c079e67e272c&devType=0&groupId=211608&pageIndex=1&pageSize=5&sid=0e583b1f48cf467bbf738365b3da1a26&ts=1751263921050&key=f1cd9351930d4e589922edbcf3b09a7c 627 627 628 -MD5 sign: 0769228e66c945eed5431c41a96949f2723 +MD5 sign: 19191b155e92f800f4db086bf06f8367 629 629 630 -{" boxId":"973","groupId":"7325","pageSize":"5","pageIndex":"2","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"0769228e66c945eed5431c41a96949f2"}725 +{"compvtkey":"7e421dd30a394d74b7b9c079e67e272c","sign":"19191b155e92f800f4db086bf06f8367","comid":"128","sid":"0e583b1f48cf467bbf738365b3da1a26","ts":1751263921050} 631 631 632 -** 3.4.3{{id name="_Toc24963746"/}}Result**727 +**~ {{id name="_Toc24963746"/}}Result** 633 633 634 634 { 635 635 636 - "code": 731 + "code": 200, 637 637 638 - "msg": 733 + "msg": "ok", 639 639 640 - "reqId": 573905679365",735 + "reqId": "1751264055206", 641 641 642 - "result": 737 + "result": { 643 643 644 - "totalPage": 3,739 + "totalPage": 1, 645 645 646 - "list": 741 + "list": [ 647 647 648 648 { 649 649 650 - "com": 2939,745 + "com": 0, 651 651 652 - " monitorId":91545,747 + "string_point": -1, 653 653 654 - "monitor Name":"Temp_9",749 + "monitorId": 2276374, 655 655 656 - " groupId":0,751 + "addr_stat_no": -1, 657 657 658 - " state":"1",753 + "actAuth": 1, 659 659 660 - " value":90"755 + "monitorName": "x0", 661 661 757 + "groupId": 211608, 758 + 759 + "state": 0, 760 + 761 + "float_point": -1, 762 + 763 + "templateId": 0, 764 + 765 + "value": "0", 766 + 767 + "boxId": 763 768 + 662 662 }, 663 663 664 - …………771 + { 665 665 773 + "com": 0, 774 + 775 + "string_point": -1, 776 + 777 + "monitorId": 2276373, 778 + 779 + "addr_stat_no": -1, 780 + 781 + "actAuth": 3, 782 + 783 + "monitorName": "y0", 784 + 785 + "groupId": 211608, 786 + 787 + "state": 0, 788 + 789 + "float_point": -1, 790 + 791 + "templateId": 0, 792 + 793 + "value": "0", 794 + 795 + "boxId": 763 796 + 666 666 }, 667 667 668 668 { 669 669 670 - "com": 2939,801 + "com": 0, 671 671 672 - " monitorId":91541,803 + "string_point": -1, 673 673 674 - "monitor Name":"Temp_5",805 + "monitorId": 2276367, 675 675 676 - " groupId":0,807 + "addr_stat_no": -1, 677 677 678 - " state":"1",809 + "actAuth": 3, 679 679 680 - " value":87"811 + "monitorName": "okg", 681 681 813 + "groupId": 211608, 814 + 815 + "state": 0, 816 + 817 + "float_point": 1, 818 + 819 + "templateId": 0, 820 + 821 + "value": "0", 822 + 823 + "boxId": 763 824 + 825 + }, 826 + 827 + { 828 + 829 + "com": 0, 830 + 831 + "string_point": -1, 832 + 833 + "monitorId": 2276366, 834 + 835 + "addr_stat_no": -1, 836 + 837 + "actAuth": 3, 838 + 839 + "monitorName": "hjdfh", 840 + 841 + "groupId": 211608, 842 + 843 + "state": 0, 844 + 845 + "float_point": -1, 846 + 847 + "templateId": 0, 848 + 849 + "value": "0", 850 + 851 + "boxId": 763 852 + 682 682 } 683 683 684 684 ], 685 685 686 - "totalRecord": 15,857 + "totalRecord": 4, 687 687 688 - "currentPage": 2859 + "currentPage": 1 689 689 690 690 } 691 691 ... ... @@ -692,23 +692,25 @@ 692 692 } 693 693 694 694 (% style="text-align:center" %) 695 -[[image: V-BOX HTTP manual_html_705682e81eae5ea7.png||height="651" width="800" class="img-thumbnail"]]866 +[[image:1751264191566-865.png]] 696 696 697 -== ** 3.5Modify tag data** ==868 +== **Modify tag data** == 698 698 699 699 ((( 700 -** 3.5.1Parameters**871 +**Parameters** 701 701 ))) 702 702 703 703 (% class="table-bordered" %) 704 704 |**acturl**|(% colspan="2" %)we-data/updrealdata 705 705 |**Functions**|(% colspan="2" %)Modify tag data 706 -|(% rowspan="3" %)**Parameters**|Parameter|Description 877 +|(% rowspan="5" %)**Parameters**|Parameter|Description 878 +|boxId|Box ID 707 707 |monitorId|Tag ID 708 708 |value|value 881 +|devType|Device type (0:Box, 1:HMI) 709 709 |**Return value**|(% colspan="2" %)None 710 710 711 -** 3.5.2Operating procedures**884 +**Operating procedures** 712 712 713 713 **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]] 714 714 ... ... @@ -717,27 +717,28 @@ 717 717 718 718 **Step2:** Set parameters on Params 719 719 720 -"monitorId":"91541" 893 +boxId:6397578 894 +monitorId:1001 895 +value:66 896 +devType:1 721 721 722 -"value":"60" 723 - 724 724 (% style="text-align:center" %) 725 -[[image: V-BOX HTTP manual_html_5a3153add75ca7b4.png||height="246" width="800" class="img-thumbnail"]]899 +[[image:1746502882467-849.png]] 726 726 727 727 **Step3:** Get sign 728 728 729 -comid=2&compvtkey= 589625dce895454dbff9782c299db156&monitorId=91541&sid=2d7bfd344aa64d8ebc9beea0e4dad8ad&ts=1573897380&value=60&key=f1cd9351930d4e589922edbcf3b09a7c903 +boxId=6397578&comid=128&compvtkey=7e421dd30a394d74b7b9c079e67e272c&devType=1&monitorId=1001&sid=d8c98edd64da40289fef565c94924fe5&ts=171746501715435&value=66&key=f1cd9351930d4e589922edbcf3b09a7c 730 730 731 -MD5 sign: 4 119b1abc9176a187f781bece04a5296905 +MD5 sign: 4802a362fde2ca5053ad79fe4d272200 732 732 733 733 **Step4: **Set common of header 734 734 735 -{" monitorId":"91541","value":"60","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"4119b1abc9176a187f781bece04a5296"}909 +{"compvtkey":"7e421dd30a394d74b7b9c079e67e272c","sign":"4802a362fde2ca5053ad79fe4d272200","comid":"128","sid":"d8c98edd64da40289fef565c94924fe5","ts":171746501715435} 736 736 737 737 (% style="text-align:center" %) 738 -[[image: V-BOX HTTP manual_html_59d54a5d886ef614.png||height="244" width="700" class="img-thumbnail"]]912 +[[image:1746503047845-902.png]] 739 739 740 -** 3.5.3Result**914 +**Result** 741 741 742 742 { 743 743 ... ... @@ -752,23 +752,24 @@ 752 752 } 753 753 754 754 (% style="text-align:center" %) 755 -[[image: V-BOX HTTP manual_html_590c8dab9e80fd0f.png||height="425" width="700" class="img-thumbnail"]]929 +[[image:1746503002289-932.png]] 756 756 757 -== ** 3.6 {{id name="_Toc24963751"/}}Historical tags name list** ==931 +== **Historical tags name list** == 758 758 759 -** 3.6.1Parameters**933 +**Parameters** 760 760 761 761 (% class="table-bordered" %) 762 762 |**acturl**|(% colspan="3" %)we-data/monitors 763 763 |**Functions**|(% colspan="3" %)Get a list of historical tags 764 -|(% rowspan="2" %)**Parameters**|Parameter|(% colspan="2" %)Description 765 -|boxId|(% colspan="2" %)VBoxID (Not required) 938 +|(% rowspan="3" %)**Parameters**|Parameter|(% colspan="2" %)Description 939 +|boxId|(% colspan="2" %)Box ID (Not required) 940 +|devType|(% colspan="2" %)Device type (0:Box, 1:HMI) 766 766 |(% rowspan="4" %)**Return value**|Field name|(% colspan="2" %)Description 767 767 |(% rowspan="3" %)list|(% colspan="2" %)Tag list 768 768 |monitorId|tag ID 769 769 |monitorName|tag name 770 770 771 -** 3.6.2Operating procedures**946 +**Operating procedures** 772 772 773 773 **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]] 774 774 ... ... @@ -795,7 +795,7 @@ 795 795 (% style="text-align:center" %) 796 796 [[image:V-BOX HTTP manual_html_dba52ac718eeb66e.png||height="228" width="700" class="img-thumbnail"]] 797 797 798 -** 3.6.3Result**973 +**Result** 799 799 800 800 { 801 801 ... ... @@ -838,9 +838,9 @@ 838 838 (% style="text-align:center" %) 839 839 [[image:V-BOX HTTP manual_html_2a739377a9fb10b2.png||height="400" width="700" class="img-thumbnail"]] 840 840 841 -== (% id="cke_bm_1218S" style="display:none" %)****(%%)**3.7 {{id name="_Toc24963755"/}}Historical tag data list** ==1016 +== **Historical tag data list** == 842 842 843 -** 3.7.1{{id name="_Toc24963756"/}}Parameters**1018 +**~ {{id name="_Toc24963756"/}}Parameters** 844 844 845 845 (% class="table-bordered" %) 846 846 |**acturl**|(% colspan="3" %)we-data/historydata ... ... @@ -860,7 +860,7 @@ 860 860 |totalRecord|(% colspan="2" %)Total records 861 861 |currentPage|(% colspan="2" %)Current page 862 862 863 - **3.7.2Operating procedures**1038 +**Operating procedures** 864 864 865 865 **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]] 866 866 ... ... @@ -895,7 +895,7 @@ 895 895 (% style="text-align:center" %) 896 896 [[image:V-BOX HTTP manual_html_fac48b1179b555ee.png||height="291" width="700" class="img-thumbnail"]] 897 897 898 -** 3.7.3Result**1073 +**Result** 899 899 900 900 { 901 901 ... ... @@ -958,14 +958,14 @@ 958 958 (% style="text-align:center" %) 959 959 [[image:V-BOX HTTP manual_html_f3b62eb69687a214.png||height="476" width="700" class="img-thumbnail"]] 960 960 961 -== ** 3.8Alarm tags data list** ==1136 +== **Alarm tags data list** == 962 962 963 -** 3.8.1{{id name="_Toc24963760"/}}Parameters**1138 +**{{id name="_Toc24963760"/}}Parameters** 964 964 965 965 (% class="table-bordered" %) 966 966 |**acturl**|(% colspan="3" %)we-data/alarmdata 967 967 |**Function**|(% colspan="3" %)Get alarm data 968 -|(% rowspan=" 9" %)**Parameters**|Parameter|(% colspan="2" %)Description1143 +|(% rowspan="10" %)**Parameters**|Parameter|(% colspan="2" %)Description 969 969 |boxId|(% colspan="2" %)VBoxID, (Required) 970 970 |monitorBeginTime|(% colspan="2" %)Monitoring start time, (Not required) 971 971 |monitorEndTime|(% colspan="2" %)Monitoring end time, (Not required) ... ... @@ -982,6 +982,7 @@ 982 982 983 983 (Not necessary) 984 984 ))) 1160 +|devType|(% colspan="2" %)Device type (0:Box, 1:HMI) 985 985 |(% rowspan="12" %)**Return value**|Field name|(% colspan="2" %)Description 986 986 |(% rowspan="8" %)List|(% colspan="2" %)Alarm data list 987 987 |monitorId|tag ID ... ... @@ -995,7 +995,7 @@ 995 995 |totalRecord|(% colspan="2" %)Total records 996 996 |currentPage|(% colspan="2" %)Current page 997 997 998 -** 3.8.2{{id name="_Toc24963761"/}}Operating procedures**1174 +**~ {{id name="_Toc24963761"/}}Operating procedures** 999 999 1000 1000 **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]] 1001 1001 ... ... @@ -1032,7 +1032,7 @@ 1032 1032 (% style="text-align:center" %) 1033 1033 [[image:V-BOX HTTP manual_html_cd9ce84648b86cb9.png||height="269" width="700" class="img-thumbnail"]] 1034 1034 1035 -** 3.8.3Result**1211 +**Result** 1036 1036 1037 1037 { 1038 1038 ... ... @@ -1111,9 +1111,9 @@ 1111 1111 (% style="text-align:center" %) 1112 1112 [[image:V-BOX HTTP manual_html_d4a3e0114c402c27.png||height="475" width="700" class="img-thumbnail"]] 1113 1113 1114 -== ** 3.9Get device state** ==1290 +== **Get device state** == 1115 1115 1116 -** 3.9.1{{id name="_Toc24963760"/}}Parameters**1292 +**~ {{id name="_Toc24963760"/}}Parameters** 1117 1117 1118 1118 (% class="table-bordered" %) 1119 1119 |**acturl**|(% colspan="3" %)we-data/getDeviceState ... ... @@ -1123,7 +1123,7 @@ 1123 1123 |(% rowspan="2" %)**Return value**|Field name|(% colspan="2" %)Description 1124 1124 |state|(% colspan="2" %)vbox state: 1-online, 0-offline 1125 1125 1126 -== ** 3.10Send switch to device** ==1302 +== **Send switch to device** == 1127 1127 1128 1128 **3.10.1 {{id name="_Toc24963760"/}}Parameters** 1129 1129 ... ... @@ -1134,9 +1134,9 @@ 1134 1134 |(% style="width:450px" %)boxId|(% colspan="2" %)boxId(required) 1135 1135 |(% rowspan="1" style="width:102px" %)**Return value**|(% style="width:450px" %)Field name|(% colspan="2" %)Description 1136 1136 1137 -= ** 4Appendix** =1313 += **Appendix** = 1138 1138 1139 -== (% style="color:inherit; font-family:inherit; font-size:26px" %)** 4.1Data type**(%%) ==1315 +== (% style="color:inherit; font-family:inherit; font-size:26px" %)**Data type**(%%) == 1140 1140 1141 1141 100: 16-bit binary 1142 1142
- 1746502870811-166.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.4 KB - Content
- 1746502882467-849.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.4 KB - Content
- 1746503002289-932.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +20.3 KB - Content
- 1746503047845-902.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.1 KB - Content
- 1751263559328-234.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.7 KB - Content
- 1751263596452-675.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.9 KB - Content
- 1751263680622-643.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +27.1 KB - Content
- 1751263773173-191.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +28.5 KB - Content
- 1751264089450-269.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.2 KB - Content
- 1751264191566-865.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.1 KB - Content