GET http://IP-Address:port/prefix/macro/list/ - getting the list of macros.
JSON sample response:
{
"macroCommands" : [
{
"id" : "04eb71b0-e2e0-445e-ae7a-a036951fb595",
"name" : "MacroName1"
},
{
"id" : "3fd3bfb0-3a6e-467a-8ff2-88f7b165cf5b",
"name" : "MacroName2"
},
{
"id" : "941f88d1-b512-4189-84a6-7d274892dd95",
"name" : "MacroName3"
}
]
} |
GET http://IP-Address:port/prefix/macro/execute/id - executing macro
where id is an id form the list of macros.
Possiblе error codes when executing macros:
400 - incorrect request.
500 - Server internal error.