GetCommunicationPortDefinitionsAsync

Returns (Task<IEnumerable>) Returns (Task<IEnumerable>)

Find all the Communication ports on the designated Controller type.

Name Description
controllerInfo
controllerTypeInfoName

Get Communication Port Definitions Async

Example in C#

// Returns: IEnumerable<CommunicationPortDefinitionItem>
var communicationPortDefinitionItem = await client.GetCommunicationPortDefinitionsAsync(ControllerInfo controllerInfo)

Get Communication Port Definitions Async

Example in C#

// Returns: IEnumerable<CommunicationPortDefinitionItem>
var communicationPortDefinitionItem = await client.GetCommunicationPortDefinitionsAsync(String controllerTypeInfoName)

Example in CURL



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

Example in CURL



           curl -X GET \
               https://keepapi.feenicshosting.com/api/comports/CONTROLLER_TYPE_INFO_NAME  \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'