Returns (Task)
Set a port active on the designated Controller.
Name | Description |
---|---|
controller | |
activePortItem |
Example in C#
// Returns: T
var item = await client.SetActivePortAsync<T>(T controller, ActivePortItem activePortItem);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLERS.KEY/activeports \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-D '{
"$type":"Feenics.Keep.WebApi.Model.ActivePortItem, Feenics.Keep.WebApi.Model",
"DriverNumber":0,
"BaudRate":0
}'