public Mesage[] GetAllMessageMaster(string since, string sendorid, string objecttype, string expiryTime, string downPlayTime) { Business.ApplicationService.AppServiceClient appclient = new Business.ApplicationService.AppServiceClient(); string token = ""; token = appclient.Login("*****@*****.**", "messagemaster"); Mesage[] getmessages = appclient.getallmessages(since, sendorid, objecttype, expiryTime, downPlayTime, token); return(getmessages); }
public MessageMaster CreateMessageMAster(string messagetext, string sendorid, string expirytime, string recipients, string messagetype, string subject, string downPlayTime, string sendertype, string recipienttype, string MasterParentId, string InvitationParentid) { string token = ""; Business.ApplicationService.AppServiceClient appclient = new Business.ApplicationService.AppServiceClient(); token = appclient.Login("*****@*****.**", "messagemaster"); MessageMaster appmessagemaster = appclient.createmessagemaster(messagetext, appclient.GetUserObject(token).Id, expirytime, recipients, messagetype, subject, downPlayTime, sendertype, recipienttype, MasterParentId, InvitationParentid, token); return(appmessagemaster); }
public Mesage[] GetAllMessageMaster(string since, string sendorid, string objecttype, string expiryTime, string downPlayTime) { Business.ApplicationService.AppServiceClient appclient = new Business.ApplicationService.AppServiceClient(); string token = ""; token = appclient.Login("*****@*****.**", "messagemaster"); Mesage[] getmessages = appclient.getallmessages(since, sendorid, objecttype, expiryTime, downPlayTime, token); return getmessages; }
public MessageMaster CreateMessageMAster(string messagetext, string sendorid, string expirytime, string recipients, string messagetype, string subject, string downPlayTime, string sendertype, string recipienttype, string MasterParentId, string InvitationParentid) { string token = ""; Business.ApplicationService.AppServiceClient appclient = new Business.ApplicationService.AppServiceClient(); token = appclient.Login("*****@*****.**", "messagemaster"); MessageMaster appmessagemaster = appclient.createmessagemaster(messagetext, appclient.GetUserObject(token).Id, expirytime, recipients, messagetype, subject, downPlayTime, sendertype, recipienttype, MasterParentId, InvitationParentid, token); return appmessagemaster; }