URL    = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
    Status = "dnd";

    Result = OPI_Bitrix24.SetUserStatus(URL, Status);

    URL    = "b24-ar17wx.bitrix24.by";
    Token  = "fe3fa966006e9f06006b12e400000001000...";
    Status = "away";

    Result = OPI_Bitrix24.SetUserStatus(URL, Status, Token);