Skip to main content

Import System Preset (v2)

Loads a preset of the entire device, previously downloaded using the Export System Preset command.

Active for Version: 4.2+

Authorizations: Administrator

Requests

CODE
POST /api/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

CODE
{
  "type": "postSystemPreset",
  "message": "Successfully loaded preset",
  "pendingCreation": [
    "[Route Name 1]",
    "[Route Name 2]"
  ]
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.