AddBoschDeviceAsync

Creates a new Bosch device for the specified panel. Returns (Task)

Create a new Bosch Device on the designated Bosch Panel.

Name Description
panel The Bosch panel to add the device to
item The Bosch device information to create

Add Bosch Device Async

Example in C#

// Returns: BoschDeviceInfo
var boschDeviceInfo = await client.AddBoschDeviceAsync(BoschPanelInfo panel, BoschDeviceInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/boschdevices \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.BoschDeviceInfo, Feenics.Keep.WebApi.Model",
                       "Bus":0,
                       "DeviceType":0,
                       "Index":0,
                       "Key":null,
                       "CommonName":"BoschDeviceFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'