SetAsc1400PortAsync

Insert or update port for Ports collection for the Asc1400 controller. Returns (Task) Insert or update port for Ports collection for the Asc1400 controller. Returns (Task)

Overview of SetAsc1400PortAsync goes here.

Name Description
controller The ASC1400 controller to update
portItem The port configuration to set
controller The ASC1400 controller to update
portItems The array of port configurations to set

Set Asc1400 Port Async

Example in C#

// Returns: Asc1400Info
var asc1400Info = await client.SetAsc1400PortAsync(Asc1400Info controller, SmartControllerPortItem portItem);

Set Asc1400 Port Async

Example in C#

// Returns: Asc1400Info
var asc1400Info = await client.SetAsc1400PortAsync(Asc1400Info controller, SmartControllerPortItem portItems);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLERS.KEY/asc1400ports \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.SmartControllerPortItem, Feenics.Keep.WebApi.Model",
                       "Port":0,
                       "BaudRate":0
                   }'
            

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLERS.KEY/asc1400ports/multiple \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '[
                     {
                       "$type":"Feenics.Keep.WebApi.Model.SmartControllerPortItem, Feenics.Keep.WebApi.Model",
                       "Port":0,
                       "BaudRate":0
                     }
                   ]'