Calendar API v4: Notifications (SignalR)
Deprecated
This API version has been deprecated, please use the current version instead.
Note
Please refer to this documentation to properly install and use our Push Notifications with SignalR.
Subscribe to Calendar Notifications
Message Format
When an EventDate is updated
public class EventDateUpdatedDTO
{
public Guid EventDateId { get; set; }
public decimal? Actual { get; set; }
public decimal? Revised { get; set; }
public bool? IsBetter { get; set; }
public double? Milliseconds { get; set; }
}
When an EventDate is deleted
public class EventDateDeletedDTO
{
public Guid EventDateId { get; set; }
}
Code Sample
- Javascript Client
- .NET Client (C#)
<script>
push.calendarSubscribe(yourFunctionCallback);
var yourFunctionCallback = function(data){ console.log(data); };
</script>