<?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; logs</title>
	<atom:link href="http://textmessage.ie/blog/tag/logs/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>Tue, 30 Nov 2010 16:47:21 +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>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>
	</channel>
</rss>

