Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Rule schedule changes via API

Answered

Comments

2 comments

  • Ichiro
    • Network Optix team

    Hi Ashley Roach,

    That is a Hex representation of the binary data.

    Each bit defines whether the action should or should not be executed at the hour of each day and week. For example, you have the schedule of a event as follow:

    When it is ON, the bit =1, and if it is OFF, the bit =0.
    So the binary format of the Monday is as follow. 

     

    Then according to the binary(orange), it is interpreted and transformed into HEX presentation(4bits as an HEX number) in the next line. (Red).

    You can see the API response of the event, it is matched the interpretation.

     

    Hope this helps. Thanks.

    0
  • Ashley Roach

    Thanks Ichiro, Much appreciated.
    I'll let you know if we get stuck.

    0

Please sign in to leave a comment.