Question: I have a form, where user can type song\_name and upload .wav file

in my views.py:

```
from django.views.generic import CreateView
from django.contrib.auth.mixins import LoginRequiredMixin
from .forms import AudioCompositionForm

class AddAudio(LoginRequiredMixin, CreateView):
    form_class = AudioCompositionForm
    template_name = 'audio_test/add_audio.html'

```

I have a special function which convert wav to mp3
How can I launch this function after success upload?
Will be ideal if i can transfer a new object <class 'audio\_test.models.AudioComposition'> into in my audio\_convert funcion.
Thanks

Answer: 
The "docusign/docusign-esign-csharp-client" SDK actually does provide a method to get this information.
The code should look something like this:

```
Private Sub SurroundingSub()
    Dim usersApi As UsersApi = New UsersApi(apiClient)
    Dim options = New UsersApi.ListOptions()
    options.email = email
    Dim res = usersApi.List(accountId, options)
End Sub

```

(I tested this code and it worked ok)
I've tested it again and found the issue.

The domain of the ApiClient was already set. Just do:

`var path = $"/v2.1/accounts/{accountId}/users?email={email}";`

Anyway, requesting the user id can also be done by using the `UserApi` as @Inbar Gazit wrote.

```
var api = new UsersApi(client);
var list = api.List(acctId, new UsersApi.ListOptions{email=email});
var id = list.Users.First().UserId;

```