Exemple #1
0
 /// <summary>
 /// Initiate Employee Self Setup
 /// </summary>
 /// <remarks>
 /// Initiate the Self Setup process for an Employee.
 /// If the employee has an existing employee record, the id should be specified. If the Email and Mobile provided
 /// are not the same as those on the employee record, they will be updated.
 /// If the employee does not yet have an employee record do not specify an id, one will be created with the
 /// details provided.
 /// </remarks>
 public Task InitiateEmployeeSelfSetupAsync(int businessId, MyInitiateEmployeeOnboardingApiModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/employeeonboarding/initiateselfservice", model, Method.POST, cancellationToken));
 }
Exemple #2
0
 /// <summary>
 /// Initiate Employee Self Setup
 /// </summary>
 /// <remarks>
 /// Initiate the Self Setup process for an Employee.
 /// If the employee has an existing employee record, the id should be specified. If the Email and Mobile provided
 /// are not the same as those on the employee record, they will be updated.
 /// If the employee does not yet have an employee record do not specify an id, one will be created with the
 /// details provided.
 /// </remarks>
 public void InitiateEmployeeSelfSetup(int businessId, MyInitiateEmployeeOnboardingApiModel model)
 {
     ApiRequest($"/business/{businessId}/employeeonboarding/initiateselfservice", model, Method.POST);
 }