Import System Preset
Loads a preset of the entire device, previously downloaded using the Export System Preset command.
Authorizations: Administrator
Requests
POST /api/gateway/[Device ID]/system/preset
cookie: sessionID: [Session ID]
Content-Type: multipart/form-data |
A previously downloaded Gateway preset (.hmg file) should be posted using the multipart formdata file upload pattern also used by web browser file upload controls. Implementations of multipart file uploads are available in libraries for most programming/scripting languages.
Note
The format may vary depending on the REST library in use.
Parameters
N/A
Response
{
"type": "postSystemPreset",
"message": "Successfully loaded preset",
"pendingCreation": [
"[Route Name 1]",
"[Route Name 2]"
]
} |