<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to ReadSensorModel</title><link>https://sourceforge.net/p/m2mlabs/wiki/ReadSensorModel/</link><description>Recent changes to ReadSensorModel</description><atom:link href="https://sourceforge.net/p/m2mlabs/wiki/ReadSensorModel/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 22 Sep 2012 09:53:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/m2mlabs/wiki/ReadSensorModel/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage ReadSensorModel modified by Jim</title><link>https://sourceforge.net/p/m2mlabs/wiki/ReadSensorModel/</link><description>&lt;pre&gt;--- v3
+++ v4
@@ -1,6 +1,6 @@
 ### Read a certain Sensor Model ###
 
-Returns data of an existing Sensor Model in the domain of an owner identified by the apikey
+Returns an existing Sensor Model in the domain of an owner identified by the apikey
 
 Path: cs-ws/resources/admin/sensormodel        Method: GET
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim</dc:creator><pubDate>Sat, 22 Sep 2012 09:53:21 -0000</pubDate><guid>https://sourceforge.netf2e2c1dbf96af8946fc3d0b32761eea84022a82b</guid></item><item><title>WikiPage ReadSensorModel modified by Jim</title><link>https://sourceforge.net/p/m2mlabs/wiki/ReadSensorModel/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,6 @@
 ### Read a certain Sensor Model ###
 
-Returns data of an existing Sensor Model in the namespece of an owner identified by the apikey
+Returns data of an existing Sensor Model in the domain of an owner identified by the apikey
 
 Path: cs-ws/resources/admin/sensormodel        Method: GET
 
@@ -12,7 +12,7 @@
 Errors:
 
 * 401 UNAUTHORIZED if key is invalid
-* 404 NOTEXISTING if the sensor model is not found
+* 404 NOT FOUND if the sensor model is not found
 
 Example
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim</dc:creator><pubDate>Sat, 22 Sep 2012 09:47:29 -0000</pubDate><guid>https://sourceforge.netf22344a89f35ecc2d80b1e064f0359c873f7f0ec</guid></item><item><title>WikiPage ReadSensorModel modified by Jim</title><link>https://sourceforge.net/p/m2mlabs/wiki/ReadSensorModel/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -17,17 +17,11 @@
 Example
 
 ~~~~~~
-GET http://localhost/cs-ws/resources/admin/sensormodel?sensormodel_name=NewSensorModel&amp;apikey=1234 HTTP/1.1
-Accept-Encoding: gzip,deflate
-User-Agent: Jakarta Commons-HttpClient/3.1
-Host: localhost
+GET http://localhost/cs-ws/resources/admin/sensormodel?sensormodel_name=NewSensorModel
+&amp;apikey=1234 HTTP/1.1
+
 
 HTTP/1.1 200 OK
-Server: GlassFish Server Open Source Edition 3.1.2
-Content-Type: application/xml
-Content-Length: 307
-Date: Sat, 22 Sep 2012 08:02:45 GMT
-
 &lt;sensormodel&gt;
    &lt;attribute&gt;
       &lt;name&gt;Temperature&lt;/name&gt;
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim</dc:creator><pubDate>Sat, 22 Sep 2012 08:46:52 -0000</pubDate><guid>https://sourceforge.netd865a53e52c2bff06f25c8d4f7a0e55e5cd3f046</guid></item><item><title>WikiPage ReadSensorModel modified by Jim</title><link>https://sourceforge.net/p/m2mlabs/wiki/ReadSensorModel/</link><description>### Read a certain Sensor Model ###

Returns data of an existing Sensor Model in the namespece of an owner identified by the apikey

Path: cs-ws/resources/admin/sensormodel        Method: GET

Parameters

* apikey
* sensormodel_name

Errors:

* 401 UNAUTHORIZED if key is invalid
* 404 NOTEXISTING if the sensor model is not found

Example

~~~~~~
GET http://localhost/cs-ws/resources/admin/sensormodel?sensormodel_name=NewSensorModel&amp;apikey=1234 HTTP/1.1
Accept-Encoding: gzip,deflate
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost

HTTP/1.1 200 OK
Server: GlassFish Server Open Source Edition 3.1.2
Content-Type: application/xml
Content-Length: 307
Date: Sat, 22 Sep 2012 08:02:45 GMT

&lt;sensormodel&gt;
   &lt;attribute&gt;
      &lt;name&gt;Temperature&lt;/name&gt;
      &lt;type&gt;Number&lt;/type&gt;
   &lt;/attribute&gt;
   &lt;config&gt;
      &lt;displayname&gt;Unit&lt;/displayname&gt;
      &lt;name&gt;unit&lt;/name&gt;
   &lt;/config&gt;
   &lt;config&gt;
      &lt;displayname&gt;Maximum&lt;/displayname&gt;
      &lt;name&gt;max&lt;/name&gt;
   &lt;/config&gt;
   &lt;name&gt;NewSensorModel&lt;/name&gt;
&lt;/sensormodel&gt;
~~~~~~
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim</dc:creator><pubDate>Sat, 22 Sep 2012 08:21:36 -0000</pubDate><guid>https://sourceforge.netae570ae387a717587ede6a341990aa246c3eb8e6</guid></item></channel></rss>