Create a REST API Macro from History or from an Existing REST API Macro
In this procedure, you are going to create a user-defined REST API macro from a command you have already executed, another user-defined macro, or from a system-defined macro.
Procedure
1 |
Select an FDM-managed device you want to manage using the REST API, and in Device Actions on the right, click API Tool.
|
||
2 |
Find the command you want to make an API macro from and select it. Use one of these methods:
|
||
3 |
With the command in the command pane, click the API macro gold star |
||
4 |
Give the macro a unique name. Provide a description and notes for the API macro if you wish. |
||
5 |
Review the command in the Command field and make the changes you want. |
||
6 |
Replace the parts of the command that you would want to modify, when you run the command, with a parameter name surrounded by curly braces. |
||
7 |
Click Create. The macro you create is available for use on all the devices of that type, not just the one you initially specified. To run the command see, Run a REST API Macro. |