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

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

Advertisement

Examples
Input:
/api/?v=4&method=delete_channel&token=xxxxx&id=5
Output:
<api_response>
<version>4</version>
<timestamp>2012-12-12 12:12:12</timestamp>
<success>1</success>
</api_response>
update_device
This method was last updated in API version 5, and is compatible with API requests from version 5 onwards. This method
updates the description and location fields for a device. The API user must have admin privileges to call this method
successfully.
Input parameters:
- token
- v (the iPATH API version this request is designed for)
- id (the ID of the device to be updated)
- desc (the display description for the device. Optional, if not supplied, the description will not be changed. To delete an existing
value, set it to
- loc (the display location for the new channel. Optional, if not supplied, the location will not be changed. To delete an existing
value, set it to t
Output values:
- version - the current API version number
- timestamp - the current server time
- success (0 = fail, 1 = success)
- errors (if anything failed, details are returned here)
Examples
Input:
/api/?v=5&method=update_device&token=xxxxx&id=1501&desc=John's Desk&loc=room 5
Output:
<api_response>
<version>5</version>
<timestamp>2012-12-12 12:12:12</timestamp>
<success>1</success>
</api_response>
94
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