/// <summary> /// Discard current shift /// </summary> /// <remarks> /// Discards the current shift for an employee. /// If they are on a break, it will be ended automatically. /// </remarks> public Task DiscardCurrentShiftAsync(int businessId, int kioskId, ClockOffModel request, CancellationToken cancellationToken = default) { return ApiRequestAsync($"/business/{businessId}/kiosk/{kioskId}/discard", request, Method.POST, cancellationToken); }
/// <summary> /// Discard current shift /// </summary> /// <remarks> /// Discards the current shift for an employee. /// If they are on a break, it will be ended automatically. /// </remarks> public void DiscardCurrentShift(int businessId, int kioskId, ClockOffModel request) { ApiRequest($"/business/{businessId}/kiosk/{kioskId}/discard", request, Method.POST); }
/// <summary> /// Clock Out Employee /// </summary> /// <remarks> /// Clocks out an employee from their existing shift. /// If they are on a break, it will be ended automatically. /// </remarks> public Task ClockOutEmployeeAsync(int businessId, int kioskId, ClockOffModel request, CancellationToken cancellationToken = default) { return ApiRequestAsync($"/business/{businessId}/kiosk/{kioskId}/clockoff", request, Method.POST, cancellationToken); }
/// <summary> /// Clock Out Employee /// </summary> /// <remarks> /// Clocks out an employee from their existing shift. /// If they are on a break, it will be ended automatically. /// </remarks> public void ClockOutEmployee(int businessId, int kioskId, ClockOffModel request) { ApiRequest($"/business/{businessId}/kiosk/{kioskId}/clockoff", request, Method.POST); }
public KioskEmployeeModel DiscardShift(int businessId, int kioskId, ClockOffModel model) { return(ApiRequest <KioskEmployeeModel, ClockOffModel>($"/business/{businessId}/manager/kiosk/{kioskId}/discard", model, Method.POST)); }
public KioskEmployeeModel ClockOff(int businessId, int kioskId, ClockOffModel model) { return(ApiRequest <KioskEmployeeModel, ClockOffModel>($"/business/{businessId}/manager/kiosk/{kioskId}/clockoff", model, Method.POST)); }