AddBoschServiceAsync

Creates a new Bosch service in the specified folder. Returns (Task)

Create a new Bosch Service in the designated Folder.

Name Description
folder The folder where the Bosch service will be created
item The Bosch service information to create

Add Bosch Service Async

Example in C#

// Returns: BoschServiceInfo
var boschServiceInfo = await client.AddBoschServiceAsync(FolderInfo folder, BoschServiceInfo item);

Example in CURL



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