Make Some Green

Make Some Green

There’s an overwhelming need for a particular service on St Patrick’s Day. Any guesses as to what it is?

If you guessed taxi service, you’re correct! (Probably not your first thought). With all the drinking that goes on during St. Patty’s day the need for taxis skyrockets overnight, as it should. And with people having quicker access to calling taxis via mobile phones, taxi companies are being forced to upgrade their business models and communication to keep up with the competition. Quickly and easily introduce text messaging and phone calls into your taxi service with CDYNE’s Communication APIs SMS Notify! and Phone Notify!

Signing up for SMS Notify! will allow potential customers to text you when they need a ride and gives you the ability to respond. All the customer needs to do is text your SMS Notify! activated number a keyword of your choice such a “Pick Up” to start the process. When the message is received, SMS Notify! is capable of sending back a message asking for their location.  The customer’s response can be sent to a PostBackURL where you can view all incoming messages. Below is an example of grabbing the data inside the incoming message with C#:

if (!String.IsNullOrEmpty(Request.Params["SMSResponse"]))
{
//Capture POST
string SMSResponse = Request.Params["SMSResponse"];
string MessageID = Request.Params["MessageID"];
string MatchedMessageID = Request.Params["MatchedMessageID"];
string ReferenceID = Request.Params["ReferenceID"];
string FromPhoneNumber = Request.Params["FromPhoneNumber"];
string ToPhoneNumber = Request.Params["ToPhoneNumber"];
string ResponseReceiveDate = Request.Params["ResponseReceiveDate"];
string Message = Request.Params["Message"];
}

By looking at the collected data in your PostBackURL you could then text the closest driver the customer’s location for a quick pick up time.

IsmsClient client = new IsmsClient("sms2wsHttpBinding");
SMSResponse resp = client.SimpleSMSsend("TAXI DRIVER’S NUMBER", "SMS Message", new Guid("YOUR LICENSE KEY"));
Console.WriteLine(resp.MessageID + " " + resp.SMSError.ToString());
Console.ReadLine();
client.Close();

Next, CDYNE’s Phone Notify! is used to call the customer with a time frame of when the driver will arrive to the location they had previously texted. Below is an example of a simple text-to-speech message being sent using C#:

namespace NotifyPhoneBasic
{
class Program
{
static void Main(string[] args)
{
WSDL.PhoneNotify PN = new WSDL.PhoneNotify();
WSDL.NotifyReturn NR = new WSDL.NotifyReturn();


NR = PN.NotifyPhoneBasic("CUSTOMER’S NUMBER", "Your taxi will be there in 30 minutes.", "CALLER ID", "Black and White Taxi", "19", "YOUR LICENSE KEY");


Console.WriteLine("QueueID: " + NR.QueueID + "\n" +
"Response Code: " + NR.ResponseCode + "\n" +
"Response Text: " + NR.ResponseText);


Console.ReadLine();
}
}
}

This will save the customer from standing around waiting for their taxi and will allow for more efficient pickups which will result in more taxi rides throughout the night.

IsmsClient client = new IsmsClient("sms2wsHttpBinding");
SMSResponse resp = client.SimpleSMSsend("CUSTOMER’S NUMBER", "SMS Message", new Guid("YOUR LICENSE KEY"));
Console.WriteLine(resp.MessageID + " " + resp.SMSError.ToString());
Console.ReadLine();
client.Close();

So start using CDYNE’s Communication APIs in time for St Patrick’s Day this year to help increase your business and make the roads a safer place for everyone.

Call CDYNE at 757-544-9510 for more information.