Upsert the specific package that is installed on the controller Returns (Task)
This sets the controller package onto the specified Mercury Controller.
Name | Description |
---|---|
controller | |
package |
Example in C#
// Returns: nothing
await client.SetControllerPackage(MercuryControllerInfo controller, ControllerPackage package);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/controllerpackages \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-D '{
"$type":"Feenics.Keep.WebApi.Model.ControllerPackage, Feenics.Keep.WebApi.Model",
"PackageName":"cUrlFakePackage",
"PackageVersion":"9.9.9",
"InstalledOn":"2019-02-25T17:05:53.9243754Z"
}'