• 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

    Modify Monitoring

    • Description

      This interface is used to modify data monitoring points.

    • Request Address: (Choose one)

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

      URL2:[Host Server]/api/v2/box/dmon?boxNo={boxNo}

    • Address Parameter Description

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

      POST

    • Headers

      Field Type Description
      Authorization string "Bearer " + access_token obtained from login interface
    • Body
      Do not exceed 20 items in one request.

      Body is a list of data monitoring points in JSON format.

      Field Type Description
      dmonGrpId string Monitoring point group ID
      dmonGrpName string Monitoring point group name
      id string Monitoring point ID
      name string Monitoring point name
      intDigits int Integer digits (currently ineffective)
      fracDigits int Decimal places
      unit string Unit
      privilege int Access mode: 2 (write only), 4 (read only), 6 (read and write)
      devAlias string Device driver alias
      station int PLC communication station number
      dataType int Data type (see Appendix Two)
      regId int Register ID (combined with ioWidth to determine a unique register)
      ioWidth int Register width (combined with regId to determine a unique register)
      regName string Register name (can determine a unique register, either regId or ioWidth is optional)
      addr int PLC main address
      subAddr int PLC sub-address
      addrBlk int PLC DB block addressDB
      trafficSaving boolean Traffic saving mode (true: enabled, false: disabled; ineffective for string type)
      deadValue float Dead zone value; data within ±deadValue range is not pushed (not supported for string, bit, hex, and binary types)
      label JSON object Label for bit type,while value = 1,display ttext; while value = 0,display as ftext.
      memo string Remarks
      encoding int Encoding format, 0: none (for string type), 1: Unicode, 2: ASCII
      stringByteOrder int String byte order, valid when encoding is ASCII; 0 for descending order, 1 for ascending order
      charCount int Number of strings (valid only for string type)
      bitIndexEnabled boolean Whether to enable bit index
      bitIndex int Bit index number
      valueTransform jobject Value operation settings
      executeOnEdge boolean Whether to enable edge computing; must be configured for value operation to take effect

      Details of Value Transformation Settings

      Field Type Description
      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: Zoom
    • Successful Response

      NULL

    • Response Codes

      Code Description
      401 Access token expired
      400 Error information in HTTP Header [X-FBox-Code], see details in Appendix Three
      429 Access the interface so frequently. See 429 Status code
    Back to top Generated by DocFX