Add Alarm Group
Description
This interface is used for users to add alarm groups.
Request URL
URL:
[Host Server]/api/v2/alarm/group
Query Parameters
Field Type Description Host Server string See Explanation of terms Method
PUT
Headers
Field Type Description Authorization string "Bearer " + Access Token obtained from the login interface Body
Field Type Description boxId string FGate id name string "Alarm Group Name," within 20 characters. memo string "Alarm Group Remarks" cuids list "Collection of Alarm Contact IDs (if no alarm contacts, pass an empty array)." Response Success
NULL
Response Codes
Field Description 401 Access Token Expired 404 This name has already existed. 409 Alarm Contact Does Not Exist 400 Error message in the HTTP header[X-FBox-Code], see Appendix Three for details. 500 "Invalid Parameters" Postman example is as follows:
- Please see the example in the following image.