Ejemplo n.º 1
0
 /// <summary>
 /// Pay Run Inclusions Report
 /// </summary>
 /// <remarks>
 /// Generates a pay run inclusions report.
 /// </remarks>
 public Task <List <AuPayRunInclusionExportModel> > PayRunInclusionsReportAsync(int businessId, PayRunInclusionsReportQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <List <AuPayRunInclusionExportModel> >($"/business/{businessId}/report/payruninclusions?employeeId={request.EmployeeId}&status={request.Status}&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));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Pay Run Inclusions Report
 /// </summary>
 /// <remarks>
 /// Generates a pay run inclusions report.
 /// </remarks>
 public List <NzPayRunInclusionExportModel> PayRunInclusionsReport(int businessId, PayRunInclusionsReportQueryModel request)
 {
     return(ApiRequest <List <NzPayRunInclusionExportModel> >($"/business/{businessId}/report/payruninclusions?employeeId={request.EmployeeId}&status={request.Status}&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));
 }