added api for the vacancy