• 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 FGate Drive List

    • Description

      This interface retrieves all connected devices of FGate.

    • Request Address

      URL:[Host Server]/api/v2/box/{boxId}/device

    • Address Parameter Description

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

      GET

    • Headers

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

      NULL

    • Returned Fields
      Returned as a JSON array, attributes for a device are as follows:

      Field Type Description
      plcId int PLC ID, if multiple identical PLCs are connected with one FGate, the ID is not unique and cannot be used as a primary key
      plcName string PLC name
      alias string PLC alias
      type int 0: Serial type, 2: Network type
      advanced JSON Object Advanced parameters for PLC configuration, see details in the table below
      portNo int PLC number, 1: Serial port 1, 2: Serial port 2, 3: Serial port 3, above 4096 is Ethernet
      plcDongleFlag int Remote shutdown status, 0: Not supported, 1: Enabled, 2: Disabled, 3: Not configured, 4: Box is offline
      interface int Serial port parameters, interface type, 0: RS232, 1: RS485_2, 2: RS485_4, 85: Network (Serial port 1 supports RS232, RS485_2, and RS485_4, Serial port 2 supports only RS485_2, Serial port 3 supports only RS232)
      baudRate int Serial port parameters, baud rate
      dataBits int Serial port parameters, data bit
      stopBits int Serial port parameters, stop bit
      parityType int Serial port parameters, parity bit
      class int 0:0: Master device, 1: Slave device, 2: Master-slave device (currently not supported)
      ip string Network PLC parameters, IP address
      port int Network PLC parameters, port number
      enabledBroadcast boolean Whether to enable broadcast station number
      broadcasetStationNo int Broadcast station number
      slaveNo int Slave device number

      Advance object properties:

      Field Type Description
      plcResponseTimeout int Communication timeout parameter
      protocolTimeout1 int Protocol timeout parameter 1
      protocolTimeout2 int Protocol timeout parameter 2
      maxPacketsWordReg int Maximum number of registers per word group
      maxPacketsBitReg int Maximum number of registers per bit group
      assembleIntervalWordReg int Word register grouping interval
      assembleIntervalBitReg int Bit register grouping interval
      protocolInterval int Communication interval time (unit: s)
      byteOrder16 int Byte order of 16-bit integers 0: 21, 1: 12
      byteOrder32 int Byte order of 32-bit integers 0: 4321, 1: 3412, 2: 2143, 3: 1234
      byteOrderFloat int Byte order of 32-bit floating point numbers 0: 4321, 1: 3412, 2: 2143, 3: 1234
      retryType int Retry type, 0: Retry, 1: Disconnect
      alarmInfDispTms int Prompt message display time
    • Response Codes

      Code Description
      401 Access token expired
      404 Interface does not exist, please check the URL
    Back to top Generated by DocFX