getPortInData API was added