manual:api:reference:host:massadd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
manual:api:reference:host:massadd [2014/09/30 12:54]
127.0.0.1 external edit
manual:api:reference:host:massadd [2019/09/16 12:21]
127.0.0.1 external edit
Line 30: Line 30:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 50: Line 50:
             {             {
                 "​macro":​ "​{$TEST2}",​                 "​macro":​ "​{$TEST2}",​
-                "​value":​ "​MACROTEST2"​+                "​value":​ "​MACROTEST2", 
 +                "​description":​ "Test description"
             }             }
         ]         ]
Line 60: Line 61:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 82: Line 83:
 ==== Source ==== ==== Source ====
  
-CHost::​massAdd() in //​frontends/​php/​api/​classes/​CHost.php//​.+CHost::​massAdd() in //​frontends/​php/​include/classes/​api/​services/​CHost.php//​.