Add a new input to a folder Returns (Task.)
Overview of AddInputAsync goes here.
| Name | Description |
|---|---|
| folder | The folder to add the input to |
| item | The input information |
Example in C#
// Returns: InputInfo
var inputInfo = await client.AddInputAsync(FolderInfo folder, InputInfo item);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/inputs \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type": "Feenics.Keep.WebApi.Model.InputInfo, Feenics.Keep.WebApi.Model",
"CommonName": "Lobby Motion Sensor",
"InFolderKey": "INSTANCE.KEY"
}'