Black Box iPATH ACR1000A-CTL-24 User Manual page 80

Agility controller
Hide thumbs Also See for iPATH ACR1000A-CTL-24:
Table of Contents

Advertisement

logout
This method was last updated in API version 1, and is compatible with API requests from version 1 onwards. The authentication
token provided by the 'login' method can be used until the 'logout' method is called.
Input parameters:
- token
- v (the iPATH API version this request is designed for)
Output values:
- timestamp - the current server time
- success - 0 = fail, 1 = success
Examples
Input:
/api/?method=logout&token=xxxxx&v=1
Output:
<api_response>
<version>1</version>
<timestamp>2011-02-04 15:24:15</time>
<success>1</success>
</api_response>
or
<api_response>
<version>1</version>
<timestamp>2012-12-12 12:12:12</timestamp>
<success>0</success>
<errors>
<error>
<code>3</code>
<msg>Error logging out (you may already have logged out)</msg>
</error>
</errors>
</api_response>
get_devices
This method was last updated in API version 5, and is compatible with API requests from version 2 onwards.
This method returns a list of devices.
Input parameters:
- token
- v (the iPATH API version this request is designed for)
- device_type ('rx' = remotes, 'tx' = locals. Default = 'rx')
- filter_d_name (Optional. Device name search string)
- filter_d_description (Optional. Device description search string)
80
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269

Advertisement

Table of Contents
loading

Table of Contents