Get Single Alarm Contact
Description
This endpoint allows users to retrieve a single alarm contact.
Request Address
URL:
[Host Server]/api/v2/contact/{uid}
Address Parameter Description
Field Type Description Host Server string See Explanation of terms uid Long Primary key of the alarm contact Method
GET
Headers
Field Type Description Authorization string "Bearer " + Access Token obtained from the login interface Body
NULL
Success Response
Field Type Description uid string UID of the alarm contact email string Email of the alarm contact name string Name of the alarm contact cellphone string Phone number of the alarm contact enabled boolean Whether it is enabled or not noticeType int 0: None, 1: SMS, 2: Voice call, 3: SMS and Voice call memo string Remark Status Codes
Code Description 401 Access token expired 404 Alarm contact does not exist