Exemplo n.º 1
0
 /// <summary>
 /// Set UI Unlock enabled
 /// </summary>
 /// <remarks>
 /// Sets whether a pay run can be unlocked by the UI or not. Only applies to finalized pay runs.
 /// </remarks>
 public Task SetUiUnlockEnabledAsync(int businessId, int payRunId, SetPayRunUIUnlockStateRequest request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/payrun/{payRunId}/setuiunlockstate", request, Method.POST, cancellationToken));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Set UI Unlock enabled
 /// </summary>
 /// <remarks>
 /// Sets whether a pay run can be unlocked by the UI or not. Only applies to finalized pay runs.
 /// </remarks>
 public void SetUiUnlockEnabled(int businessId, int payRunId, SetPayRunUIUnlockStateRequest request)
 {
     ApiRequest($"/business/{businessId}/payrun/{payRunId}/setuiunlockstate", request, Method.POST);
 }