title: How would I parameterise this endpoint using Retrofit please?
body: <p>Say I want to query an an API which has a server method for searching for a field containing certain text like so:</p>
  
  <pre><code>http://server:2001/tms/xdata/Customer?$filter=contains(Name, 'Walker') 
  </code></pre>
  
  <p>In Android Studio using Kotlin I would make an interface something like this:</p>
  
  <pre><code>    @GET("/tms/xdata/Customer")
      suspend fun fetchAllProductsContaining(@Query("name") searchTerm: String): CustomersResponse
  </code></pre>
  
  <p>which if I pass a single character 'e' as the searchTerm would give me:</p>
  
  <pre><code>http://server:2001/tms/xdata/Customer?name=e
  </code></pre>
  
  <p>However I need it to look like this:</p>
  
  <pre><code>http://server:2001/tms/xdata/Customer?%24filter=contains(lower(name)%2C'e')
  </code></pre>
  
  <p>As I want it to be case insensitive, also notice the text to search for has to have single quotes around it.  </p>
  
  <p>I would very much appreciate any help you guys might have.  The server is written in Delphi using <a href="http://www.tmssoftware.biz/business/xdata/doc/web/index.html" rel="nofollow noreferrer">TMS XData</a></p>