Modify Alarm Contact
Description
This interface is used to modify alarm contacts.
Request Address
URL:[Host Server]/api/v2/contact
Address Parameter Description
Field Type Description Host Server string See Explanation of terms Method
POST
Headers
Field Type Description Authorization string "Bearer " + Access token obtained from the login interface Body
Field Type Description uid string Alarm contact UID email string Alarm contact email name string Alarm contact name cellphone string Alarm contact phone number enabled Boolean Whether it is enabled noticeType int 0: None, 1: SMS, 2: Voice, 3: SMS and Voice memo string Note Successful Response
NULL
Response Codes
Code Description 401 Access token expired 409 Name conflict 400 Error information in HTTP Header [X-FBox-Code], see Appendix Three for details