Changes for page 07 HTTP API

Last modified by Devin Chen on 2025/06/30 14:16

From version 27.1
edited by Devin Chen
on 2025/06/16 10:21
Change comment: There is no comment for this version
To version 29.1
edited by Devin Chen
on 2025/06/30 14:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -478,101 +478,185 @@
478 478  
479 479  "groupId":"7325"
480 480  
481 +"devType":"0"
482 +
481 481  "pageSize":"5"
482 482  
483 483  "pageIndex":"2"
484 484  
485 485  (% style="text-align:center" %)
486 -[[image:V-BOX HTTP manual_html_52bf7d95165a3e3a.png||height="273" width="700" class="img-thumbnail"]]
488 +[[image:1751263596452-675.png||height="222" width="555"]]
487 487  
488 488  **Step3:** Get sign
489 489  
490 -boxId=973&comid=2&compvtkey=589625dce895454dbff9782c299db156&groupId=7325&pageIndex=2&pageSize=5&sid=2d7bfd344aa64d8ebc9beea0e4dad8ad&ts=1573897380&key=f1cd9351930d4e589922edbcf3b09a7c
492 +boxId=763&comid=128&compvtkey=7e421dd30a394d74b7b9c079e67e272c&devType=0&groupId=211608&pageIndex=1&pageSize=5&sid=0e583b1f48cf467bbf738365b3da1a26&ts=1751263335125&key=f1cd9351930d4e589922edbcf3b09a7c
491 491  
492 -MD5 sign: 0769228e66c945eed5431c41a96949f2
494 +MD5 sign: 27a89c93a4990d0497a8bd47dea4aed3
493 493  
494 494  **Step4:** Set common of header
495 495  
496 -{"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}
497 497  
498 498  (% style="text-align:center" %)
499 -[[image:V-BOX HTTP manual_html_d284dfdd7b4844ee.png||height="288" width="800" class="img-thumbnail"]]
501 +[[image:1751263680622-643.png]]
500 500  
501 501  **Result**
502 502  
503 503  {
504 504  
505 - "code": 200,
507 + "code": 200,
506 506  
507 - "msg": "ok",
509 + "msg": "ok",
508 508  
509 - "reqId": "1573903822419",
511 + "reqId": "1751263500705",
510 510  
511 - "result": {
513 + "result": {
512 512  
513 - "cfgList": [
515 + "cfgList": [
514 514  
515 515   {
516 516  
517 - "monitorId": 91545,
519 + "monitorId": 2276374,
518 518  
519 - "dataId": 105,
521 + "monitorName": "x0",
520 520  
521 - "monitorName": "Temp_9",
523 + "digitBinary": "",
522 522  
523 - "updTime": 1571965761000,
525 + "float_point": -1,
524 524  
525 - "dataLimit": "0 7999",
527 + "rid": "X",
526 526  
527 - "digitBinary": "十进制",
529 + "roleType": 1,
528 528  
529 - "addr": "9",
531 + "string_point": -1,
530 530  
531 - "rid": "D",
533 + "dataId": 105,
532 532  
533 - "roleType": 3,
535 + "addr_stat_no": -1,
534 534  
535 - "digitCount": "5,0",
537 + "updTime": 1745481123000,
536 536  
537 - "addrType": 2
539 + "dataLimit": "0 1",
538 538  
541 + "addr": "0",
542 +
543 + "digitCount": "",
544 +
545 + "boxId": 763,
546 +
547 + "addrType": 0
548 +
539 539   },
540 540  
541 - ……………
551 + {
542 542  
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 +
543 543   {
544 544  
545 - "monitorId": 91541,
587 + "monitorId": 2276367,
546 546  
547 - "dataId": 105,
589 + "monitorName": "okg",
548 548  
549 - "monitorName": "Temp_5",
591 + "digitBinary": "",
550 550  
551 - "updTime": 1571965761000,
593 + "float_point": 1,
552 552  
553 - "dataLimit": "0 7999",
595 + "rid": "HDW",
554 554  
555 - "digitBinary": "十进制",
597 + "roleType": 3,
556 556  
557 - "addr": "5",
599 + "string_point": -1,
558 558  
559 - "rid": "D",
601 + "dataId": 105,
560 560  
561 - "roleType": 3,
603 + "addr_stat_no": -1,
562 562  
563 - "digitCount": "5,0",
605 + "updTime": 1745475213000,
564 564  
565 - "addrType": 2
607 + "dataLimit": "0 299999",
566 566  
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 +
567 567   }
568 568  
569 569   ],
570 570  
571 - "totalPage": 3,
655 + "totalPage": 1,
572 572  
573 - "totalRecord": 15,
657 + "totalRecord": 4,
574 574  
575 - "currentPage": 2
659 + "currentPage": 1
576 576  
577 577   }
578 578  
... ... @@ -579,7 +579,7 @@
579 579  }
580 580  
581 581  (% style="text-align:center" %)
582 -[[image:V-BOX HTTP manual_html_e7271097b71941cc.png||height="644" width="800" class="img-thumbnail"]]
666 +[[image:1751263773173-191.png]]
583 583  
584 584  == **Tags data list** ==
585 585  
... ... @@ -621,6 +621,8 @@
621 621  
622 622  "boxId":"973"
623 623  
708 +"devType":"0"
709 +
624 624  "groupId":"7325"
625 625  
626 626  "pageSize":"5"
... ... @@ -628,73 +628,149 @@
628 628  "pageIndex":"2"
629 629  
630 630  (% style="text-align:center" %)
631 -[[image:V-BOX HTTP manual_html_b860bab44ebbc128.png||height="272" width="700" class="img-thumbnail"]]
717 +[[image:1751264089450-269.png||height="221" width="607"]]
632 632  
633 633  **Step3:** Get sign
634 634  
635 -boxId=973&comid=2&compvtkey=589625dce895454dbff9782c299db156&groupId=7325&pageIndex=2&pageSize=5&sid=2d7bfd344aa64d8ebc9beea0e4dad8ad&ts=1573897380&key=f1cd9351930d4e589922edbcf3b09a7c
721 +boxId=763&comid=128&compvtkey=7e421dd30a394d74b7b9c079e67e272c&devType=0&groupId=211608&pageIndex=1&pageSize=5&sid=0e583b1f48cf467bbf738365b3da1a26&ts=1751263921050&key=f1cd9351930d4e589922edbcf3b09a7c
636 636  
637 -MD5 sign: 0769228e66c945eed5431c41a96949f2
723 +MD5 sign: 19191b155e92f800f4db086bf06f8367
638 638  
639 -{"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}
640 640  
641 641  **~ {{id name="_Toc24963746"/}}Result**
642 642  
643 643  {
644 644  
645 - "code": 200,
731 + "code": 200,
646 646  
647 - "msg": "ok",
733 + "msg": "ok",
648 648  
649 - "reqId": "1573905679365",
735 + "reqId": "1751264055206",
650 650  
651 - "result": {
737 + "result": {
652 652  
653 - "totalPage": 3,
739 + "totalPage": 1,
654 654  
655 - "list": [
741 + "list": [
656 656  
657 657   {
658 658  
659 - "com": 2939,
745 + "com": 0,
660 660  
661 - "monitorId": 91545,
747 + "string_point": -1,
662 662  
663 - "monitorName": "Temp_9",
749 + "monitorId": 2276374,
664 664  
665 - "groupId": 0,
751 + "addr_stat_no": -1,
666 666  
667 - "state": "1",
753 + "actAuth": 1,
668 668  
669 - "value": "90"
755 + "monitorName": "x0",
670 670  
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 +
671 671   },
672 672  
673 - …………
771 + {
674 674  
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 +
675 675   },
676 676  
677 677   {
678 678  
679 - "com": 2939,
801 + "com": 0,
680 680  
681 - "monitorId": 91541,
803 + "string_point": -1,
682 682  
683 - "monitorName": "Temp_5",
805 + "monitorId": 2276367,
684 684  
685 - "groupId": 0,
807 + "addr_stat_no": -1,
686 686  
687 - "state": "1",
809 + "actAuth": 3,
688 688  
689 - "value": "87"
811 + "monitorName": "okg",
690 690  
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 +
691 691   }
692 692  
693 693   ],
694 694  
695 - "totalRecord": 15,
857 + "totalRecord": 4,
696 696  
697 - "currentPage": 2
859 + "currentPage": 1
698 698  
699 699   }
700 700  
... ... @@ -701,7 +701,7 @@
701 701  }
702 702  
703 703  (% style="text-align:center" %)
704 -[[image:V-BOX HTTP manual_html_705682e81eae5ea7.png||height="651" width="800" class="img-thumbnail"]]
866 +[[image:1751264191566-865.png]]
705 705  
706 706  == **Modify tag data** ==
707 707  
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