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