Search code examples
c#apiattask

Attask API Username Search Case Sensitive


I'm currently trying to use Attask API's to pull out a list of users based on a string parameter, using the name_Mod "contains".

So far so good, I can pull back a list of usernames and their corresponding ID's but I've found that the api appears to be case sensitive.

For example, I give it the parameter "Dan"...

"https://wibble.attask-ondemand.com/attask/api/user/search?sessionID=wibble&$$LIMIT=2000&name=Dan&name_Mod=contains&fields=ID,name"

...and I get results like "Daniel Brown"

I give it "dan"...

"https://wibble.attask-ondemand.com/attask/api/user/search?sessionID=wibble&$$LIMIT=2000&name=dan&name_Mod=contains&fields=ID,name"

...I get results like "Rachael Jordan", but no "Daniel Brown".

Is there a way to tell Attask that I don't care about case sensitivity? To just give me both results and let me worry about it? Or a way around this particular limitation if it exists?


Solution

  • There is also other MOD named cicontains where ci means case insensitive. You can use it instead.