Enable All Monitoring Points
Description
This API is used to subscribe to all monitoring points under a box, as a prerequisite before triggering the SignalR real-time data push event.
Note:After each box comes online, this API needs to be called again based on the state attribute of FGateStatusChangePush
Request Address: (Choose one)
URL:
[Host Server]/api/box/{boxId}/dmon/startAddress 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
POSTHeader
Field Type Description Authorization string "Bearer " + Access Token obtained from the login interface X-FBox-ClientId string See Appendix One Body
NULLSuccess Response
NULLReturn Codes
Code Description 200 Successful call 401 Access token expired 429 Access the interface so frequently. See 429 Status code 421 The GUID passed to signalr does not match the GUID passed to the open point interface 500 Failed to call the open point interface, signalr not connected
Note: HTTP requests may fail due to network or other factors. After an exceptional request, try it again.