AddDownstreamToController

Returns (Task)

Create a new Downstream in the designated Folder.

Name Description
controller
downstreamInfo

Add Downstream To Controller

Example in C#

// Returns: T
var item = await client.AddDownstreamToController<T>(ControllerInfo controller, T downstreamInfo)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/downstream \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.Mr51EInfo, Feenics.Keep.WebApi.Model",
                       "MacAddress":"FF:FF:00:00:11:11",
                       "IpAddress":null,
                       "HostName":null,
                       "AddressingMode":0,
                       "DriverNumber":0,
                       "PanelAddress":0,
                       "SioNumber":0,
                       "TargetBaudRate":0,
                       "Version":null,
                       "Status":null,
                       "Key":null,
                       "CommonName":"DownstreamFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'