Beispiel #1
0
 /// <summary>
 /// Update details of an associated user
 /// </summary>
 /// <remarks>
 /// Updates the user details (name / email) of a user that is associated with the business.
 /// This endpoint will only work if the user is already associated with the business and is not associated with any other business
 /// </remarks>
 public Task UpdateDetailsOfAnAssociatedUserAsync(int businessId, AccessModel viewModel, UpdateDetailsOfAnAssociatedUserQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/access?email={request.Email}", viewModel, Method.PUT, cancellationToken));
 }
Beispiel #2
0
 /// <summary>
 /// Update details of an associated user
 /// </summary>
 /// <remarks>
 /// Updates the user details (name / email) of a user that is associated with the business.
 /// This endpoint will only work if the user is already associated with the business and is not associated with any other business
 /// </remarks>
 public void UpdateDetailsOfAnAssociatedUser(int businessId, AccessModel viewModel, UpdateDetailsOfAnAssociatedUserQueryModel request)
 {
     ApiRequest($"/business/{businessId}/access?email={request.Email}", viewModel, Method.PUT);
 }