public async System.Threading.Tasks.Task <OTPRespone> OTPCancelRequest(string requestid) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); var res = await rest.OTPCancelRequest(requestid); return(res); }
public async System.Threading.Tasks.Task <OTPRespone> OTPCancelDestination(string destination) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); var res = await rest.OTPCancelDestination(destination); return(res); }
public async System.Threading.Tasks.Task <OTPRespone> OTPSend(Object payload) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); var res = await rest.sendOTP(payload); return(res); }
public async System.Threading.Tasks.Task <OTPRespone> OTPValidateDestination(string destinationid, Object payload) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); var res = await rest.OTPValidateDestination(destinationid, payload); return(res); }
public async System.Threading.Tasks.Task <OptOutNumbers> SMSGetOptOuts(string filter) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); // get all opt out numbers using filter var res = await rest.getOptOuts(filter); return(res); }
public async System.Threading.Tasks.Task <OptOutNumbers> SMSPostOptOut(Object payload) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); // post an opt out mobile number var res = await rest.sendOptOut(payload); return(res); }
public async System.Threading.Tasks.Task <SmsIncoming> SMSGetIncomingById(string id) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); // gets an incoming message var res = await rest.getSmsIncomingById(id); return(res); }
public async System.Threading.Tasks.Task <int> SMSDeleteIncoming(string id) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); // delete an incoming message var res = await rest.deleteSmsIncoming(id); return(res); }
public async System.Threading.Tasks.Task <SMSGlobal.Response.SMS> SMSGetIncoming(string filter) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); // get all incoming messages using filter var res = await rest.getSmsIncoming(filter); return(res); }
public async System.Threading.Tasks.Task <SMSGlobal.Response.SMS> SMSSend(Object payload) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); // send an sms message var res = await rest.sendSms(payload); return(res); }
public async System.Threading.Tasks.Task <int> SMSDeleteOptOut(string number) { SMSGlobal.SMS.Transport.Rest rest = new SMSGlobal.SMS.Transport.Rest(Credentials); // opt out mobile number var res = await rest.deleteOptOut(number); return(res); }