Create a Route
Use this command to create an individual route.
Authorizations: Administrator, Operator
Requests
POST /api/devices/[Device ID]/updates
cookie: sessionID: [Session ID]
{
"action": "create", |
Parameters
Name | Type | Description |
---|---|---|
action |
| Create the specified element type. |
deviceID | string | Device ID retreived via the Get Device Info command. |
elementType |
| Create a route element. |
name | string | Name of route. |
startRoute | Boolean | If route is started after it is created |
source | object | Source object. See Source Object Model for definition. |
destinations | object list | Optional. List of route destinations. See Destinations Object Model for definition. |
Response
{
"status": "[success message]"
} |