Пример #1
0
 /// <summary>
 /// Start Break
 /// </summary>
 /// <remarks>
 /// Starts a break for an employee who is clocked on for a shift.
 /// </remarks>
 public void StartBreak(int businessId, int kioskId, StartBreakModel request)
 {
     ApiRequest($"/business/{businessId}/kiosk/{kioskId}/startbreak", request, Method.POST);
 }
Пример #2
0
 /// <summary>
 /// Start Break
 /// </summary>
 /// <remarks>
 /// Starts a break for an employee who is clocked on for a shift.
 /// </remarks>
 public Task StartBreakAsync(int businessId, int kioskId, StartBreakModel request, CancellationToken cancellationToken = default)
 {
     return ApiRequestAsync($"/business/{businessId}/kiosk/{kioskId}/startbreak", request, Method.POST, cancellationToken);
 }
Пример #3
0
 public KioskEmployeeModel StartBreak(int businessId, int kioskId, StartBreakModel model)
 {
     return(ApiRequest <KioskEmployeeModel, StartBreakModel>($"/business/{businessId}/manager/kiosk/{kioskId}/startbreak", model, Method.POST));
 }