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

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

Advertisement

Examples
Input:
/api/?v=1&method=disconnect_preset&token=xxxxx&id=1&force=1
Output:
<api_response>
<version>1</version>
<timestamp>2012-12-12 12:12:12</timestamp>
<success>1</success>
</api_response>
create_preset
This method was last updated in API version 5, and is compatible with API requests from version 3 onwards. This method creates
a new preset. 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)
- name (the display name for the new preset)
- pairs (a comma-separated list of the channel ID–remote ID pairs for the preset, where each ID in the pair is separated by a
hyphen)
- allowed (the permitted connection modes for the preset. Optional; if omitted, the global setting will be inherited.
Permitted values are any combination of the characters:
v - video-only
s - shared
e - exclusive
p - private
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)
- id (the ID of the new preset, if it was created)
Examples
Input:
/api/?v=5&method=create_preset&token=xxxxx&name=my_preset&pairs=1-1,1-2,2-3,2-4&allowed=vs
Output:
<api_response>
<version>3</version>
<timestamp>2012-12-12 12:12:12</timestamp>
<success>1</success>
<id>5</id>
</api_response>
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
91

Advertisement

Table of Contents
loading

Table of Contents