Adds a new Traka cabinet to a controller Returns (The created Traka cabinet)
Overview of AddTrakaCabinetAsync goes here.
| Name | Description |
|---|---|
| controller | The controller to add the cabinet to |
| item | The Traka cabinet information to add |
Example in C#
// Returns: TrakaCabinetInfo
var trakaCabinetInfo = await client.AddTrakaCabinetAsync(ControllerInfo controller, TrakaCabinetInfo item);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/trakacabinets \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.TrakaCabinetInfo, Feenics.Keep.WebApi.Model",
"CommonName":"Cabinet 1"
}'