AddCameraAsync

Returns (Task)

Create a Camera in the designated Folder.

Name Description
folder
item

Add Camera Async

Example in C#

// Returns: CameraInfo
var cameraInfo = await client.AddCameraAsync(FolderInfo folder, CameraInfo item)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/cameras \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.CameraInfo, Feenics.Keep.WebApi.Model",
                       "PluginId":null,
                       "CameraId":null,
                       "PreEventDeafult":0,
                       "PostEventDefault":0,
                       "IsPTZ":false,
                       "Key":null,
                       "CommonName":
                       "CameraFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'