JSON_Keypad

JSON message about parameters of a keypad

{
  "Keypad":{
    "id": , 
/*optional, int, keypad No., it starts from 1*/
    "related": , 
/*boolean, whether to link to the physical keypad. For PUT method, this node is optional; for GET method, this node is required*/
    "name":"", 
/*optional, string, keypad name*/
    "subSystem": , 
/*optional, array, linked partitions, e.g., [1,2,3] indicates linking to partition 1, partition 2, and partition 3*/
    "buzzerEnabled": , 
/*optional, boolean, whether to enable the buzzer: "true"-yes, "false"-no*/
    "swipingCardEnabled": , 
/*optional, boolean, whether to enable the card swiping function: "true"-yes, "false"-no*/
    "armByKeyEnabled": , 
/*optional, boolean, whether to enable the function of arming and disarming by pressing the key: "true"-yes (the virtual zone alarm will be enabled), "false"-no (the virtual zone alarm will be disabled). This function cannot be disabled for panic alarm and fire alarm*/
    "seq":"", 
/*optional, string, keypad serial No., this node is required when keypadAttrib is "wireless"*/
    "keypadAttrib":"", 
/*optional, read-only, string, keypad attribute: "wired", "wireless"*/
    "checkTime": , 
/*optional, int, offline time, unit: hour*/
    "address": ,
/*optional, read-only, int, keypad address, this node is only returned by wired keypads*/
    "type": "",
/*optional, read-only, string, keypad model*/
    "version": "",
/*optional, read-only, string, keypad version*/
    "status":"",
/*optional, read-only, string, keypad status: "notRelated"-unlinked,"online","offline","heartbeatAbnormal"-heartbeat exception*/
    "tamperEvident": ,
/*optional, read-only, boolean, tampering status: "true"-tampered, "false"-not tampered*/
    "alarmVoicePromptEnabled": ,
/*optional, boolean, whether to enable voice prompt for panic alarm: true-yes (the panic alarm of the keypad will be linked with voice prompt), false-no (the panic alarm of the keypad will not be linked with voice prompt)*/
    "SetLEDCFG":{
/*optional, schedule configuration to enable the backlight*/
      "TimeCFGList":[{
        "TimeSegment":{
          "id": , 
/*optional, int, time period No.*/
          "enabled": , 
/*optional, boolean, whether to enable: "true"-yes, "false"-no*/
          "beginTime":"", 
/*optional, string, start time of the time period, e.g., 09:00*/
          "endTime":""
/*optional, string, end time of the time period, e.g., 11:30*/
        }
      }]
    },
    "attribute": "", 
/*optional, string, read-only, keypad type: "LED" (LED keypad), "LCD" (LCD keypad)*/
    "company": "", 
/*optional, string, company name (for interface display), this node can be configured when attribute is "LED"*/
    "phoneNo": "", 
/*optional, string, phone number (for interface display), this node can be configured when attribute is "LED"*/
    "activeDelayEnabled":  true,
/*optional, boolean, whether to enable delayed activation*/
    "armAndDisarmAuthorityCfg":  "tag",	
/*optional, string, permission for arming/disarming the partition: "tag"-by card, "password"-by password, "tagOrPassword"-by card or password, "tagAndPassword"-by card and password*/
    "alarmBuzzerEnabled":  true,	
/*optional, boolean, whether to enable alarm buzzer: true, false*/
    "buttonBuzzerEnabled":  true	
/*optional, boolean, whether to enable button buzzer: true, false*/
  }
}