Delete Historical Data
Description
This interface allows users to delete historical records.
Request Address (Choose One)
URL1:
[Host Server]/api/v2/box/{boxId}/hdataitems/del
URL2:
[Host Server]/api/v2/hdataitems/del?boxNo={boxNo}
Address Parameter Description
Field Type Description Host Server string See Explanation of terms boxid Long The UID primary key of the historical record. boxNo string The serial number of the FGate Method
POST
Header
Field Type Description Authorization string "Bearer " + Access token obtained from the login interface Body
Field Type Description ids List(Long) List of historical record IDs to be deleted, alternative to names names List(string) List of historical record names to be deleted, alternative to ids Response Success
NULL
Response Codes
Code Description 200 Request succeeded 401 Access token expired 400 Error message in the HTTP Header [X-FBox-Code], see Appendix Three for details 429 Access the interface so frequently. See 429 Status code