<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.sensaphone.net/index.php?action=history&amp;feed=atom&amp;title=Sensaphone.net_API%2Fdevicegroup</id>
		<title>Sensaphone.net API/devicegroup - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.sensaphone.net/index.php?action=history&amp;feed=atom&amp;title=Sensaphone.net_API%2Fdevicegroup"/>
		<link rel="alternate" type="text/html" href="https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API/devicegroup&amp;action=history"/>
		<updated>2026-05-04T15:10:56Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API/devicegroup&amp;diff=300&amp;oldid=prev</id>
		<title>Mwood: /* Sensaphone.net API */ Update Session data type.</title>
		<link rel="alternate" type="text/html" href="https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API/devicegroup&amp;diff=300&amp;oldid=prev"/>
				<updated>2025-07-10T15:35:31Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Sensaphone.net API: &lt;/span&gt; Update Session data type.&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 15:35, 10 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/del&gt;| Session &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ID&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;/ins&gt;| Session &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Token&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;read&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;read&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 108:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 108:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/del&gt;| Session &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ID&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;/ins&gt;| Session &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Token&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;update&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;update&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 146:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 146:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/del&gt;| Session &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ID&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;/ins&gt;| Session &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Token&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;create&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;create&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 156:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 156:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/del&gt;| Session &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ID&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;/ins&gt;| Session &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Token&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;create&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;create&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 196:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 196:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''&amp;#160; &amp;#160; &amp;#160; &amp;#160; | '''Description'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | acctid&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Account ID&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Integer&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/del&gt;| Session &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ID&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | session&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;/ins&gt;| Session &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Token&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;delete&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | request_type&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | String&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  | &amp;quot;delete&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{TableRowN| &amp;amp;nbsp;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | devicegroup&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; | Array of Objects | The devicegroup object.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mwood</name></author>	</entry>

	<entry>
		<id>https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API/devicegroup&amp;diff=18&amp;oldid=prev</id>
		<title>Tim: Created page with &quot;=Sensaphone.net API= Sensaphone.net includes a feature to group individual devices together. The DeviceGroup API allows a user to view and edit grouping information.   ==S...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API/devicegroup&amp;diff=18&amp;oldid=prev"/>
				<updated>2015-04-29T19:12:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;=&lt;a href=&quot;/index.php/Sensaphone.net_API&quot; title=&quot;Sensaphone.net API&quot;&gt;Sensaphone.net API&lt;/a&gt;= Sensaphone.net includes a feature to group individual devices together. The DeviceGroup API allows a user to view and edit grouping information.   ==S...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=[[Sensaphone.net API]]=&lt;br /&gt;
Sensaphone.net includes a feature to group individual devices together. The DeviceGroup API allows a user to view and edit grouping information. &lt;br /&gt;
&lt;br /&gt;
==Specifications==&lt;br /&gt;
&lt;br /&gt;
The device group resource has the following properties:&lt;br /&gt;
{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Parent Property''' | '''Property'''  | '''Type''' | '''Description'''              | '''Create''' | '''Delete''' | '''Read''' | '''Update'''&lt;br /&gt;
}}{{TableRowN| ''&amp;lt;parent&amp;gt;''         | devicegroup        | Object     | The devicegroup object.            | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;''' | '''n/a'''&lt;br /&gt;
}}{{TableRowN| devicegroup                    | group_id     | Integer    | ID of the device group.             | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| devicegroup                    | name   | String     | The name of this group.             | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| devicegroup                    | devices           |  Array of Objects     | The list of devices in this group.        | '''&amp;amp;#x2713;''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| devices                    | device_id    | Integer     | The device_id of a device that is a member of this group. | '''&amp;amp;#x2713;''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| devicegroup                    | groups         | Array of Objects    | The list of groups in this group.  | '''&amp;amp;#x2713;''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| groups              | group_id         | Integer    | The group_id of a group that is a member of this group. | '''&amp;amp;#x2713;''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
===GET===&lt;br /&gt;
'''URI Mode Request URI's:'''&lt;br /&gt;
*Receive all Device Group information &lt;br /&gt;
 '''GET''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup&lt;br /&gt;
&lt;br /&gt;
*Receive all Device Group names &lt;br /&gt;
 '''GET''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup/name&lt;br /&gt;
&lt;br /&gt;
*Receive all Device ID's in a Device Group&lt;br /&gt;
 '''GET''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup/{GROUP_ID}/devices/device_id&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Request URI:'''&lt;br /&gt;
 '''POST''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/devicegroup&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Request Properties'''&lt;br /&gt;
{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''        | '''Description'''&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | acctid                   | Integer          | Account ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | session                  | Integer          | Session ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | request_type             | String           | &amp;quot;read&amp;quot;&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | devicegroup              | Array of Objects | The devicegroup object.&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Response Properties'''&lt;br /&gt;
{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Parent Property''' |'''Child Property'''|'''Status'''| '''Type'''       | '''Description'''&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;                | devicegroup        | Required   | Array of Objects | The parent device object.&lt;br /&gt;
}}{{TableRowN| devicegroup           | group_id           | Optional   | Integer          | ID of Device Group&lt;br /&gt;
}}{{TableRowN| devicegroup           | name               | Optional   | String           | The name of this group.&lt;br /&gt;
}}{{TableRowN| devicegroup           | devices            | Optional   | Array of Objects | The list of devices in this group.&lt;br /&gt;
}}{{TableRowN| devices               | device_id          | Optional   | Integer          | The device_id of a device that is a member of this group.&lt;br /&gt;
}}{{TableRowN| devicegroup           | groups             | Optional   | Array of Objects | The list of groups in this group.&lt;br /&gt;
}}{{TableRowN| groups                | group_id           | Optional   | Integer          | The group_id of a group that is a member of this group.&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
====Example JSON====&lt;br /&gt;
Receive all Device Group information&lt;br /&gt;
&lt;br /&gt;
*'''Request JSON:'''&lt;br /&gt;
  {&lt;br /&gt;
   &amp;quot;acctid&amp;quot;: 987654,&lt;br /&gt;
   &amp;quot;session&amp;quot;: &amp;quot;0123-4567-8901&amp;quot;,&lt;br /&gt;
   &amp;quot;request_type&amp;quot;: &amp;quot;read&amp;quot;,&lt;br /&gt;
   &amp;quot;devicegroup&amp;quot;: null&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
*'''Response JSON:'''&lt;br /&gt;
 {&lt;br /&gt;
   &amp;quot;result&amp;quot;:&lt;br /&gt;
   {&lt;br /&gt;
     &amp;quot;success&amp;quot;: true,&lt;br /&gt;
     &amp;quot;code: 0,&lt;br /&gt;
     &amp;quot;message&amp;quot;: &amp;quot;OK&amp;quot;,&lt;br /&gt;
   }&lt;br /&gt;
   &amp;quot;response&amp;quot;:&lt;br /&gt;
   {&lt;br /&gt;
     &amp;quot;devicegroup&amp;quot;:[&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;group_id&amp;quot;: 6575,&lt;br /&gt;
        &amp;quot;name&amp;quot;: &amp;quot;South Barns&amp;quot;,&lt;br /&gt;
        &amp;quot;devices&amp;quot;:&lt;br /&gt;
        [ &lt;br /&gt;
          { &amp;quot;device_id&amp;quot;: 1234 },&lt;br /&gt;
          { &amp;quot;device_id&amp;quot;: 1235 }&lt;br /&gt;
        ],&lt;br /&gt;
        &amp;quot;groups&amp;quot;:&lt;br /&gt;
        [&lt;br /&gt;
          { &amp;quot;group_id&amp;quot;: 8575 },&lt;br /&gt;
          { &amp;quot;group_id&amp;quot;: 8404 }&lt;br /&gt;
        ]&lt;br /&gt;
      }&lt;br /&gt;
     ]&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
===PUT===&lt;br /&gt;
The '''PUT''' request for the device group resource is used to edit the group:&lt;br /&gt;
*Change the name&lt;br /&gt;
*Add or remove devices (JSON mode only)&lt;br /&gt;
*Add or remove groups (JSON mode only)&lt;br /&gt;
&lt;br /&gt;
'''URI Mode Request URI:'''&lt;br /&gt;
*Edit a Device Group '''name''' &lt;br /&gt;
   '''PUT''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup/{GROUP_ID}/name/{GROUP_NAME} &lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Request URI:'''&lt;br /&gt;
   '''POST''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/devicegroup&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Request Properties'''&lt;br /&gt;
{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''        | '''Description'''&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | acctid                   | Integer          | Account ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | session                  | Integer          | Session ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | request_type             | String           | &amp;quot;update&amp;quot;&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | devicegroup              | Array of Objects | The devicegroup object.&lt;br /&gt;
}}{{TableRowN| devicegroup     | group_id                 | Integer          | ID of the device group.&lt;br /&gt;
}}{{TableRowN| devicegroup     | group_name               | String           | New name of a Device Group&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Response Properties'''&lt;br /&gt;
{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Parent Property''' |'''Child Property'''|'''Status'''| '''Type'''       | '''Description'''&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;                | devicegroup        | Required   | Array of Objects | The parent device object.&lt;br /&gt;
}}{{TableRowN| devicegroup           | group_id           | Optional   | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| devicegroup           | name               | Optional   | String           | The name of this group.&lt;br /&gt;
}}{{TableRowN| devicegroup           | devices            | Optional   | Array of Objects | The list of devices in this group.&lt;br /&gt;
}}{{TableRowN| devices               | device_id          | Optional   | Integer          | The device_id of a device that is a member of this group.&lt;br /&gt;
}}{{TableRowN| devicegroup           | groups             | Optional   | Array of Objects | The list of groups in this group.&lt;br /&gt;
}}{{TableRowN| groups                | group_id           | Optional   | Integer          | The group_id of a group that is a member of this group.&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
===POST===&lt;br /&gt;
'''URI Mode Request URI's:''' &lt;br /&gt;
*Create a new empty Device Group (A '''group_name''' value is required when creating a new Device Group) &lt;br /&gt;
  '''POST'''  &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup/name/{GROUP_NAME}&lt;br /&gt;
&lt;br /&gt;
*Add a device to a device group&lt;br /&gt;
  '''POST''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup/{GROUP_ID}/devices/device_id/{DEVICE_ID}&lt;br /&gt;
&lt;br /&gt;
*Add a group to a device group&lt;br /&gt;
  '''POST''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup/{GROUP_ID}/groups/group_id/{GROUP_ID}&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Request URI:'''&lt;br /&gt;
  '''POST'''  &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphon.net/api/v1/devicegroups&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Request Properties'''&lt;br /&gt;
:''Create new device group''&lt;br /&gt;
:{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''        | '''Description'''&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | acctid                   | Integer          | Account ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | session                  | Integer          | Session ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | request_type             | String           | &amp;quot;create&amp;quot;&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | devicegroup              | Array of Objects | The devicegroup object.&lt;br /&gt;
}}{{TableRowN| devicegroup     | name                     | String           | New name of a Device Group.&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
:''Add device and/or group''&lt;br /&gt;
:{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''        | '''Description'''&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | acctid                   | Integer          | Account ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | session                  | Integer          | Session ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | request_type             | String           | &amp;quot;create&amp;quot;&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | devicegroup              | Array of Objects | The devicegroup object.&lt;br /&gt;
}}{{TableRowN| devicegroup     | group_id                 | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| devicegroup     | devices                  | Array of Objects | Used to add devices to the group.&lt;br /&gt;
}}{{TableRowN| devices         | device_id                | Integer          | The device_id of a [[Sensaphone.net API/device|device]] to add to this group.&lt;br /&gt;
}}{{TableRowN| devicegroup     | groups                   | Array of Object  | Used to add groups to the group.&lt;br /&gt;
}}{{TableRowN| groups          | group_id                 | Integer          | The group_id of a group to add to this group.&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Response Properties'''&lt;br /&gt;
:{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Parent Property''' |'''Child Property'''|'''Status'''| '''Type'''       | '''Description'''&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;                | devicegroup        | Required   | Array of Objects | The parent device object.&lt;br /&gt;
}}{{TableRowN| devicegroup           | group_id           | Optional   | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| devicegroup           | name               | Optional   | String           | The name of this group.&lt;br /&gt;
}}{{TableRowN| devicegroup           | devices            | Optional   | Array of Objects | The list of devices in this group.&lt;br /&gt;
}}{{TableRowN| devices               | device_id          | Optional   | Integer          | The device_id of a device that is a member of this group.&lt;br /&gt;
}}{{TableRowN| devicegroup           | groups             | Optional   | Array of Objects | The list of groups in this group.&lt;br /&gt;
}}{{TableRowN| groups                | group_id           | Optional   | Integer          | The group_id of a group that is a member of this group.&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
===DELETE===&lt;br /&gt;
'''URI Mode Request URI's:'''&lt;br /&gt;
*Delete a device group&lt;br /&gt;
   '''DELETE''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup/{GROUP_ID}&lt;br /&gt;
&lt;br /&gt;
*Delete a device from a device group&lt;br /&gt;
   '''DELETE''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup/{GROUP_ID}/devices/device_id/{DEVICE_ID}&lt;br /&gt;
&lt;br /&gt;
*Delete a group from a device group&lt;br /&gt;
   '''DELETE''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/devicegroup/{GROUP_ID}/groups/group_id/{GROUP_ID}&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Request URI:'''&lt;br /&gt;
   '''POST''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/devicegroup&lt;br /&gt;
&lt;br /&gt;
'''JSON Mode Request Properties'''&lt;br /&gt;
{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Parent Property'''|'''Child Property''' |'''Type'''        | '''Description'''&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | acctid                   | Integer          | Account ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | session                  | Integer          | Session ID&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | request_type             | String           | &amp;quot;delete&amp;quot;&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | devicegroup              | Array of Objects | The devicegroup object.&lt;br /&gt;
}}{{TableRowN| devicegroup     | group_id                 | Integer          | ID of the device group.&lt;br /&gt;
}}{{TableRowN| devicegroup     | devices                  | Array of Objects | Used to remove devices from the group. (Optional)&lt;br /&gt;
}}{{TableRowN| devices         | device_id                | Integer          | The device_id of a device that is a member of this group.&lt;br /&gt;
}}{{TableRowN| devicegroup     | groups                   | Array of Object  | Used to remove groups from the group. (Optional)&lt;br /&gt;
}}{{TableRowN| groups          | group_id                 | Integer          | The group_id of a group that is a member of this group.&lt;br /&gt;
}}{{TableEnd}}&lt;/div&gt;</summary>
		<author><name>Tim</name></author>	</entry>

	</feed>