<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Text Message - send SMS &#187; xml</title>
	<atom:link href="http://textmessage.ie/blog/tag/xml/feed" rel="self" type="application/rss+xml" />
	<link>http://textmessage.ie/blog</link>
	<description>blog regarding development of SMS gateway service from Hostingireland.ie</description>
	<lastBuildDate>Thu, 08 Oct 2009 11:48:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Undocumented gateway response codes</title>
		<link>http://textmessage.ie/blog/undocumented-gateway-response-codes/133</link>
		<comments>http://textmessage.ie/blog/undocumented-gateway-response-codes/133#comments</comments>
		<pubDate>Wed, 09 Sep 2009 15:57:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SMS gateway API developement]]></category>
		<category><![CDATA[text messages development]]></category>
		<category><![CDATA[error messages]]></category>
		<category><![CDATA[result codes]]></category>
		<category><![CDATA[SMS API]]></category>
		<category><![CDATA[SMS gateway]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://textmessage.ie/blog/?p=133</guid>
		<description><![CDATA[the response will be coming directly from the mobile network provider rather than generated from our own gateway]]></description>
			<content:encoded><![CDATA[<p>Occasionally the gateway will respond with a response code that is not documented in our site&#8217;s <a href="http://textmessage.ie/blog/common-api-responses/54">Common API responses</a>. </p>
<p>When this happens the response will be coming directly from the mobile network provider rather than generated from our own gateway, as such this is not something that can be documented.</p>
<p>However, these response codes almost always resolve to the phone number you are trying to send an SMS to, check you are using the correct number, and if it is international number, be sure to take a look at the article on <a href="http://textmessage.ie/blog/international-sms-numbers/86">International SMS numbers</a>.</p>
<p>As always, if you have any questions please comment below, or register on our <a href="http://www.textmessage.ie/forum/">forum</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://textmessage.ie/blog/undocumented-gateway-response-codes/133/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common API Responses</title>
		<link>http://textmessage.ie/blog/common-api-responses/54</link>
		<comments>http://textmessage.ie/blog/common-api-responses/54#comments</comments>
		<pubDate>Mon, 27 Apr 2009 15:24:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[error messages]]></category>
		<category><![CDATA[result codes]]></category>
		<category><![CDATA[SMS API]]></category>
		<category><![CDATA[text messages development]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://textmessage.ie/blog/?p=54</guid>
		<description><![CDATA[Please find below a list of the most common API error responses, and possible reasons and corrections for them.
A response is defined as an error when the code is not 1, as result code 1 denotes an SMS succesfully delivered to the numbers network.
Message: Missing Required Fields Code: 501
Notes: This message means that the gateway [...]]]></description>
			<content:encoded><![CDATA[<p>Please find below a list of the most common API error responses, and possible reasons and corrections for them.</p>
<p>A response is defined as an error when the code is not 1, as result code 1 denotes an SMS succesfully delivered to the numbers network.</p>
<p><span style="text-decoration: underline;">Message: <strong>Missing Required Fields </strong><em>Code: 501</em></span></p>
<p><span style="color: #808080;"><strong>Notes</strong>: This message means that the gateway did not receive enough information for an attempted delivery to be possible, this will occur when any of username, password, to and message are not supplied, if these are all sent, check that they are being sent as lowercase fields.</span></p>
<p><span style="text-decoration: underline;">Message: <strong>Invalid Authentication Data </strong><em>Code: 502</em></span></p>
<p><span style="color: #808080;"><strong>Notes</strong>: This message means that either your submitted username was not found in the accounts, or the password supplied did not match the password for the username you sent. This would generally caused by invalid details, but these fields are case-sensitive, so check you sent them in the correct case.</span></p>
<p><span style="text-decoration: underline;">Message: <strong>Insufficient Balance </strong><em>Code: 503</em></span></p>
<p><span style="color: #808080;"><strong>Notes</strong>: This message will only occur after you are succesfully logged into your account, and means that you do not have sufficient credits to send an SMS, this can only be corrected by topping up your credits balance.</span></p>
<p><span style="text-decoration: underline;">Message: <strong>Invalid Recipient </strong><em>Code: 504</em></span></p>
<p><span style="color: #808080;"><strong>Notes</strong>: This error means that a problem was detected with the recipient number, most commonly caused by non-numeric characters in the to value.</span></p>
<p><span style="text-decoration: underline;">Message: <strong>Error retrieving From Value </strong><em>Code: 511</em></span></p>
<p><span style="color: #808080;"><strong>Notes</strong>: This is an issue with the API, if this error is encountered an admin should be notified, along with the result ID.</span></p>
<p>There are other error messages that can be encountered, but it is unlikely that these will ever happen, if you do get an error that isn&#8217;t documented, and you are not sure what it means, please contact us, and we will help you understand the message.</p>
<p>As usual, you can contact us by commenting on these posts, in our <a title="sms gateway forum for development discussion" href="http://www.textmessage.ie/forum">forum</a>, or by email to smsapi@hostingireland.ie</p>
]]></content:encoded>
			<wfw:commentRss>http://textmessage.ie/blog/common-api-responses/54/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMS logs now available</title>
		<link>http://textmessage.ie/blog/sms-logs-now-available/50</link>
		<comments>http://textmessage.ie/blog/sms-logs-now-available/50#comments</comments>
		<pubDate>Tue, 21 Apr 2009 12:53:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SMS gateway API developement]]></category>
		<category><![CDATA[text messages development]]></category>
		<category><![CDATA[logs]]></category>
		<category><![CDATA[SMS API]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://textmessage.ie/blog/?p=50</guid>
		<description><![CDATA[It has become neccessary to have logs available to users, so that messages sent through our SMS gateway can be investigated in the future.
With this in mind a new feature has been added to the the API, you can now request logs of your messages, using the URL:
http://sms.hostingireland.ie/logRequest/?username=accountName&#38;password=accountPassword[&#38;messageId=messageId]
If messageId is not presented, you will be [...]]]></description>
			<content:encoded><![CDATA[<p>It has become neccessary to have logs available to users, so that messages sent through our SMS gateway can be investigated in the future.</p>
<p>With this in mind a new feature has been added to the the API, you can now request logs of your messages, using the URL:</p>
<p>http://sms.hostingireland.ie/logRequest/?username=accountName&amp;password=accountPassword[&amp;messageId=messageId]</p>
<p>If messageId is not presented, you will be given the logs for the last 100 (or all if the total is less than or equal to 100) connections from your account.</p>
<p>These logs are presented in XML 1.0 format, and you can see an example log below:</p>
<pre>&lt;?xml version="1.0"?&gt;
&lt;logList&gt;
	&lt;log messageId="b7c10d6cbfe5496ec16acda8d0a187d0"&gt;
		&lt;entry date="2009-04-21 13:15:27"&gt;logged in.&lt;/entry&gt;
		&lt;entry date="2009-04-21 13:15:27"&gt;999 SMS credits Left.&lt;/entry&gt;
		&lt;entry date="2009-04-21 13:15:27"&gt;to: 08fgh1414&lt;/entry&gt;
		&lt;entry date="2009-04-21 13:15:27"&gt;message: test&lt;/entry&gt;
		&lt;entry date="2009-04-21 13:15:27"&gt;from: 1890987000&lt;/entry&gt;
		&lt;entry date="2009-04-21 13:15:27"&gt;send result:  Invalid Destination Address&lt;/entry&gt;
	&lt;/log&gt;
&lt;/logList&gt;</pre>
<p>If the requested logfile is not in your account, or your login details are incorrect you will receive an error notifying you of the failure to receive a logList, you will also receive an error if you do not yet have any logs for any actions for your account.</p>
<p>Any comments on the logging system or the format of the XML should be entered through our forum, or in reply to this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://textmessage.ie/blog/sms-logs-now-available/50/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMS API XML responses</title>
		<link>http://textmessage.ie/blog/sms-api-xml-responses/42</link>
		<comments>http://textmessage.ie/blog/sms-api-xml-responses/42#comments</comments>
		<pubDate>Tue, 21 Apr 2009 12:48:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SMS gateway API developement]]></category>
		<category><![CDATA[text messages development]]></category>
		<category><![CDATA[SMS API]]></category>
		<category><![CDATA[SMS gateway]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://textmessage.ie/blog/?p=42</guid>
		<description><![CDATA[For easier usage in automated implemenations the responses from the SMS gateway API will now be returned in XML 1.0.
An example response is below:
&#60;smsapi&#62;
	&#60;result code="503" id="8dbcbdf843c817eed5f8898066184412"&#62;
		INSUFFICIENT BALANCE
	&#60;/result&#62;
&#60;/smsapi&#62;
This allows the response to be collected by an XML object and used more dynamic usage than the original error text.
If you have any comments on the XML response [...]]]></description>
			<content:encoded><![CDATA[<p>For easier usage in automated implemenations the responses from the SMS gateway API will now be returned in XML 1.0.</p>
<p>An example response is below:</p>
<pre id="line1">&lt;<span class="start-tag">smsapi</span>&gt;
	&lt;<span class="start-tag">result</span><span class="attribute-name"> code</span>=<span class="attribute-value">"503" </span><span class="attribute-name">id</span>=<span class="attribute-value">"8dbcbdf843c817eed5f8898066184412"</span>&gt;
		INSUFFICIENT BALANCE
	&lt;/<span class="end-tag">result</span>&gt;
&lt;/<span class="end-tag">smsapi</span>&gt;</pre>
<p>This allows the response to be collected by an XML object and used more dynamic usage than the original error text.</p>
<p>If you have any comments on the XML response codes implementation, please send any information to us, either in our <a title="sms gateway forum for development discussion" href="http://www.textmessage.ie/forum" target="_blank">forum</a> or in response to this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://textmessage.ie/blog/sms-api-xml-responses/42/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
