alarm-polices

Alert rules that determine whether to push a message when a device alert occurs

  • Get
  • Post
    • Parameters
      • sname [strategy name]
      • alarm_code
      • alarm_code2
      • towed [Distance triggered by trailer alarm,the unit is meter]
      • vibration [Vibration alarm sensitivity,the bigger the value, the more sensitive.0 means off,Up to 15]
      • default [Is it the default policy]
  • Put
    • Parameters
      • opr_sname [The name of the operated policy]
      • sname
      • code
      • code2
      • towed
      • vibration
      • is_default
      • jsondatas [The json format of the time range configuration of the policy role,like “[[[0,86400]],[],[],[],[],[],[[0,86400]]]”,Seven arrays represent seven days of the week,An array of daily data can be stored in multiple time segments,Each time is represented by a two-dimensional array that stores the start and end seconds.]
      • time_zone [Time zone in which the time period is located]
      • devices [Policy-bound device imei array]
  • Delete
    • Parameters
      • opr_sname