<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.sensaphone.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Travis</id>
		<title>Sensaphone.net - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.sensaphone.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Travis"/>
		<link rel="alternate" type="text/html" href="https://wiki.sensaphone.net/index.php/Special:Contributions/Travis"/>
		<updated>2026-05-10T17:20:13Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API/device&amp;diff=119</id>
		<title>Sensaphone.net API/device</title>
		<link rel="alternate" type="text/html" href="https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API/device&amp;diff=119"/>
				<updated>2015-06-02T17:15:26Z</updated>
		
		<summary type="html">&lt;p&gt;Travis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=[[Sensaphone.net API]]=&lt;br /&gt;
&lt;br /&gt;
==Specifications==&lt;br /&gt;
The '''device''' resource allows access to the devices that are bound to the account.&lt;br /&gt;
&lt;br /&gt;
The device 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;''         | device        | Object     | The device object.            | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;''' | '''n/a'''&lt;br /&gt;
}}{{TableRowN| device                    | device_id     | Integer    | ID of the device.             | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device                    | id    | String     | Unique identifier located on the Device (Serial number, etc.)               | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device                    | name           | String     | Name of Device        | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                    | description    | String     | Short description of Device | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                    | timezone    | String     | The timezone the Device is in | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                    | location         | Object    | Contains location information for the device.  | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| location              | address         | Object    | Address information for Device (See [[Sensaphone.net API/address|Sensaphone.net API/address]])    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| location              | coordinates         | Object    | GPS Coordinates information for Device (See [[Sensaphone.net API/coordinates]])    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device              | firmware         | String    | Firmware version of Device  | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device              | default_schedule         | Object    | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device              | device_schedule         | Object    | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                     | zone         | Array of Objects    | Device Zone data (See [[Sensaphone.net API/zone|Sensaphone.net API/zone]])     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                     | offline_timeout         | Integer    | The number of minutes a device must be offline before it goes into alarm.     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device              | product         | String    | The name of the product type    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device              | modbus_ports        | Array of Objects    | TBD    | ''' ''' | ''' ''' | ''' ''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device              | zone_meta        | Array of Objects    | TBD    | ''' ''' | ''' ''' |  '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| zone_meta              | zone        | Zone Meta Type    | TBD    | ''' ''' | ''' ''' |  '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| zone_meta              | children        | Array of Zone Meta Type    | TBD    | ''' ''' | ''' ''' |  '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device              | is_offline_unack        | Boolean    | Whether or not an unacknowledged offline alarm exists.   | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device              | is_online        | Boolean    | Whether or not the device is currently online.    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device                     | standby_time         | String    | The number of minutes a device will be in standby mode.     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                     | standby_mode         | String    | A device's standby mode.     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                     | standby_status         | String    | A device's standby status     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | battery_status     | String    | A device's battery status    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | power_status        | String    | A device's power status    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | connection_status         | String    | A device's connection status    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | ack_offline_alarm         | String    | Acknowledge a device offline alarm    | '''&amp;amp;#x2713;''' | ''' ''' | ''' ''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | acknowledge_all_alarms         | String    | Acknowledge all device/zone alarms    | '''&amp;amp;#x2713;''' | ''' ''' | ''' ''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | clone         | Integer    |  Clone a device's data    | ''' ''' | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' &lt;br /&gt;
}}{{TableRowN| device          | feature              | Array of Objects | The feature linked to the device (See [[Sensaphone.net API/feature]])              | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Zone Meta Type'''&lt;br /&gt;
{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Property'''        |'''Type'''        | '''Description'''&lt;br /&gt;
}}{{TableRowN|  zone_id                   | Integer          | The Zone ID&lt;br /&gt;
}}{{TableRowN| is_enabled                  | Integer          | Is the zone enabled&lt;br /&gt;
}}{{TableRowN| hide_if_disabled             | Boolean           | Hide the zone if disabled&lt;br /&gt;
}}{{TableRowN| add_name                   | String           | The add name&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 data for all Devices in a user's account&lt;br /&gt;
  '''GET''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device&lt;br /&gt;
&lt;br /&gt;
*Receive all Device data for a specific Device &lt;br /&gt;
  '''GET''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}&lt;br /&gt;
&lt;br /&gt;
*Receive the alarm status of a Device &lt;br /&gt;
  '''GET''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}/status&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/device&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;          | device                   | Array of Objects | The device 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;                | device             | Required   | Array of Objects | The parent device object.&lt;br /&gt;
}}{{TableRowN| device                | device_id          | Optional   | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| device                | id                 | Optional   | Integer          | Unique identifier located on the Device (Serial number, etc.)&lt;br /&gt;
}}{{TableRowN| device                | name               | Optional   | String           | Name of Device&lt;br /&gt;
}}{{TableRowN| device                | description        | Optional   | String           | Short description of Device&lt;br /&gt;
}}{{TableRowN| device                | timezone    | Optional      | String           | The timezone the Device is in &lt;br /&gt;
}}{{TableRowN| device                | location           | Optional   | Object           | Contains location information for the device.&lt;br /&gt;
}}{{TableRowN| location              | address            | Optional   | Object           |  Address information for Device (See [[Sensaphone.net API/address]])&lt;br /&gt;
}}{{TableRowN| location              | coordinates        | Optional   | Object           |  GPS Coordinates information for Device (See [[Sensaphone.net API/coordinates]])&lt;br /&gt;
}}{{TableRowN| device                | firmware           | Optional   | String           | Firmware version of Device&lt;br /&gt;
}}{{TableRowN| device                | default_schedule   | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | device_schedule    | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | zone               | Optional   | Array of Objects | Device Zone data (See [[Sensaphone.net API/zone|Sensaphone.net API/zone]])&lt;br /&gt;
}}{{TableRowN| device                | offline_timeout    | Optional   | Integer          | The number of minutes a device must be offline before it goes into alarm.&lt;br /&gt;
}}{{TableRowN| device                | product            | Optional   | String           | The name of the product type&lt;br /&gt;
}}{{TableRowN| device                | modbus_ports       | Optional   | Array of Objects | TBD&lt;br /&gt;
}}{{TableRowN| device               | zone_meta      | Optional     | Array ofObjects    | TBD &lt;br /&gt;
}}{{TableRowN| zone_meta              | zone            | Optional    | Zone Meta Type    | TBD     &lt;br /&gt;
}}{{TableRowN| zone_meta              | children            | Optional    | Array of Zone Meta Type    | TBD    &lt;br /&gt;
}}{{TableRowN| device                | is_offline_unack   | Optional   | Boolean          | Whether or not an '''unacknowledged''' offline alarm exists.&lt;br /&gt;
}}{{TableRowN| device                | is_online          | Optional   | Boolean          | Whether or not the device is currently online.&lt;br /&gt;
}}{{TableRowN| device                | standby_time     | Optional     | String    | The number of minutes a device will be in standby mode.   &lt;br /&gt;
}}{{TableRowN| device                | standby_mode | Optional          | String    | A device's standby mode.    &lt;br /&gt;
}}{{TableRowN| device                | standby_status    | Optional       | String    | A device's standby status   &lt;br /&gt;
}}{{TableRowN| device                | battery_status    | Optional       | String    | A device's battery status   &lt;br /&gt;
}}{{TableRowN| device                | power_status    | Optional       | String    | A device's power status   &lt;br /&gt;
}}{{TableRowN| device                | battery_value    | Optional       | String    | A device's battery value   &lt;br /&gt;
}}{{TableRowN| device                | power_value    | Optional       | String    | A device's power value   &lt;br /&gt;
}}{{TableRowN| device                | connection_status    | Optional       | String    | A device's connection status   &lt;br /&gt;
}}{{TableRowN| device          | feature             | Optional       | Array of Objects | The feature linked to the account (See [[Sensaphone.net API/feature]])    &lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
=====Example JSON=====&lt;br /&gt;
Receive all Device information for a specific Device&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;device&amp;quot;: {&lt;br /&gt;
       &amp;quot;device_id&amp;quot;:1234&lt;br /&gt;
      }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''Response JSON:'''&lt;br /&gt;
&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&amp;quot;: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;device&amp;quot;:[&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;device_id&amp;quot;: 1234,&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;
&lt;br /&gt;
'''URI Mode Request URI's:'''&lt;br /&gt;
*Edit the '''description''' of a Device &lt;br /&gt;
   '''PUT''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}/description/{DESCRIPTION}&lt;br /&gt;
&lt;br /&gt;
*Edit the '''name''' of a Device &lt;br /&gt;
   '''PUT''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}/name/{DEVICE_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/device&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;          | device                   | Array of Objects | The device object.&lt;br /&gt;
}}{{TableRowN| device          | device_id                | Integer          | ID of the device.&lt;br /&gt;
}}{{TableRowN| device          | '''CHILD PROPERTY'''     | &amp;amp;nbsp;           | Device's child properties to be edited*&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;One or more '''device''' child properties below are required in addition to &amp;quot;device_id&amp;quot;.&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;                | device             | Required   | Array of Objects | The parent device object.&lt;br /&gt;
}}{{TableRowN| device                | device_id          | Optional   | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| device                | name               | Optional   | String           | Name of Device&lt;br /&gt;
}}{{TableRowN| device                | description        | Optional   | String           | Short description of Device&lt;br /&gt;
}}{{TableRowN| device                | timezone    | Optional      | String           | The timezone the Device is in &lt;br /&gt;
}}{{TableRowN| device                | location           | Optional   | Object           | Contains location information for the device.&lt;br /&gt;
}}{{TableRowN| location              | address            | Optional   | Object           |  Address information for Device (See [[Sensaphone.net API/address|Sensaphone.net API/address]])&lt;br /&gt;
}}{{TableRowN| location              | coordinates        | Optional   | Object           |  GPS Coordinates information for Device (See [[Sensaphone.net API/coordinates]])&lt;br /&gt;
}}{{TableRowN| device                | firmware           | Optional   | String           | Firmware version of Device&lt;br /&gt;
}}{{TableRowN| device                | default_schedule   | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | device_schedule    | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | zone               | Optional   | Array of Objects | Device Zone data (See [[Sensaphone.net API/zone|Sensaphone.net API/zone]])&lt;br /&gt;
}}{{TableRowN| device                | offline_timeout    | Optional   | Integer          | The number of minutes a device must be offline before it goes into alarm.&lt;br /&gt;
}}{{TableRowN| device                | modbus_ports       | Optional   | Array of Objects | TBD&lt;br /&gt;
}}{{TableRowN| device                | standby_time     | Optional     | String    | The number of minutes a device will be in standby mode.  &lt;br /&gt;
}}{{TableRowN| device                     | standby_mode      | Optional         | String    | A device's standby mode.      &lt;br /&gt;
}}{{TableRowN| device                     | clone      | Optional         | Integer    |  Destination device_id to clone this device's data to&lt;br /&gt;
}}{{TableRowN| device          | feature             | Optional       | Array of Objects | The feature linked to the device (See [[Sensaphone.net API/feature]])    &lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
===POST===&lt;br /&gt;
'''Adding a device'''&lt;br /&gt;
&lt;br /&gt;
The preferred method to add a new Device is to use the JSON Mode Request. If the URI Mode Request is used you will be adding a Device with only the '''id''' value (not to be confused with the '''device_id'''), all other values will be left empty until a PUT request is used. With the JSON Mode Request you can add a Device with all values defined in one step.&lt;br /&gt;
&lt;br /&gt;
'''URI Mode Request URI:'''&lt;br /&gt;
*Add a new Device &lt;br /&gt;
  '''POST''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/id/{DEVICEID}&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/device&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;create&amp;quot;&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | device                   | Array of Objects | The device object.&lt;br /&gt;
}}{{TableRowN| device          | id                       | Integer          | Unique identifier located on the Device (Serial number, etc.)&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;                | device             | Required   | Array of Objects | The parent device object.&lt;br /&gt;
}}{{TableRowN| device                | device_id          | Optional   | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| device                | id                 | Optional   | Integer          | Unique identifier located on the Device (Serial number, etc.)&lt;br /&gt;
}}{{TableRowN| device                | name               | Optional   | String           | Name of Device&lt;br /&gt;
}}{{TableRowN| device                | description        | Optional   | String           | Short description of Device&lt;br /&gt;
}}{{TableRowN| device                | location           | Optional   | Object           | Contains location information for the device.&lt;br /&gt;
}}{{TableRowN| location              | address            | Optional   | Object           |  Address information for Device (See [[Sensaphone.net API/address|Sensaphone.net API/address]])&lt;br /&gt;
}}{{TableRowN| location              | coordinates        | Optional   | Object           |  GPS Coordinates information for Device (See [[Sensaphone.net API/coordinates]])&lt;br /&gt;
}}{{TableRowN| device                | firmware           | Optional   | String           | Firmware version of Device&lt;br /&gt;
}}{{TableRowN| device                | default_schedule   | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | device_schedule    | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | zone               | Optional   | Array of Objects | Device Zone data (See [[Sensaphone.net API/zone|Sensaphone.net API/zone]])&lt;br /&gt;
}}{{TableRowN| device                | offline_timeout    | Optional   | Integer          | The number of minutes a device must be offline before it goes into alarm.&lt;br /&gt;
}}{{TableRowN| device                | modbus_ports       | Optional   | Array of Objects | TBD&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Acknowledging Alarms'''&lt;br /&gt;
&lt;br /&gt;
'''URI Mode Request URI:'''&lt;br /&gt;
*Acknowledge All Alarms&lt;br /&gt;
  '''POST''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}/acknowledge_all_alarms/{true}&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;create&amp;quot;&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | device                   | Array of Objects | The device object.&lt;br /&gt;
}}{{TableRowN| device          | device_id                       | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| device          | ack_offline_alarm          | Boolean          | A write-only property that will acknowledge a device offline alarm&lt;br /&gt;
}}{{TableRowN| device          | acknowledge_all_alarms  | Boolean          | A write-only property that will acknowledge all alarms for a device, including all device alarms and all zone alarms&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; &amp;quot;acknowledge_all_alarms&amp;quot; supersedes &amp;quot;ack_offline_alarm&amp;quot;, if it is present in the request json other properties will be ignored&lt;br /&gt;
&lt;br /&gt;
===DELETE===&lt;br /&gt;
'''URI Mode Request URI:'''&lt;br /&gt;
*Delete a Device from an account &lt;br /&gt;
  '''DELETE''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{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/device&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;          | device                   | Array of Objects | The device object.&lt;br /&gt;
}}{{TableRowN| device          | device_id                | Integer          | ID of the device.&lt;br /&gt;
}}{{TableEnd}}&lt;/div&gt;</summary>
		<author><name>Travis</name></author>	</entry>

	<entry>
		<id>https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API/device&amp;diff=118</id>
		<title>Sensaphone.net API/device</title>
		<link rel="alternate" type="text/html" href="https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API/device&amp;diff=118"/>
				<updated>2015-06-02T15:41:46Z</updated>
		
		<summary type="html">&lt;p&gt;Travis: Changing device clone type to Array of Objects&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=[[Sensaphone.net API]]=&lt;br /&gt;
&lt;br /&gt;
==Specifications==&lt;br /&gt;
The '''device''' resource allows access to the devices that are bound to the account.&lt;br /&gt;
&lt;br /&gt;
The device 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;''         | device        | Object     | The device object.            | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;''' | '''n/a'''&lt;br /&gt;
}}{{TableRowN| device                    | device_id     | Integer    | ID of the device.             | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device                    | id    | String     | Unique identifier located on the Device (Serial number, etc.)               | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device                    | name           | String     | Name of Device        | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                    | description    | String     | Short description of Device | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                    | timezone    | String     | The timezone the Device is in | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                    | location         | Object    | Contains location information for the device.  | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| location              | address         | Object    | Address information for Device (See [[Sensaphone.net API/address|Sensaphone.net API/address]])    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| location              | coordinates         | Object    | GPS Coordinates information for Device (See [[Sensaphone.net API/coordinates]])    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device              | firmware         | String    | Firmware version of Device  | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device              | default_schedule         | Object    | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device              | device_schedule         | Object    | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                     | zone         | Array of Objects    | Device Zone data (See [[Sensaphone.net API/zone|Sensaphone.net API/zone]])     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                     | offline_timeout         | Integer    | The number of minutes a device must be offline before it goes into alarm.     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device              | product         | String    | The name of the product type    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device              | modbus_ports        | Array of Objects    | TBD    | ''' ''' | ''' ''' | ''' ''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device              | zone_meta        | Array of Objects    | TBD    | ''' ''' | ''' ''' |  '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| zone_meta              | zone        | Zone Meta Type    | TBD    | ''' ''' | ''' ''' |  '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| zone_meta              | children        | Array of Zone Meta Type    | TBD    | ''' ''' | ''' ''' |  '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device              | is_offline_unack        | Boolean    | Whether or not an unacknowledged offline alarm exists.   | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device              | is_online        | Boolean    | Whether or not the device is currently online.    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' '''&lt;br /&gt;
}}{{TableRowN| device                     | standby_time         | String    | The number of minutes a device will be in standby mode.     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                     | standby_mode         | String    | A device's standby mode.     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableRowN| device                     | standby_status         | String    | A device's standby status     | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | battery_status     | String    | A device's battery status    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | power_status        | String    | A device's power status    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | connection_status         | String    | A device's connection status    | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | ack_offline_alarm         | String    | Acknowledge a device offline alarm    | '''&amp;amp;#x2713;''' | ''' ''' | ''' ''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | acknowledge_all_alarms         | String    | Acknowledge all device/zone alarms    | '''&amp;amp;#x2713;''' | ''' ''' | ''' ''' | ''' ''' &lt;br /&gt;
}}{{TableRowN| device                | clone         | Array of Objects    |  Clone a device's data    | ''' ''' | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' &lt;br /&gt;
}}{{TableRowN| device          | feature              | Array of Objects | The feature linked to the device (See [[Sensaphone.net API/feature]])              | ''' ''' | ''' ''' | '''&amp;amp;#x2713;''' | '''&amp;amp;#x2713;'''&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Zone Meta Type'''&lt;br /&gt;
{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Property'''        |'''Type'''        | '''Description'''&lt;br /&gt;
}}{{TableRowN|  zone_id                   | Integer          | The Zone ID&lt;br /&gt;
}}{{TableRowN| is_enabled                  | Integer          | Is the zone enabled&lt;br /&gt;
}}{{TableRowN| hide_if_disabled             | Boolean           | Hide the zone if disabled&lt;br /&gt;
}}{{TableRowN| add_name                   | String           | The add name&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 data for all Devices in a user's account&lt;br /&gt;
  '''GET''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device&lt;br /&gt;
&lt;br /&gt;
*Receive all Device data for a specific Device &lt;br /&gt;
  '''GET''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}&lt;br /&gt;
&lt;br /&gt;
*Receive the alarm status of a Device &lt;br /&gt;
  '''GET''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}/status&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/device&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;          | device                   | Array of Objects | The device 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;                | device             | Required   | Array of Objects | The parent device object.&lt;br /&gt;
}}{{TableRowN| device                | device_id          | Optional   | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| device                | id                 | Optional   | Integer          | Unique identifier located on the Device (Serial number, etc.)&lt;br /&gt;
}}{{TableRowN| device                | name               | Optional   | String           | Name of Device&lt;br /&gt;
}}{{TableRowN| device                | description        | Optional   | String           | Short description of Device&lt;br /&gt;
}}{{TableRowN| device                | timezone    | Optional      | String           | The timezone the Device is in &lt;br /&gt;
}}{{TableRowN| device                | location           | Optional   | Object           | Contains location information for the device.&lt;br /&gt;
}}{{TableRowN| location              | address            | Optional   | Object           |  Address information for Device (See [[Sensaphone.net API/address]])&lt;br /&gt;
}}{{TableRowN| location              | coordinates        | Optional   | Object           |  GPS Coordinates information for Device (See [[Sensaphone.net API/coordinates]])&lt;br /&gt;
}}{{TableRowN| device                | firmware           | Optional   | String           | Firmware version of Device&lt;br /&gt;
}}{{TableRowN| device                | default_schedule   | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | device_schedule    | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | zone               | Optional   | Array of Objects | Device Zone data (See [[Sensaphone.net API/zone|Sensaphone.net API/zone]])&lt;br /&gt;
}}{{TableRowN| device                | offline_timeout    | Optional   | Integer          | The number of minutes a device must be offline before it goes into alarm.&lt;br /&gt;
}}{{TableRowN| device                | product            | Optional   | String           | The name of the product type&lt;br /&gt;
}}{{TableRowN| device                | modbus_ports       | Optional   | Array of Objects | TBD&lt;br /&gt;
}}{{TableRowN| device               | zone_meta      | Optional     | Array ofObjects    | TBD &lt;br /&gt;
}}{{TableRowN| zone_meta              | zone            | Optional    | Zone Meta Type    | TBD     &lt;br /&gt;
}}{{TableRowN| zone_meta              | children            | Optional    | Array of Zone Meta Type    | TBD    &lt;br /&gt;
}}{{TableRowN| device                | is_offline_unack   | Optional   | Boolean          | Whether or not an '''unacknowledged''' offline alarm exists.&lt;br /&gt;
}}{{TableRowN| device                | is_online          | Optional   | Boolean          | Whether or not the device is currently online.&lt;br /&gt;
}}{{TableRowN| device                | standby_time     | Optional     | String    | The number of minutes a device will be in standby mode.   &lt;br /&gt;
}}{{TableRowN| device                | standby_mode | Optional          | String    | A device's standby mode.    &lt;br /&gt;
}}{{TableRowN| device                | standby_status    | Optional       | String    | A device's standby status   &lt;br /&gt;
}}{{TableRowN| device                | battery_status    | Optional       | String    | A device's battery status   &lt;br /&gt;
}}{{TableRowN| device                | power_status    | Optional       | String    | A device's power status   &lt;br /&gt;
}}{{TableRowN| device                | battery_value    | Optional       | String    | A device's battery value   &lt;br /&gt;
}}{{TableRowN| device                | power_value    | Optional       | String    | A device's power value   &lt;br /&gt;
}}{{TableRowN| device                | connection_status    | Optional       | String    | A device's connection status   &lt;br /&gt;
}}{{TableRowN| device          | feature             | Optional       | Array of Objects | The feature linked to the account (See [[Sensaphone.net API/feature]])    &lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
=====Example JSON=====&lt;br /&gt;
Receive all Device information for a specific Device&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;device&amp;quot;: {&lt;br /&gt;
       &amp;quot;device_id&amp;quot;:1234&lt;br /&gt;
      }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''Response JSON:'''&lt;br /&gt;
&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&amp;quot;: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;device&amp;quot;:[&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;device_id&amp;quot;: 1234,&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;
&lt;br /&gt;
'''URI Mode Request URI's:'''&lt;br /&gt;
*Edit the '''description''' of a Device &lt;br /&gt;
   '''PUT''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}/description/{DESCRIPTION}&lt;br /&gt;
&lt;br /&gt;
*Edit the '''name''' of a Device &lt;br /&gt;
   '''PUT''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}/name/{DEVICE_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/device&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;          | device                   | Array of Objects | The device object.&lt;br /&gt;
}}{{TableRowN| device          | device_id                | Integer          | ID of the device.&lt;br /&gt;
}}{{TableRowN| device          | '''CHILD PROPERTY'''     | &amp;amp;nbsp;           | Device's child properties to be edited*&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;One or more '''device''' child properties below are required in addition to &amp;quot;device_id&amp;quot;.&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;                | device             | Required   | Array of Objects | The parent device object.&lt;br /&gt;
}}{{TableRowN| device                | device_id          | Optional   | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| device                | name               | Optional   | String           | Name of Device&lt;br /&gt;
}}{{TableRowN| device                | description        | Optional   | String           | Short description of Device&lt;br /&gt;
}}{{TableRowN| device                | timezone    | Optional      | String           | The timezone the Device is in &lt;br /&gt;
}}{{TableRowN| device                | location           | Optional   | Object           | Contains location information for the device.&lt;br /&gt;
}}{{TableRowN| location              | address            | Optional   | Object           |  Address information for Device (See [[Sensaphone.net API/address|Sensaphone.net API/address]])&lt;br /&gt;
}}{{TableRowN| location              | coordinates        | Optional   | Object           |  GPS Coordinates information for Device (See [[Sensaphone.net API/coordinates]])&lt;br /&gt;
}}{{TableRowN| device                | firmware           | Optional   | String           | Firmware version of Device&lt;br /&gt;
}}{{TableRowN| device                | default_schedule   | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | device_schedule    | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | zone               | Optional   | Array of Objects | Device Zone data (See [[Sensaphone.net API/zone|Sensaphone.net API/zone]])&lt;br /&gt;
}}{{TableRowN| device                | offline_timeout    | Optional   | Integer          | The number of minutes a device must be offline before it goes into alarm.&lt;br /&gt;
}}{{TableRowN| device                | modbus_ports       | Optional   | Array of Objects | TBD&lt;br /&gt;
}}{{TableRowN| device                | standby_time     | Optional     | String    | The number of minutes a device will be in standby mode.  &lt;br /&gt;
}}{{TableRowN| device                     | standby_mode      | Optional         | String    | A device's standby mode.      &lt;br /&gt;
}}{{TableRowN| device                     | clone      | Optional         | Array of Objects    |  Destination device_id(s) to clone this device's data to&lt;br /&gt;
}}{{TableRowN| device          | feature             | Optional       | Array of Objects | The feature linked to the device (See [[Sensaphone.net API/feature]])    &lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
===POST===&lt;br /&gt;
'''Adding a device'''&lt;br /&gt;
&lt;br /&gt;
The preferred method to add a new Device is to use the JSON Mode Request. If the URI Mode Request is used you will be adding a Device with only the '''id''' value (not to be confused with the '''device_id'''), all other values will be left empty until a PUT request is used. With the JSON Mode Request you can add a Device with all values defined in one step.&lt;br /&gt;
&lt;br /&gt;
'''URI Mode Request URI:'''&lt;br /&gt;
*Add a new Device &lt;br /&gt;
  '''POST''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/id/{DEVICEID}&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/device&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;create&amp;quot;&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | device                   | Array of Objects | The device object.&lt;br /&gt;
}}{{TableRowN| device          | id                       | Integer          | Unique identifier located on the Device (Serial number, etc.)&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;                | device             | Required   | Array of Objects | The parent device object.&lt;br /&gt;
}}{{TableRowN| device                | device_id          | Optional   | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| device                | id                 | Optional   | Integer          | Unique identifier located on the Device (Serial number, etc.)&lt;br /&gt;
}}{{TableRowN| device                | name               | Optional   | String           | Name of Device&lt;br /&gt;
}}{{TableRowN| device                | description        | Optional   | String           | Short description of Device&lt;br /&gt;
}}{{TableRowN| device                | location           | Optional   | Object           | Contains location information for the device.&lt;br /&gt;
}}{{TableRowN| location              | address            | Optional   | Object           |  Address information for Device (See [[Sensaphone.net API/address|Sensaphone.net API/address]])&lt;br /&gt;
}}{{TableRowN| location              | coordinates        | Optional   | Object           |  GPS Coordinates information for Device (See [[Sensaphone.net API/coordinates]])&lt;br /&gt;
}}{{TableRowN| device                | firmware           | Optional   | String           | Firmware version of Device&lt;br /&gt;
}}{{TableRowN| device                | default_schedule   | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | device_schedule    | Optional   | Object           | Alarm Schedule data (See [[Sensaphone.net API/alarmschedule]])&lt;br /&gt;
}}{{TableRowN| device                | zone               | Optional   | Array of Objects | Device Zone data (See [[Sensaphone.net API/zone|Sensaphone.net API/zone]])&lt;br /&gt;
}}{{TableRowN| device                | offline_timeout    | Optional   | Integer          | The number of minutes a device must be offline before it goes into alarm.&lt;br /&gt;
}}{{TableRowN| device                | modbus_ports       | Optional   | Array of Objects | TBD&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Acknowledging Alarms'''&lt;br /&gt;
&lt;br /&gt;
'''URI Mode Request URI:'''&lt;br /&gt;
*Acknowledge All Alarms&lt;br /&gt;
  '''POST''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{DEVICE_ID}/acknowledge_all_alarms/{true}&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;create&amp;quot;&lt;br /&gt;
}}{{TableRowN| &amp;amp;nbsp;          | device                   | Array of Objects | The device object.&lt;br /&gt;
}}{{TableRowN| device          | device_id                       | Integer          | ID of Device&lt;br /&gt;
}}{{TableRowN| device          | ack_offline_alarm          | Boolean          | A write-only property that will acknowledge a device offline alarm&lt;br /&gt;
}}{{TableRowN| device          | acknowledge_all_alarms  | Boolean          | A write-only property that will acknowledge all alarms for a device, including all device alarms and all zone alarms&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; &amp;quot;acknowledge_all_alarms&amp;quot; supersedes &amp;quot;ack_offline_alarm&amp;quot;, if it is present in the request json other properties will be ignored&lt;br /&gt;
&lt;br /&gt;
===DELETE===&lt;br /&gt;
'''URI Mode Request URI:'''&lt;br /&gt;
*Delete a Device from an account &lt;br /&gt;
  '''DELETE''' &amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{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/device&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;          | device                   | Array of Objects | The device object.&lt;br /&gt;
}}{{TableRowN| device          | device_id                | Integer          | ID of the device.&lt;br /&gt;
}}{{TableEnd}}&lt;/div&gt;</summary>
		<author><name>Travis</name></author>	</entry>

	<entry>
		<id>https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API&amp;diff=82</id>
		<title>Sensaphone.net API</title>
		<link rel="alternate" type="text/html" href="https://wiki.sensaphone.net/index.php?title=Sensaphone.net_API&amp;diff=82"/>
				<updated>2015-05-14T19:42:39Z</updated>
		
		<summary type="html">&lt;p&gt;Travis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
The Sensaphone.net API will be used as a resource for proprietary products (such as mobile applications) and 3rd party clients. It uses a [[wikipedia:REST|REST]] architecture over HTTPS using JSON as the data format. HTTP is not supported. The service can be accessed in one of two modes: URI mode and JSON mode.&lt;br /&gt;
&lt;br /&gt;
In '''''URI mode''''', the following HTTPS methods are used to access the REST resources as [[wikipedia:CRUD|CRUD]].&lt;br /&gt;
::{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Method''' | '''Description'''&lt;br /&gt;
}}{{TableRowN| POST         | '''C'''reate&lt;br /&gt;
}}{{TableRowN| GET          | '''R'''ead&lt;br /&gt;
}}{{TableRowN| PUT          | '''U'''pdate&lt;br /&gt;
}}{{TableRowN| DELETE       | '''D'''elete&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
All parameters are specified in the URI and JSON is only used in the response.&lt;br /&gt;
&lt;br /&gt;
In '''''JSON Mode''''', only the POST method is used to Create, Read, Update, and Delete fields. A &amp;quot;request_type&amp;quot;(create,read,update,delete) JSON property is used to distinguish which method to execute.&lt;br /&gt;
&lt;br /&gt;
==Definitions==&lt;br /&gt;
:'''Resource''': A resource is a primary source of data. Examples: device, zone.&lt;br /&gt;
:'''Property''': A property is a discrete source of data within a resource (e.g. Device's name). A property may also be a resource (e.g. Device's zone).&lt;br /&gt;
:'''ID''': Resources have properties that uniquely identify them. For example, a device has a &amp;quot;device_id&amp;quot;, a zone has a &amp;quot;zone_id&amp;quot;. These identifying properties are optional or required (See [[#URI Syntax|URI Syntax]]) when accessing (read). They are required when modifying (update or delete) a specific existing resource. When creating they are required except for the resource being created. For a create, the newly created ID will typically be returned in the JSON result.&lt;br /&gt;
&lt;br /&gt;
==URI Syntax==&lt;br /&gt;
The URIs are descriptive representations of what the client will receive as a response and will follow one of the formats:&lt;br /&gt;
&lt;br /&gt;
  /api/v1&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''ACCTID''}/{''SESSIONID''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]&amp;lt;/span&amp;gt;/'''login'''/&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''USERNAME''}/{''PASSWORD''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]&amp;lt;/span&amp;gt;&lt;br /&gt;
  /api/v1&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''ACCTID''}/{''SESSIONID''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/'''Resource'''&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''ID''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]]&amp;lt;/span&amp;gt;...&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/'''Resource'''&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''ID''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]]&amp;lt;/span&amp;gt;/'''Property'''&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''VALUE''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]]&amp;lt;/span&amp;gt;&lt;br /&gt;
  /api/v1&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''ACCTID''}/{''SESSIONID''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/'''Resource'''&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''ID''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]]&amp;lt;/span&amp;gt;...&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/'''Resource'''&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''ID''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]]&amp;lt;/span&amp;gt;/'''Resource'''&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;/{''ID''}&amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: &amp;quot;v1&amp;quot; can be replaced with &amp;quot;v2&amp;quot;,&amp;quot;v3&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Resource&amp;quot; is the the name of the resource to be accessed (e.g. &amp;quot;device&amp;quot;). The &amp;quot;Property&amp;quot; used will be context dependent and is documented for each resource. Values are placed inside &amp;lt;nowiki&amp;gt;{}&amp;lt;/nowiki&amp;gt; brackets. The brackets are used in the URI submitted. &lt;br /&gt;
&lt;br /&gt;
In [[#Overview|URI Mode]], the Resource ID (e.g. &amp;quot;/''{ID}''&amp;quot;) must be included unless it is the rightmost resource in the URI. In [[#Overview|JSON mode]], the ID is still required, but may be included in the submitted JSON instead.&lt;br /&gt;
&lt;br /&gt;
Fields in &amp;lt;span style=&amp;quot;color:#A00000&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[]&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; brackets are optional on the URI, however, if they are required in the resource documentation, then they must be included '''either''' in the URI or in the JSON, but not both. The brackets themselves are not included in the URI submitted. Consider the following API call to retrieve the device name for device ID 1234:&lt;br /&gt;
 '''URI Mode Request URI:'''&lt;br /&gt;
  '''GET''' ''https://rest.sensaphone.net/api/v1/{987654}/{0123-4567-8901}/device/{1234}/name''&lt;br /&gt;
The ACCTID, SESSIONID, ID, and &amp;quot;name&amp;quot; fields may be excluded from the URI, but must then be included in the request JSON:&lt;br /&gt;
 '''Request Description:'''&lt;br /&gt;
  Retrieve the &amp;quot;name&amp;quot; property from device &amp;quot;1234&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 '''JSON Mode Request URI:'''&lt;br /&gt;
  '''POST''' ''https://rest.sensaphone.net/api/v1/device''&lt;br /&gt;
 &lt;br /&gt;
 '''Request JSON:'''&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;request_type:&amp;quot;read&amp;quot;,&lt;br /&gt;
    &amp;quot;resource&amp;quot;:&amp;quot;device&amp;quot;,&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;device&amp;quot;: [&lt;br /&gt;
      { &lt;br /&gt;
        &amp;quot;device_id&amp;quot;: 1234,&lt;br /&gt;
        &amp;quot;name&amp;quot; : null&lt;br /&gt;
      }&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
This will provide a response of the name of the device whose ID is &amp;quot;1234&amp;quot; for the account with ID 987654 using the Account ID of 987654 and Session ID of &amp;quot;0123-4567-8901&amp;quot;:&lt;br /&gt;
 '''Response JSON:'''&lt;br /&gt;
  ...&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;device&amp;quot;: [&lt;br /&gt;
      { &lt;br /&gt;
        &amp;quot;device_id&amp;quot;: 1234,&lt;br /&gt;
        &amp;quot;name&amp;quot; : &amp;quot;My Device&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
The URI method is intended to allow quick access to single pieces of data, but using the JSON method is more complete and allows retrieval of multiple pieces of data at once.&lt;br /&gt;
 &lt;br /&gt;
===Additional Examples===&lt;br /&gt;
====POST====&lt;br /&gt;
 '''Request Description:'''&lt;br /&gt;
  Create a new alarm schedule for the device with ID 1234 and its zone with ID 112233.&lt;br /&gt;
 &lt;br /&gt;
 '''URI Mode Request URI:'''&lt;br /&gt;
  '''POST''' ''https://rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{1234}/zone/{112233}/alarmschedule&lt;br /&gt;
&lt;br /&gt;
====GET====&lt;br /&gt;
 '''Request Description:'''&lt;br /&gt;
  Retrieve the name of the zone with ID 112233 of the device with ID 1234.&lt;br /&gt;
 &lt;br /&gt;
 '''URI Mode Request URI:'''&lt;br /&gt;
  '''GET''' ''https://rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{1234}/zone/{112233}/name&lt;br /&gt;
&lt;br /&gt;
====PUT====&lt;br /&gt;
 '''Request Description:'''&lt;br /&gt;
  Change the name of the User with the ID 6778 to &amp;quot;John Doe&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
 '''URI Mode Request URI:'''&lt;br /&gt;
  '''PUT''' ''https://rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/user/{6778}/name/{John&amp;amp;nbsp;Doe}''&lt;br /&gt;
&lt;br /&gt;
====DELETE====&lt;br /&gt;
 '''Request Description:'''&lt;br /&gt;
  Delete the User with the ID 6778.&lt;br /&gt;
 &lt;br /&gt;
 '''URI Mode Request URI:'''&lt;br /&gt;
  '''DELETE''' ''https://rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/user/{6778}''&lt;br /&gt;
&lt;br /&gt;
==JSON Format==&lt;br /&gt;
===Requests===&lt;br /&gt;
All requests using the JSON mode will only use the POST method with a &amp;quot;request_type&amp;quot; parameter.&lt;br /&gt;
&lt;br /&gt;
All requests include one outer JSON object unless no request data is specified. Requests are made according the specific requirements of the resource being accessed. With the exception of the login page, a session ID must be included with all API requests. When using the [[#URI Syntax]] JSON mode, the following will be included:&lt;br /&gt;
  {                                          &amp;amp;#8592; All values must be within this outer JSON object.&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;,                   &amp;amp;#8592; One of &amp;quot;read&amp;quot;, &amp;quot;update&amp;quot;, &amp;quot;create&amp;quot;, &amp;quot;delete&amp;quot;&lt;br /&gt;
    ...&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
A resource is accessed as either a JSON array of objects or a JSON object. A resource's properties are listed in comma separated values in the JSON object for that resource. All JSON value types may be used. Resources within resources are accessed as JSON objects within objects (or Array of objects). The JSON type of a property is specified by the requirements for each resource. &lt;br /&gt;
&lt;br /&gt;
When performing a '''Read''' on a resource, all properties will be returned if '''only''' the resource ID is specified. If one or more non-identifying properties are specified, only those properties will be returned. The data values for those ''specific'' properties should be 'null'. &lt;br /&gt;
&lt;br /&gt;
When performing a '''Delete''', specified non-identifying properties to be deleted should have their data values set to 'null', just like in a '''Read'''.&lt;br /&gt;
&lt;br /&gt;
When performing a '''Update''' or '''Create''', specified non-identifying properties to be set must have their data values set to valid types, '''not''' 'null'.&lt;br /&gt;
&lt;br /&gt;
When performing a '''Update''', the identifying properties must be specified. You can't update a resource without identifying it.&lt;br /&gt;
&lt;br /&gt;
When performing a '''Create''', the identifying properties of the resource being created should not be specified at all. Only existing resources can have identifiers already.&lt;br /&gt;
&lt;br /&gt;
NOTE: Specifying properties that are not listed in the requirements has no effect.&lt;br /&gt;
&lt;br /&gt;
 '''JSON Mode Request URI:'''&lt;br /&gt;
  '''POST''' ''https://rest.sensaphone.net/api/v1/device''&lt;br /&gt;
 &lt;br /&gt;
 '''Request JSON:'''&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;request_type&amp;quot;:&amp;quot;read&amp;quot;,&lt;br /&gt;
    &amp;quot;resource&amp;quot;:&amp;quot;device&amp;quot;,&lt;br /&gt;
    &amp;quot;acctid&amp;quot;:987654,&lt;br /&gt;
    &amp;quot;session&amp;quot;: &amp;quot;0123-4567-8901&amp;quot;,             &amp;amp;#8592; All values are within at least the outer JSON object.&lt;br /&gt;
    &amp;quot;device&amp;quot;:[                               &amp;amp;#8592; Devices are accessed as a JSON array of objects.&lt;br /&gt;
      {                                         &lt;br /&gt;
        &amp;quot;device_id&amp;quot;: 1234,                   &amp;amp;#8592; The &amp;quot;device_id&amp;quot; property is provided to identify the device accessed.&lt;br /&gt;
        &amp;quot;name&amp;quot;: null,                        &amp;amp;#8592; The &amp;quot;name&amp;quot; property is ''specifically'' requested, so it is set to null. The whole device will '''not''' be returned.&lt;br /&gt;
        &amp;quot;zones&amp;quot;:[                            &amp;amp;#8592; Zones are accessed as a JSON array of objects.&lt;br /&gt;
          {                                     &lt;br /&gt;
            &amp;quot;zone_id&amp;quot;: 112233                &amp;amp;#8592; By only specifying the &amp;quot;zone_id&amp;quot; and no other properties, '''all''' zone data is requested.&lt;br /&gt;
          }                                     &lt;br /&gt;
        ],                                      &lt;br /&gt;
        &amp;quot;this fake property&amp;quot;: &amp;quot;is ignored&amp;quot;   &amp;amp;#8592; Invalid properties are ignored.&lt;br /&gt;
      }&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
The above request is equivalent to the following requests, but must be done in two steps because two pieces of data were requested (The device's name and the device's zone with the ID 112233). No request JSON is required in this case.&lt;br /&gt;
 '''URI Mode Request URIs:'''&lt;br /&gt;
  '''GET''' ''https://rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{1234}/name''&lt;br /&gt;
  '''GET''' ''https://rest.sensaphone.net/api/v1/{ACCTID}/{SESSIONID}/device/{1234}/zone/{112233}''&lt;br /&gt;
&lt;br /&gt;
===Responses===&lt;br /&gt;
Responses conform to the following format and include error reporting.&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
  &amp;quot;result&amp;quot;:&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;success&amp;quot;: true,          &amp;amp;#8592; Overall result of the request.&lt;br /&gt;
    &amp;quot;code&amp;quot;: 0,                &amp;amp;#8592; Status code for overall result.&lt;br /&gt;
    &amp;quot;message&amp;quot;:&amp;quot;OK&amp;quot;,           &amp;amp;#8592; String describing the overall result.&lt;br /&gt;
    &lt;br /&gt;
    &amp;quot;properties&amp;quot;:             &amp;amp;#8592; Optionally used for '''Create''', '''Update''', and '''Delete'''&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;''PROPERTY''&amp;quot;:{            &amp;amp;#8592; Property names and layout will match the request.&lt;br /&gt;
       &amp;quot;success&amp;quot;: true,&lt;br /&gt;
       &amp;quot;message&amp;quot;:&amp;quot;OK&amp;quot;,&lt;br /&gt;
       &amp;quot;code&amp;quot;:0&lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;''PROPERTY''&amp;quot;:{&lt;br /&gt;
       &amp;quot;success&amp;quot;: false,&lt;br /&gt;
       &amp;quot;message&amp;quot;:&amp;quot;Failed&amp;quot;,&lt;br /&gt;
       &amp;quot;code&amp;quot;:123&lt;br /&gt;
      },&lt;br /&gt;
      ...&lt;br /&gt;
    },&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;response&amp;quot;:                 &amp;amp;#8592; Any data that may have changed ('''Create'''/'''Update'''/'''Delete''') or been requested ('''Read''').&lt;br /&gt;
  {&lt;br /&gt;
    ...&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The success, code, and message for the overall result will always be included. The data in the &amp;quot;response&amp;quot; JSON object will depend on the specification of the resource accessed in the original request, but will generally follow the same layout and format of the request, although the specific properties returned will vary.&lt;br /&gt;
&lt;br /&gt;
 '''JSON Mode Request URI:'''&lt;br /&gt;
  '''POST''' ''https://rest.sensaphone.net/api/v1/device''&lt;br /&gt;
 &lt;br /&gt;
 '''Request JSON:'''&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;request_type&amp;quot;:&amp;quot;update&amp;quot;,&lt;br /&gt;
    &amp;quot;resource&amp;quot;:&amp;quot;device&amp;quot;,&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;device&amp;quot;:[&lt;br /&gt;
      {                                         &lt;br /&gt;
        &amp;quot;device_id&amp;quot;: 1234,&lt;br /&gt;
        &amp;quot;name&amp;quot;: &amp;quot;My Device&amp;quot;,        &amp;amp;#8592; The device's &amp;quot;name&amp;quot; property is being changed.&lt;br /&gt;
        &amp;quot;zone&amp;quot;:[                            &lt;br /&gt;
          {                                     &lt;br /&gt;
            &amp;quot;zone_id&amp;quot;: 112233,&lt;br /&gt;
            &amp;quot;name&amp;quot;: 1234            &amp;amp;#8592; The device's zone's &amp;quot;name&amp;quot; property is being changed.&lt;br /&gt;
          }                                     &lt;br /&gt;
        ]&lt;br /&gt;
      }&lt;br /&gt;
    ]&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,              &amp;amp;#8592; The overall request was processed correctly, even if some properties had errors.&lt;br /&gt;
     &amp;quot;code&amp;quot;: 0,&lt;br /&gt;
     &amp;quot;message&amp;quot;:&amp;quot;OK&amp;quot;,&lt;br /&gt;
    &lt;br /&gt;
     &amp;quot;properties&amp;quot;:&lt;br /&gt;
     {&lt;br /&gt;
       &amp;quot;device&amp;quot;:[&lt;br /&gt;
         {                                         &lt;br /&gt;
           &amp;quot;device_id&amp;quot;: 1234,        &amp;amp;#8592; Identifying properties must be specified.&lt;br /&gt;
           &amp;quot;name&amp;quot;: {                 &amp;amp;#8592; Property &amp;quot;name&amp;quot; was changed.&lt;br /&gt;
             &amp;quot;success&amp;quot;: true,&lt;br /&gt;
             &amp;quot;message&amp;quot;:&amp;quot;OK&amp;quot;,&lt;br /&gt;
             &amp;quot;code&amp;quot;:0&lt;br /&gt;
           },&lt;br /&gt;
           &amp;quot;zone&amp;quot;:[                            &lt;br /&gt;
             {                                     &lt;br /&gt;
               &amp;quot;zone_id&amp;quot;: 112233,    &amp;amp;#8592; Identifying properties must be specified.&lt;br /&gt;
               &amp;quot;name&amp;quot;: {             &amp;amp;#8592; The device's zone's &amp;quot;name&amp;quot; was changed.&lt;br /&gt;
                 &amp;quot;success&amp;quot;: false,&lt;br /&gt;
                 &amp;quot;message&amp;quot;: &amp;quot;A string type is required&amp;quot;,&lt;br /&gt;
                 &amp;quot;code&amp;quot;:123&lt;br /&gt;
               }&lt;br /&gt;
             }                                     &lt;br /&gt;
           ]&lt;br /&gt;
         }&lt;br /&gt;
       ]&lt;br /&gt;
     },&lt;br /&gt;
   },&lt;br /&gt;
   &amp;quot;response&amp;quot;:&lt;br /&gt;
   {&lt;br /&gt;
     &amp;quot;device&amp;quot;:[&lt;br /&gt;
       {                                         &lt;br /&gt;
         &amp;quot;device_id&amp;quot;: 1234,        &amp;amp;#8592; Identifying properties must be specified.&lt;br /&gt;
         &amp;quot;name&amp;quot;: &amp;quot;My Device&amp;quot;,      &amp;amp;#8592; The new value for the device's &amp;quot;name&amp;quot;.&lt;br /&gt;
       }&lt;br /&gt;
     ]&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The above request is equivalent to the following requests, but must be done in two steps because two pieces of data were updated (The device's name and the device's zone's name). No request JSON is required in this case.&lt;br /&gt;
 '''URI Mode Request URIs:'''&lt;br /&gt;
  '''PUT''' ''https://rest.sensaphone.net/api/v1/{987654}/{0123-4567-8901}/device/{1234}/name/{My&amp;amp;nbsp;Device}''&lt;br /&gt;
  '''PUT''' ''https://rest.sensaphone.net/api/v1/{987654}/{0123-4567-8901}/device/{1234}/zone/{112233}/name/{1234}''&lt;br /&gt;
&lt;br /&gt;
The following are some of the status codes used for overall status.&lt;br /&gt;
::{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Code''' | '''Description'''&lt;br /&gt;
}}{{TableRowN| 0          | Success&lt;br /&gt;
}}{{TableRowN| 1          | Failed: No Session ID provided&lt;br /&gt;
}}{{TableRowN| 2          | Failed: Session ID has expired&lt;br /&gt;
}}{{TableRowN| 3          | Failed: Invalid request URI.&lt;br /&gt;
}}{{TableRowN| 4          | Failed: Invalid request JSON.&lt;br /&gt;
}}{{TableRowN| 5          | Failed: Invalid username provided.&lt;br /&gt;
}}{{TableRowN| 6          | Failed: Invalid password provided.&lt;br /&gt;
}}{{TableRowN| 7          | Failed: User is not authorized.&lt;br /&gt;
}}{{TableRowN| 8          | Failed: Service unavailable. Try again later.&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
==Versions==&lt;br /&gt;
There will be three versions of the API. We will refer to them as V1, V2, and V3. The only difference between the versions is in the format of '''responses'''. Requests to the Sensaphone.net API are identical in all cases.&lt;br /&gt;
&lt;br /&gt;
===V1===&lt;br /&gt;
V1 will primarily be used to give responses that will be directly displayed in a client's application. &lt;br /&gt;
&lt;br /&gt;
'''Example V1 Response for &amp;quot;https://rest.sensaphone.net/api/v1/{987654}/{0123-4567-8901}/device/{1234}/name&amp;quot; :'''&lt;br /&gt;
&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;device&amp;quot;: [&lt;br /&gt;
      { &lt;br /&gt;
        &amp;quot;device_id&amp;quot;: 1234,&lt;br /&gt;
        &amp;quot;name&amp;quot; : &amp;quot;My Device&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
===V2===&lt;br /&gt;
V2 should be used when responses with the addition of metadata are needed.&lt;br /&gt;
&lt;br /&gt;
'''Example V2 Response for &amp;quot;https://rest.sensaphone.net/api/v2/{987654}/{0123-4567-8901}/device/{1234}/name&amp;quot; :''' &lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;device&amp;quot;: [&lt;br /&gt;
      { &lt;br /&gt;
        &amp;quot;device_id&amp;quot;: 1234,&lt;br /&gt;
        &amp;quot;name&amp;quot;: &lt;br /&gt;
        {&lt;br /&gt;
          &amp;quot;is_null&amp;quot; : false,&lt;br /&gt;
          &amp;quot;is_empty&amp;quot;: false,&lt;br /&gt;
          &amp;quot;value&amp;quot;   : &amp;quot;Device 1&amp;quot;,&lt;br /&gt;
          &amp;quot;type&amp;quot;    : &amp;quot;string&amp;quot;,&lt;br /&gt;
          &amp;quot;is_pending&amp;quot;: false,&lt;br /&gt;
          &amp;quot;is_ranged&amp;quot; : true,&lt;br /&gt;
          &amp;quot;ranged&amp;quot;:[&lt;br /&gt;
            {&lt;br /&gt;
              &amp;quot;null&amp;quot;: false,&lt;br /&gt;
              &amp;quot;min&amp;quot; : 0,&lt;br /&gt;
              &amp;quot;max&amp;quot; : 128&lt;br /&gt;
            }&lt;br /&gt;
          ]&lt;br /&gt;
        }&lt;br /&gt;
      }&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
::{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN| '''Property'''          | '''Status''' | '''Type''' | '''Description'''&lt;br /&gt;
}}{{TableRowN| is_null                 | Required     | Boolean    | States if the corresponding value is NULL. If so, no additional keys are given.&lt;br /&gt;
}}{{TableRowN| is_empty                | Required*    | Boolean    | States if the corresponding value is empty. If so, no additional keys are given.&lt;br /&gt;
}}{{TableRowN| value                   | Required**   | String     | Description of the corresponding value&lt;br /&gt;
}}{{TableRowN| type                    | Required**   | String     | Type of value&lt;br /&gt;
}}{{TableRowN| is_pending              | Optional     | Boolean    | States if the value is in process of being updated&lt;br /&gt;
}}{{TableRowN| is_ranged               | Optional     | Boolean    | States if there is a set of ranges for the value&lt;br /&gt;
}}{{TableRowN| ranged                  | Optional     | Array      | Array of ranges&lt;br /&gt;
}}{{TableRowN| &amp;amp;#8594; null            | Required     | Boolean    | States if the value can be null.&lt;br /&gt;
}}{{TableRowN| &amp;amp;#8594; min             | Required***  | Mixed      | Min of range&lt;br /&gt;
}}{{TableRowN| &amp;amp;#8594; max             | Optional     | Mixed      | Max of range&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
::&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; Only required if &amp;quot;is_null&amp;quot; is false.&lt;br /&gt;
::&amp;lt;nowiki&amp;gt;**&amp;lt;/nowiki&amp;gt; Only required if &amp;quot;is_empty&amp;quot; is false.&lt;br /&gt;
::&amp;lt;nowiki&amp;gt;***&amp;lt;/nowiki&amp;gt; Only required if &amp;quot;null&amp;quot; is false.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===V3===&lt;br /&gt;
V3 should be used when only the pending meta data is needed&lt;br /&gt;
&lt;br /&gt;
'''Example V3 Response for &amp;quot;https://rest.sensaphone.net/api/v3/{987654}/{0123-4567-8901}/device/{1234}/name&amp;quot; :'''&lt;br /&gt;
&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;device&amp;quot;: [&lt;br /&gt;
      { &lt;br /&gt;
        &amp;quot;device_id&amp;quot;: 1234,&lt;br /&gt;
        &amp;quot;name&amp;quot; : &lt;br /&gt;
        {&lt;br /&gt;
          &amp;quot;is_pending&amp;quot;: true&lt;br /&gt;
        }&lt;br /&gt;
      }&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
The following resources are accessible through the REST API. They may be accessible from different URI contexts. See the individual resource pages for more information.&lt;br /&gt;
::{{TableStart|border_size=1&lt;br /&gt;
}}{{TableRowN|'''Page'''                                   |'''GET'''|'''PUT'''|'''POST'''|'''DELETE'''&lt;br /&gt;
}}{{TableRowN|&amp;amp;nbsp;                                       |(Read)|(Write)|(Create)|(Delete)&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/login|login]]                 |Y|Y|Y|Y&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/dashboard|dashboard]]         |Y|N|N|N&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/history|history]]             |Y|N|N|N&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/account|account]]               |Y|Y|N|N&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/device|device]]               |Y|Y|Y|Y&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/devicegroup|devicegroup]]     |Y|Y|Y|Y&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/address|address]]             |Y|Y|N|N&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/coordinates|coordinates]]     |Y|Y|N|N&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/zone|zone]]                   |Y|Y|Y|N&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/calllist|calllist]]           |Y|Y|Y|Y&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/alarmschedule|alarmschedule]] |Y|Y|Y|Y&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/schedule|schedule]]           |Y|Y|Y|Y&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/timerange|timerange]]         |Y|Y|Y|Y&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/contactgroup|contactgroup]]   |Y|Y|Y|Y&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/user|user]]                   |Y|Y|Y|Y&lt;br /&gt;
}}{{TableRowN|[[{{PAGENAME}}/contact|contact]]             |Y|Y|Y|Y&lt;br /&gt;
}}{{TableEnd}}&lt;br /&gt;
&lt;br /&gt;
===List===&lt;br /&gt;
The following is a list of all possible REST resources, excluding any possible '''&amp;lt;nowiki&amp;gt;[/Property/[/Value]]&amp;lt;/nowiki&amp;gt;''' suffix. Properties ('''/Property''') of a resource are shown where it is a JSON object or array of objects (e.g. &amp;quot;alarmschedule&amp;quot;). For a full list of properties and values associated with each resource, see the page for that resource.&lt;br /&gt;
*/api/v1/login/{USERNAME}/{PASSWORD}&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/account&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/account/feature&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/calllist&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/contact&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/contact/schedule&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/contact/schedule/timerange&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/contactgroup&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/dashboard&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/default_schedule&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/default_schedule/timerange&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/default_schedule/calllist&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/device_schedule&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/device_schedule/timerange&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/device_schedule/calllist&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/feature&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/location&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/location/address&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/location/coordinates&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/zone&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/zone/alarm_zone/alarmschedule&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/zone/alarm_zone/alarmschedule/timerange&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/zone/alarm_zone/alarmschedule/calllist&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/zone/schedule&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/device/zone/schedule/timerange&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/devicegroup&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/history&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/login&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/user&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/user/alarm_user/contact&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/user/alarm_user/contact/schedule&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/user/alarm_user/contact/schedule/timerange&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/user/alarm_user/schedule&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/user/alarm_user/schedule/timerange&lt;br /&gt;
*/api/v1/{ACCTID}/{SESSIONID}/user/site_user/address&lt;/div&gt;</summary>
		<author><name>Travis</name></author>	</entry>

	</feed>