/// <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); }
/// <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); }
public KioskEmployeeModel StartBreak(int businessId, int kioskId, StartBreakModel model) { return(ApiRequest <KioskEmployeeModel, StartBreakModel>($"/business/{businessId}/manager/kiosk/{kioskId}/startbreak", model, Method.POST)); }