コード例 #1
0
 /// <summary>
 /// Stub Shift Timesheets
 /// </summary>
 /// <remarks>
 /// Generates timesheets for the roster shift with the specified ID.
 /// </remarks>
 public Task StubShiftTimesheetsAsync(int businessId, int rosterShiftId, StubRosterShiftViewModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/rostershift/{rosterShiftId}/stub", model, Method.POST, cancellationToken));
 }
コード例 #2
0
 /// <summary>
 /// Stub Shift Timesheets
 /// </summary>
 /// <remarks>
 /// Generates timesheets for the roster shift with the specified ID.
 /// </remarks>
 public void StubShiftTimesheets(int businessId, int rosterShiftId, StubRosterShiftViewModel model)
 {
     ApiRequest($"/business/{businessId}/rostershift/{rosterShiftId}/stub", model, Method.POST);
 }