ControllerPackage

Represents an installed package on an EP4502 or LP4502 controller

ControllerPackage describes the package installed on a controller.

ControllerPackage Properties

ControllerPackage

Field Type Inherited from Description
InstalledOn DateTime ControllerPackage The DateTime that the package was installed/updated on the controller
PackageName String ControllerPackage The Package Name. This value is unique to the set of packages on a given controller
PackageVersion String ControllerPackage The Package Verison returned by the controller

JSON Structure of ControllerPackage

{
   "InstalledOn"	:	"DateTime",
   "PackageName"	:	"String",
   "PackageVersion"	:	"String"
}

Remove Controller Package

Example in C#

// Returns: nothing
await client.RemoveControllerPackage(MercuryControllerInfo controller, String packageName)

Example in CURL



           curl -X DELETE \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/controllerpackages/cUrlFakePackage \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' 
            

Set Controller Package

Example in C#

// Returns: nothing
await client.SetControllerPackage(MercuryControllerInfo controller, ControllerPackage package)

Example in CURL



           curl -X PUT \
               https://keepapi.feenicshosting.com/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"
                   }'