You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;
namespace JMETxnPushScheduler.Common { public class SendNotificationRequest : CommonRequest { public string NotificationTypeId { get; set; } public bool IsBulkNotification { get; set; } public string ControlNo { get; set; } public List<RecipientViewModel> Recipients { get; set; } }
public class DisplayMailAddress { public string FromEmail { get; set; } public string AliasName { get; set; }
}
public class AttachmentModel { public string FileName { get; set; } public string FilePath { get; set; } public string FileType { get; set; } public string Byte64String { get; set; } }
public class RecipientViewModel { public string Address { get; set; } public string CcAddress { get; set; }
public string BccAddress { get; set; } public string DeviceType { get; set; }
public DisplayMailAddress MailAddress { get; set; }
public NotificationDTO NotificationContent { get; set; } }
public class NotificationDTO { [JsonProperty("body")] public string Body { get; set; }
[JsonProperty("title")] public string Title { get; set; }
[JsonProperty("image")] public string Image { get; set; }
public string ClickActivity { get; set; } public string MessageType { get; set; } public string NavigateURL { get; set; }
public List<AttachmentModel> Attachments { get; set; }
public List<AttachmentModel> EmbeddedResources { get; set; }
} public class Mapping { public string SValue { get; set; } public string SText { get; set; } public string DValue { get; set; } public string DText { get; set; }
} public class SendNotificationRequestMobile : CommonRequest { public string NotificationTypeId { get; set; }
public bool IsBulkNotification { get; set; }
public string ControlNo { get; set; }
public List<RecipientViewModel> Recipients { get; set; }
public NotifyTemplate Template { get; set; }
public string Language { get; set; } } public class CommonRequest { public string ProcessId { get; set; } public string UserName { get; set; } public string ProviderId { get; set; } public string SessionId { get; set; } } }
|