Skip to main content

Update a Route

Use this command to update an individual route.

Note

You must include all route details (source and destinations configurations) with your update. That is, if destinations are excluded, they will be deleted from the route.

Authorizations: Administrator, Operator

Requests

POST /api/devices/[Device ID]/updates
cookie: sessionID: [Session ID]

{ 
 "action": "update",
"deviceID": "[Device ID]", "elementType": "route",
"elementID": "[Route ID]", "fields":
{
"name": "[Route name]",
"source":
{
<Source object>
},
"destinations": [
<Destination object list>
]
}
}

Parameters

NameTypeDescription
action
  • update
Update the specified element type.
deviceIDstringDevice ID retrieved via the Get Device Info command.
elementType
  • route
Update the route element.
elementIDstringRoute ID retrieved via the Get Device Configuration command
namestringName of route.
sourceobjectSource object model. See Source Object Model for definition.
destinationsstringOptional, if no destinatsions are desired in the route. Destinations object model. See Destinations Object Model for definition.

Response

{
  "status": "[success message]"
}

 

JavaScript errors detected

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

If this problem persists, please contact our support.