• 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

    Write Monitoring Value

    • Description

      This interface is used to perform write operations on monitoring point data.

    • Request Address(Choose One)

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

      URL2:[Host Server]/api/v2/dmon/value?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 serial number
    • Method

      POST

    • Headers

      Field Type Description
      Authorization string "Bearer " + Access token obtained from the login interface
    • Body

      Field Type Description
      id string Monitoring point UID. If the id attribute is used, the name is not required.
      name string Monitoring point name. If the name attribute is used, the id is not required.
      groupname string Monitoring group name, used in conjunction with name to distinguish between monitoring point names with the same name under different groups.
      type int Data type: {0: value is the specified type in the monitoring point}, {1: value integer is decimal value, floating point number and other values are uploaded directly}
      value string Value

      Note
      If the type of transmission is 1, all integer types need to be converted to decimal integers and passed to the server. Integers with decimal places should be multiplied by 10^n to convert to integers without decimal places.

    • Response Codes

      Code Description
      200 Execution successful
      401 Access token expired
      400 Error information in HTTP Header [X-FBox-Code], see Appendix Three for details
      404 The interface does not exist, please check the URL
      429 Access the interface so frequently. See 429 Status code

      When the return code is 200, the box successfully writes values to the PLC. When the return code is 40, the box fails to write values to the PLC.*

      Get Value

    • Please see the example in the following image.

    Login Interface

    Back to top Generated by DocFX