示例#1
0
 /// <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));
 }
示例#2
0
 /// <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));
 }
示例#3
0
 /// <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));
 }
示例#4
0
 /// <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));
 }