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

    • Description

    ​ Retrieve all FGate groups under the current account, along with FGate-related parameters within each group.

    • Request Address: (Choose One)

      URL: [Host Server]/api/client/box/grouped

      URL : [Host Server]/api/client/v2/box/grouped?lite=true

    • Parameter Description

      Field Type Description
      Host Server string See Explanation of terms
    • Method

      GET

    • Headers

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

      NULL

    • Returned Fields

      The server returns an array of FGate groups. Each element in the array {JSON object type} represents a group, and the return structure is as follows:

      Structure of Group Unit JSON Object

      Field Type Description
      id string Group ID
      name string Group Name
      boxRegs JSON Array See below

      Properties of the boxRegs JSON Array Elements:

      Field Type Description
      id string Registration ID associated with the user account when adding (sharing) the box by the system
      alias string FGate alias
      boxUid string FGate Id
      owned Boolean Whether you are the owner
      shared Boolean Whether shared by others
      box json Object See below

      Properties of the FGate Object:

      Field Type Description
      uid string FGate uid
      id string FGate id
      boxNo string FGate Serial Number
      boxType int 0: Standard Box; 1: Mini Box; 2,4,7 : Lite Boxes; 5: gateway module
      connectionState int (FGate online status) 0: Unknown, 1: Connected, 2: Timeout, 3: Disconnected
      cs json object apiBaseUrl: Server which box is connected with; signalrUrl: SignalR address which box pushes data to
      commserver json object apiBaseUrl: Server which box is connected with; signalrUrl: SignalR address which box pushes data to
      devicePrimarySource int Data source FGate , 0: FBox, 1: Server
      memo string Remark
      net int 0: Unknown, 1: Ethernet, 2: GPRS, 4: WIFI (not supported), 5: 4G
      mode int 1: Transmitting; 0: Normal
      userPassword string FGate password
      currentSessionId string Current process ID (Negligible)
    • Response Codes

      Code Description
      401 Access token expired
      404 Interface does not exist, please check the URL
      429 Access the interface so frequently, see 429 Status code
      500 Internal error of interface
    • Postman example is as follows:

    Example of FGate List Retrieval Interface

    Back to top Generated by DocFX