...
Code Block |
---|
public class UpdateNotification { public int ChangeType { get; set; } public ChangeData Data { get; set; } } public class ChangeData { public int AssetId { get; set; } public int ComboValueId { get; set; } public int MetafieldId { get; set; } public int TreeValueId { get; set; } public int ItemIdBaseId { get; set; } } |
The property ChangeType indicates wheter it is and AssetChanged, MetafieldChanged, ComboValueChanged or TreeValueChanged. If it is an AssetChanged we do the following:
...