*getServerMacroList
Configuration Article | CA-20220907-TP-40 VDG Sense | API | Functions | Macros |
Note: This function requires an API license.
Obtains a list of all server macro’s. These macro’s can be executed with the executeMacro command.
Request
command=getServerMacroList |
Response
<result errorcode="0">
  <servermacros count="[number]">
    <macro>
      <id>[UID]</id>
      <name>[string]</name>
      <type>[string]</type>
      <valid>[boolean]</valid>
      <status>[string]</status>
    </macro>
    ...
  </servermacros>
 </result> |
node | value | remarks |
---|---|---|
/result | ||
@errorcode | [number] | See error codes below |
/result/servermacros | ||
@count | [number] | The number of macros |
/result/servermacros/macro | ||
id | [UID] | unique id of the macro |
name | [string] | the unique user defined name of the macro |
type | [string] | type of the macro 'viewer' or 'server' |
valid | [boolean] | Â |
status | [string] | 'Active' or 'Inactive' |
Changelog
2.2.1 – added