api response status enhancement