fixed and added dateInfo api call