• HTTP document
    Show / Hide Table of Contents
    • Login Interface
      • Explanation of terms
      • Login
      • Refresh Login
    • Write Data Process
      • Add FGate Group
      • Add FGate
      • Add Monitoring Group
      • Add Monitoring Point
      • Get FGate List
      • FGate Monitoring List
      • Write Monitoring Value
      • Get Monitoring Value
    • Information Access
      • Get Single FGate
      • Get Monitoring Group
      • Get Some monitoring Points
      • Get Monitoring Point by Group
      • Get Iccid、Imei
      • Get Location of FGate
    • Remote Download
      • Get FGate Drive List
      • Download FGate Drive
      • Get Register Type of Device
      • Get Server Drive List
    • Modification Interface
      • Modify FGate Group
      • Modify FGate Name
      • Modify Monitoring
      • Modify Refresh Interval
    • Delete Interface
      • Delete FGate Group
      • Delete FGate
      • Delete Monitoring Group
      • Delete Monitoring Point
    • Alarm Interface
      • Alarm Group
        • Get Alarm Group List
        • Add Alarm Group
        • Modify Alarm Group
        • Delete Alarm Group
      • Alarm Contact
        • Get Alarm Contact List
        • Get Single Alarm Contact
        • Add Alarm contact
        • Modify Alarm Contact
        • Delete Alarm Contact
      • Alarm Record
        • Get Alarm Entry List
        • Get Alarm Entry
        • Add Alarm Entry
        • Modify Alarm Entry
        • Delete Alarm Entry
        • Get Historical Alarm
        • Get Alarm Entry Status
        • Confirm Alarm
    • Historical Data
      • Get Historical Data List
      • Get Historical Data Entry
      • Add Historical Record
      • Update Historical Record
      • Delete Historical Data
      • Get Historical Data
    • Push Monitoring Data
      • Enable Monitoring Group
      • Disable Monitoring Group
      • Enable Monitoring Group List
      • Disable Monitoring Group List
      • Enable All Monitoring Points
      • Disable All Monitoring Points
      • Enable One Monitoring Point
      • Disable One Monitoring Point
      • Enable Some Monitoring Points
      • Disable Some Monitoring Points
      • Enable Some Monitoring Points
      • Enable One Monitoring Group
      • Enable Some Monitoring Groups
    • Data Push(SignalR)
      • Real-time Data Push(signalR)
      • Status Change Push
      • Real-time Data Push
      • Alarm Trigger
      • Alarm Restore
    • Write in Batch
      • Get Bacth Write Group
      • Write Value in Batch
    • Appendix
      • Appendix One
      • Appendix Two
      • Appendix Three
      • 429 Status Code

    Get Historical Data Entry

    • Description

      This API is used to retrieve some historical record entries.

    • Request Address (Choose one)

      URL1: [Host Server]/api/v2/box/{boxId}/hdataitems/get

      URL2: [Host Server]/api/v2/box/{boxId}/hdataitems/get

    • Address Parameter Description

      Field Type Descrption
      Host Server string See Explanation of terms
      boxId Long Find it in Get FGate list interface: boxRegs->box->id
      boxNo string Serial number of the FGate
    • Method
      POST

    • Headers

      Field Type Descrption
      Authorization string "Bearer " + Access Token obtained from the login interface
    • Body

      Field Type Descrption
      ids long array Collection of historical record IDs, either this or names
      names string array Collection of historical record names, either this or IDs
    • Successful Response

      Field Type Descrption
      uid long Multi-channel ID of historical data
      name string Multi-channel name of historical data
      period int Acquisition period (unit: s)
      boxId long FGate Id
      hasCtrl bool Whether to enable settings
      ctrl JObject Enable settings, see detailed enable settings table
      channels JArray Channel settings, see channel configuration table

      Detailed Table of Enable Settings

      Field Type Descrption
      ctrlType int Enable item, 0: Disabled;1: Enabled
      devAlias string PLC alias (device alias in remote download)
      station int Station No
      dataType int Data type, see Appendix Two for details
      regId int Register ID, combined with ioWidth to determine a unique register
      ioWidth int Register bit width, combined with regId to determine a unique register
      regName string Register name, able to determine a unique register with either of the above two parameters
      addr int Main address
      subAddr int Subaddress
      addBlk int DB block address
      valueTransform jobject Numeric calculation settings
      executeOnEdge boolean Whether edge execution is enabled, numeric calculation must be configured when enabled

      Detailed information of Value Transformation Settings

      Field Type Descrption
      maxValue int Maximum value
      minValue int Minimum value
      scaleMaxValue int Maximum scale
      scaleMinValue int Minimum scale
      gain int Gain
      offset int Offset
      type int 1: Proportional conversion, 2: Scaling

      Channel Configuration Table

      Field Type Descrption
      uid long Channel ID
      name string Channel name
      unit string Unit
      intDigits int Integer digits
      fracDigits int Decimal digits
      desc string Description
      hasSubAddress bool Whether there is a subaddress
      hasSubIndex bool Whether there is a DB block address
      devAlias string PLC alias (device alias in remote download)
      Station int Station No
      dataType int Data type, see Appendix Two for details
      regId int Register ID, combined with ioWidth to determine a unique register
      ioWidth int Register bit width, combined with regId to determine a unique register
      regName string Register name, able to determine a unique register with either of the above two parameters
      addr int Main address
      subAddr int Subaddress
      addBlk int DB block address
    • Status Codes

      Code Description
      200 Successful execution
      401 Access token expired
      400 Error message in HTTP Header [X-FBox-Code], details in Appendix Three
      404 Interface does not exist, please check the URL
      429 Access the interface so frequently. See 429 Status code
    Back to top Generated by DocFX