示例#1
0
 /// <summary>
 /// Employee Payment History Report
 /// </summary>
 /// <remarks>
 /// Generates an employee payment history report.
 /// </remarks>
 public Task <List <AuPaymentHistoryModel> > EmployeePaymentHistoryReportAsync(int businessId, EmployeePaymentHistoryReportQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <List <AuPaymentHistoryModel> >($"/business/{businessId}/report/paymenthistory?employeeId={request.EmployeeId}&fromDate={request.FromDate.ToString("yyyy-MM-ddTHH:mm:ss")}&toDate={request.ToDate.ToString("yyyy-MM-ddTHH:mm:ss")}&locationId={request.LocationId}&employingEntityId={request.EmployingEntityId}", Method.GET, cancellationToken));
 }
示例#2
0
 /// <summary>
 /// Employee Payment History Report
 /// </summary>
 /// <remarks>
 /// Generates an employee payment history report.
 /// </remarks>
 public List <AuPaymentHistoryModel> EmployeePaymentHistoryReport(int businessId, EmployeePaymentHistoryReportQueryModel request)
 {
     return(ApiRequest <List <AuPaymentHistoryModel> >($"/business/{businessId}/report/paymenthistory?employeeId={request.EmployeeId}&fromDate={request.FromDate.ToString("yyyy-MM-ddTHH:mm:ss")}&toDate={request.ToDate.ToString("yyyy-MM-ddTHH:mm:ss")}&locationId={request.LocationId}&employingEntityId={request.EmployingEntityId}", Method.GET));
 }