William Benson (VBACreations.Com)
vbacreations at gmail.com
Sat Jul 6 15:43:57 CDT 2013
Example:
http://trumpia.com/main/Developer_SMS_Gateway_API.php
This was the message I got. I went to the Get Started section and started
reading about a whole variety of things I had no idea what I was looking at.
So I really don't know what an API is, I guess, I thought they were code
snippets that made things happen and that if I looked at them long enough
they would make sense to me. Apparently not. The email I got from some guy I
thought was going to show me how they work, included:
"... Customers that are interested in our API are recommended to review the
API Functions to confirm they are compatible.....
Well I looked at them and then made no sense to me:
Example Resource Request (Adding a Contact)
To demonstrate how our REST API works, let's take a look at how
subscriptions, or contacts, are added to your Trumpia database. First, you
would send the following resource request URI using the PUT method:
PUT http://api.trumpia.com/rest/v1/{user_name}/subscription
{
"list_name" : "restapi",
"subscriptions" :
[
{
"first_name":"firstname01",
"last_name":"lastname01",
"email":"email01 at address.com",
"aim":"testaim",
"mobile":
{
"number":"1010101010",
"country_code":"1"
},
"voice_device" : "mobile"
},
{
"first_name":"firstname02",
"email":"email02 at address.com",
"landline":
{
"number":"1234567890",
"country_code":"1"
},
"voice_device" : "landline"
}
]
}
----