Changes for page 07 HTTP API

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

From version 25.1
edited by Devin Chen
on 2025/04/10 16:16
Change comment: There is no comment for this version
To version 16.1
edited by Mora Zhou
on 2023/12/22 10:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.DevinChen
1 +XWiki.Mora
Content
... ... @@ -427,12 +427,11 @@
427 427  (% class="table-bordered" %)
428 428  |**acturl**|(% colspan="3" %)we-data/realcfgs
429 429  |**Functions**|(% colspan="3" %)Get the tags configuration information in the specified group in V-BOX.
430 -|(% colspan="1" rowspan="6" %)**Parameters**|Parameter|(% colspan="2" %)Description
430 +|(% rowspan="5" %)**Parameters**|Parameter|(% colspan="2" %)Description
431 431  |boxId|(% colspan="2" %)VBoxID(“None” means custom tags grouping)
432 432  |groupId|(% colspan="2" %)Group ID (Required)
433 433  |pageSize|(% colspan="2" %)Number of each page, 10 by default
434 434  |pageIndex|(% colspan="2" %)Number of current page, start from 1
435 -|devType|(% colspan="2" %)Device type (0:Box, 1:HMI)
436 436  |(% rowspan="15" %)**Return value**|Field name|(% colspan="2" %)Description
437 437  |(% rowspan="11" %)cfgList|monitorId|Tags ID
438 438  |monitorName|Tags name
... ... @@ -583,21 +583,16 @@
583 583  
584 584  == **Tags data list** ==
585 585  
586 -{{warning}}
587 -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
588 -{{/warning}}
589 -
590 590  **~ {{id name="_Toc24963744"/}}Parameters**
591 591  
592 592  (% class="table-bordered" %)
593 593  |**acturl**|(% colspan="3" %)we-data/realdata
594 594  |**Functions**|(% colspan="3" %)Get the tags data in the specified group in V-BOX.
595 -|(% colspan="1" rowspan="6" %)**Parameters**|Parameter|(% colspan="2" %)Description
590 +|(% rowspan="5" %)**Parameters**|Parameter|(% colspan="2" %)Description
596 596  |boxId|(% colspan="2" %)VBoxID(“None” means custom tag grouping)
597 597  |groupId|(% colspan="2" %)Group ID (Required)
598 598  |pageSize|(% colspan="2" %)Number of each page, 10 by default
599 599  |pageIndex|(% colspan="2" %)Number of current page, start from 1
600 -|devType|(% colspan="2" %)Device type (0:Box, 1:HMI)
601 601  |(% rowspan="11" %)**Return value**|Field name|(% colspan="2" %)Description
602 602  |(% rowspan="7" %)List|(% colspan="2" %)Real-time data list
603 603  |com|Communication port ID
... ... @@ -712,11 +712,9 @@
712 712  (% class="table-bordered" %)
713 713  |**acturl**|(% colspan="2" %)we-data/updrealdata
714 714  |**Functions**|(% colspan="2" %)Modify tag data
715 -|(% rowspan="5" %)**Parameters**|Parameter|Description
716 -|boxId|Box ID
709 +|(% rowspan="3" %)**Parameters**|Parameter|Description
717 717  |monitorId|Tag ID
718 718  |value|value
719 -|devType|Device type (0:Box, 1:HMI)
720 720  |**Return value**|(% colspan="2" %)None
721 721  
722 722  **Operating procedures**
... ... @@ -765,7 +765,7 @@
765 765  (% style="text-align:center" %)
766 766  [[image:V-BOX HTTP manual_html_590c8dab9e80fd0f.png||height="425" width="700" class="img-thumbnail"]]
767 767  
768 -== **Historical tags name list** ==
760 +== ** {{id name="_Toc24963751"/}}Historical tags name list** ==
769 769  
770 770  **Parameters**
771 771  
... ... @@ -772,9 +772,8 @@
772 772  (% class="table-bordered" %)
773 773  |**acturl**|(% colspan="3" %)we-data/monitors
774 774  |**Functions**|(% colspan="3" %)Get a list of historical tags
775 -|(% rowspan="3" %)**Parameters**|Parameter|(% colspan="2" %)Description
776 -|boxId|(% colspan="2" %)Box ID (Not required)
777 -|devType|(% colspan="2" %)Device type (0:Box, 1:HMI)
767 +|(% rowspan="2" %)**Parameters**|Parameter|(% colspan="2" %)Description
768 +|boxId|(% colspan="2" %)VBoxID (Not required)
778 778  |(% rowspan="4" %)**Return value**|Field name|(% colspan="2" %)Description
779 779  |(% rowspan="3" %)list|(% colspan="2" %)Tag list
780 780  |monitorId|tag ID
... ... @@ -850,7 +850,7 @@
850 850  (% style="text-align:center" %)
851 851  [[image:V-BOX HTTP manual_html_2a739377a9fb10b2.png||height="400" width="700" class="img-thumbnail"]]
852 852  
853 -== **Historical tag data list** ==
844 +== ** {{id name="_Toc24963755"/}}Historical tag data list** ==
854 854  
855 855  **~ {{id name="_Toc24963756"/}}Parameters**
856 856  
... ... @@ -977,7 +977,7 @@
977 977  (% class="table-bordered" %)
978 978  |**acturl**|(% colspan="3" %)we-data/alarmdata
979 979  |**Function**|(% colspan="3" %)Get alarm data
980 -|(% rowspan="10" %)**Parameters**|Parameter|(% colspan="2" %)Description
971 +|(% rowspan="9" %)**Parameters**|Parameter|(% colspan="2" %)Description
981 981  |boxId|(% colspan="2" %)VBoxID, (Required)
982 982  |monitorBeginTime|(% colspan="2" %)Monitoring start time, (Not required)
983 983  |monitorEndTime|(% colspan="2" %)Monitoring end time, (Not required)
... ... @@ -994,7 +994,6 @@
994 994  
995 995  (Not necessary)
996 996  )))
997 -|devType|(% colspan="2" %)Device type (0:Box, 1:HMI)
998 998  |(% rowspan="12" %)**Return value**|Field name|(% colspan="2" %)Description
999 999  |(% rowspan="8" %)List|(% colspan="2" %)Alarm data list
1000 1000  |monitorId|tag ID