added api call to find by cons id