Exemplo n.º 1
0
 /// <summary>
 /// List Pay Slip Data
 /// </summary>
 /// <remarks>
 /// Lists all the pay slips for the specified pay run.
 /// </remarks>
 public Task <Dictionary <String, MyApiPaySlipModel> > ListPaySlipDataAsync(int businessId, int payRunId, ListPaySlipDataQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <Dictionary <String, MyApiPaySlipModel> >($"/business/{businessId}/payrun/{payRunId}/payslips?showAllData={request.ShowAllData}", Method.GET, cancellationToken));
 }
Exemplo n.º 2
0
 /// <summary>
 /// List Pay Slip Data
 /// </summary>
 /// <remarks>
 /// Lists all the pay slips for the specified pay run.
 /// </remarks>
 public Dictionary <String, MyApiPaySlipModel> ListPaySlipData(int businessId, int payRunId, ListPaySlipDataQueryModel request)
 {
     return(ApiRequest <Dictionary <String, MyApiPaySlipModel> >($"/business/{businessId}/payrun/{payRunId}/payslips?showAllData={request.ShowAllData}", Method.GET));
 }