Using ZDK.HTTP.Request /First argument must be a String / Whats a Wrong?

Using ZDK.HTTP.Request /First argument must be a String / Whats a Wrong?

Hi Team

   Here again with a little problem using ZDK.HTTP.Request, i  need to make a http request from client script, my source code is the following:

  1. filtro = 'DocumentNumber eq ';
  2. filtro = filtro + '\'844989539\'';
  3. filtro = filtro + 'and DocumentType eq ';
  4. filtro = filtro + '\'NationalId\'';
  5. filtro = filtro + 'and DocumentCountry eq ';
  6. filtro = filtro + '\'CL\'';
  7. filtro = '=' + filtro;
  8. ZDK.Client.showMessage(filtro);

  9. kk=ZDK.HTTP.request({
  10.  url: 'https://proxy1.qa.sked24api.io/v1/Patients',
  11.  method: 'GET',
  12.  parameters: {
  13.    $filter: filtro ,
  14.  },
  15.     headers: {
  16.         'Authorization': 'Bearer XXXXXXXXXX',
  17.         'Ocp-Apim-Subscription-Key': 'XXXXXXXXXXX'
  18.     }
  19.  }
  20. );
When i try to run code i get the message:

First argument must be a String

What happens with the code?, can you get me a hand for to solve it?

Thanks in advance
Pablo