Exemple #1
0
 /// <summary>
 /// Create Earnings Lines
 /// </summary>
 /// <remarks>
 /// Adds earnings lines to the specified pay run.
 /// </remarks>
 public Task CreateEarningsLinesAsync(int businessId, int payRunId, MySubmitPayRunEarningsLineRequest request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/payrun/{payRunId}/earningslines", request, Method.POST, cancellationToken));
 }
Exemple #2
0
 /// <summary>
 /// Create Earnings Lines
 /// </summary>
 /// <remarks>
 /// Adds earnings lines to the specified pay run.
 /// </remarks>
 public void CreateEarningsLines(int businessId, int payRunId, MySubmitPayRunEarningsLineRequest request)
 {
     ApiRequest($"/business/{businessId}/payrun/{payRunId}/earningslines", request, Method.POST);
 }