public void SendHeartbeatTest()
 {
     const string token = "030c92e3849281086a73076024d717f9";
     var req = new HeartBeatReq(token);
     var resp = ClientServices.SendHeartbeat(req);
     Assert.IsNotNull(resp, "Heartbeat response is null");
 }
        private void SendHeartBeat(DateTime dateTimeTrigger)
        {
            var heartReq = new HeartBeatReq(ApiToken);
            var msg = string.Format("Heartbeat Tiggered on: {0}, Version: {1}", dateTimeTrigger, heartReq.Version);
            try
            {
                ClientServices.SendHeartbeat(heartReq);
                Log.Info(msg);
                EventService.SendMessage(msg);
            }
            catch (Exception ex)
            {

                Log.ErrorFormat("This exception from the HeartBeat routine: {0} ", ex.Message);
            }
        }