add attendance api for company.