/// <summary> /// Get Shift Costings for Employee /// </summary> /// <remarks> /// Gets the shift costings for the specified employee. /// </remarks> public Task <ShiftCostingsResponseModel> GetShiftCostingsForEmployeeAsync(int businessId, int employeeId, ShiftCostingsRequestModel model, CancellationToken cancellationToken = default) { return(ApiRequestAsync <ShiftCostingsResponseModel, ShiftCostingsRequestModel>($"/business/{businessId}/employee/{employeeId}/timesheet/shiftcosting", model, Method.POST, cancellationToken)); }
/// <summary> /// Evaluate Shift Costings /// </summary> /// <remarks> /// Evaluates shift costings for the employment agreement with the specified ID. /// </remarks> public Task <ShiftCostingsResponseModel> EvaluateShiftCostingsAsync(int businessId, int id, ShiftCostingsRequestModel model, CancellationToken cancellationToken = default) { return(ApiRequestAsync <ShiftCostingsResponseModel, ShiftCostingsRequestModel>($"/business/{businessId}/employmentagreement/{id}/shiftcosting", model, Method.POST, cancellationToken)); }
/// <summary> /// Get Shift Costings for Employee /// </summary> /// <remarks> /// Gets the shift costings for the specified employee. /// </remarks> public ShiftCostingsResponseModel GetShiftCostingsForEmployee(int businessId, int employeeId, ShiftCostingsRequestModel model) { return(ApiRequest <ShiftCostingsResponseModel, ShiftCostingsRequestModel>($"/business/{businessId}/employee/{employeeId}/timesheet/shiftcosting", model, Method.POST)); }
/// <summary> /// Evaluate Shift Costings /// </summary> /// <remarks> /// Evaluates shift costings for the employment agreement with the specified ID. /// </remarks> public ShiftCostingsResponseModel EvaluateShiftCostings(int businessId, int id, ShiftCostingsRequestModel model) { return(ApiRequest <ShiftCostingsResponseModel, ShiftCostingsRequestModel>($"/business/{businessId}/employmentagreement/{id}/shiftcosting", model, Method.POST)); }