*getMacroList

Configuration Article | CA-20220907-TP-39

VDG Sense | API | Functions | Macros

Note: This function requires an API license.

This function is deprecated use getServerMacroList or getViewerMacroList instead.

Obtains a list of all viewer macro’s. These macro’s can be executed with the executeMacro command.

Request

command=getMacroList

Response

<result errorcode="0">   <macros count="&#91;number&#93;">     <macro>       <macroid>[UID]</macroid>       <name>[string]</name>       <type>[string]</type>     </macro>     ...   </macros>  </result>

node

value

remarks

node

value

remarks

/result

@errorcode

[number]

See error codes below

/result/macros

@count

[number]

The number of macros

/result/macros/macro

macroid

[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'

Changelog

  • 2.2.1 – added

 

Related pages