JSON_Cap_AcsEventTotalNum

AcsEventTotalNum capability message in JSON format

{
  "AcsEvent":{
    "AcsEventTotalNumCond":{
/*optional, search conditions*/
      "major":{
/*required, integer type, major type (the type value should be transformed to the decimal number): 0-all, 1-major alarm type, 2-major exception type, 3-major operation type, 5-major event type, refer to Access Control Event Types for details*/
        "@opt":"0,1,2,3,5"
      }, 
      "minorAlarm":{
/*required, integer, minor alarm type (the type value should be transformed to the decimal number), refer to Access Control Event Types for details*/
        "@opt":"1024,1025,1026,1027…"
      }, 
      "minorException":{
/*required, integer, minor exception type (the type value should be transformed to the decimal number), refer to Access Control Event Types for details*/
        "@opt":"39,58,59,1024…"
      }, 
      "minorOperation":{
/*required, integer, minor operation type (the type value should be transformed to the decimal number), refer to Access Control Event Types for details*/
        "@opt":"80,90,112,113…"
      }, 
      "minorEvent":{
/*required, integer, minor event type (the type value should be transformed to the decimal number), refer to Access Control Event Types for details*/
        "@opt":"1,2,3,4…"
      }, 
      "startTime":{
/*optional, string, start time (UTC time)*/
        "@min": , 
        "@max": 
      }, 
      "endTime":{
/*optional, string, end time (UTC time)*/
        "@min": , 
        "@max": 
      }, 
      "cardNo":{
/*optional, string, card No.*/
        "@min": , 
        "@max": 
      }, 
      "name":{
/*optional, string, cardholder name*/
        "@min": , 
        "@max": 
      }, 
      "picEnable":"true,false", 
/*optional, boolean, whether to contain pictures: "false"-no, "true"-yes*/
      "beginSerialNo":{
/*optional, integer, start serial No.*/
        "@min": , 
        "@max": 
      }, 
      "endSerialNo":{
/*optional, integer, end serial No.*/
        "@min": , 
        "@max": 
      }, 
      "employeeNoString":{
/*optional, string, employee No. (person ID)*/
        "@min": , 
        "@max": 
      },
      "eventAttribute":{
/*optional, string, event attribute: "attendance"-valid authentication, "other"*/
        "@opt":"attendance,other"
      }
    }, 
    "totalNum":{
/*required, integer, total number of events that match the search conditions*/
      "@min": , 
      "@max": 
    }
  }
}