add api call for individual inlet
please work..