/// <summary> /// Birthday Report /// </summary> /// <remarks> /// Generates a birthday report. /// </remarks> public Task <List <BirthdayReportExportModel> > BirthdayReportAsync(int businessId, BirthdayReportQueryModel request, CancellationToken cancellationToken = default) { return(ApiRequestAsync <List <BirthdayReportExportModel> >($"/business/{businessId}/report/birthday?fromDate={request.FromDate.ToString("yyyy-MM-ddTHH:mm:ss")}&toDate={request.ToDate.ToString("yyyy-MM-ddTHH:mm:ss")}&locationId={request.LocationId}", Method.GET, cancellationToken)); }
/// <summary> /// Birthday Report /// </summary> /// <remarks> /// Generates a birthday report. /// </remarks> public List <BirthdayReportExportModel> BirthdayReport(int businessId, BirthdayReportQueryModel request) { return(ApiRequest <List <BirthdayReportExportModel> >($"/business/{businessId}/report/birthday?fromDate={request.FromDate.ToString("yyyy-MM-ddTHH:mm:ss")}&toDate={request.ToDate.ToString("yyyy-MM-ddTHH:mm:ss")}&locationId={request.LocationId}", Method.GET)); }